Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

56/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 194k
Last updated
11d ago
License
MIT
end-to-end-testingagent-hostprotocol-testingreplay-testing
+2fixture-recordinggithub-cli

What does this skill do, and when should you use it?

This skill is for black-box end-to-end tests that drive the complete VS Code Agent Host through the AHP protocol. It guides contributors through adding cross-provider tests, re-recording YAML fixtures for Claude, Copilot, and Codex, and diagnosing replay cache misses. Plain replay uses committed fixtures without a token or network and fails strictly on unrecorded requests. Recording requires a real token and contacts CAPI, so the skill is best suited to VS Code contributors familiar with this repository’s test layout and scripts rather than users seeking a general-purpose testing framework.

It directs contributors to read src/vs/platform/agentHost/test/node/protocol/README.md, then add tests inside defineAgentHostE2ETests in agentHostE2ETestHelpers.ts. Tests use dispatchTurn(...) and client.waitForNotification(...) to drive the real Agent Host, bundled provider SDK/CLI, and AHP protocol while CapiReplayProxy replays committed YAML model-traffic fixtures. The workflows show how to record and replay individual providers with ./scripts/test-integration.sh --run, review fixture diffs, extend normalization and redaction in capiReplayProxy.ts, serve ancillary endpoints through capiStubs.ts, and add precise gates for nondeterministic or platform-specific behavior.

Good fit
  • A VS Code contributor is adding an Agent Host end-to-end test that should run across multiple model providers and needs a deterministic test and fixture workflow.
  • A bundled SDK or CLI upgrade changes an endpoint, turn count, or tool schema and the contributor needs to re-record and validate fixtures.
  • A test fails with a cache miss, missing fixture, stale subagent fixture, or accidental real-CAPI contact and the contributor needs a symptom-to-fix troubleshooting path.
  • A test uses real-time streaming, mid-turn aborts, or POSIX-only local execution and needs a precise recording or platform gate.
  • A fixture maintainer needs to check that local usernames, absolute paths, tokens, and unreleased model identifiers were not committed.

How do you install this skill?

Before you use it
  • Recording requires a real GITHUB_TOKEN or gh authentication and access to CAPI; obtain explicit authorization and avoid sending sensitive prompts, credentials, or local paths.
  • The required architecture README, implementation scripts, and agent-host-specific CI/fixtures were not supplied as evidence; inspect them before adoption.
  • No mainland-China network fallback, version policy, maintenance owner, or update-notification mechanism is documented.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • GitHub CLI

The source does not document a separate installation process or standalone package for this skill. It is located at .github/skills/agent-host-e2e-tests/SKILL.md in the microsoft/vscode repository, so using it requires access to the relevant VS Code source tree and test files. The repository as a whole is licensed under the MIT license.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/vscode.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/skills/agent-host-e2e-tests" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • add a cross-provider Agent Host AHP end-to-end test
  • re-record Agent Host E2E fixtures after an SDK upgrade and diagnose the cache miss.

In an Agent Skills-compatible client with access to the repository, use a request such as “add a cross-provider Agent Host AHP end-to-end test” or “re-record Agent Host E2E fixtures after an SDK upgrade and diagnose the cache miss.” Run plain replay with ./scripts/test-integration.sh --run <path>. To record the Claude fixtures, run: AGENT_HOST_REPLAY_RECORD=1 ./scripts/test-integration.sh --run src/vs/platform/agentHost/test/node/protocol/claudeAgentHostE2E.integrationTest.ts; substitute the corresponding Copilot or Codex integration-test path as needed. Before recording, provide a token through gh auth token or GITHUB_TOKEN. After recording, inspect git diff and then run replay again without the environment variable.

What are this skill's strengths and limitations?

Pros
  • Defines strict replay as the default, avoiding tokens and network access when committed fixtures are sufficient.
  • Covers concrete maintenance tasks: adding tests, recording fixtures, writing provider assertions, and troubleshooting failures.
  • Requires fixtures to be generated by the recorder and checked for normalization, redaction, and leaked data.
  • Provides targeted gates for nondeterministic behavior and Windows/POSIX differences.
Limitations
  • Its scope is limited to the specified VS Code Agent Host AHP test directory, not general end-to-end testing.
  • Fixture recording requires a real token and contacts real CAPI, so it must be run intentionally.
  • It depends on repository-specific scripts, helpers, proxy code, stubs, and reference documentation.
  • The source does not document standalone installation or compatibility with other test frameworks or non-VS Code projects.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Agent Host E2E Test Assistant this page ✓ Microsoft · Official 56 · Use with care ★ 194k 11d ago MIT
VS Code Smoke Test Assistant ✓ Microsoft · Official 53 · Use with care ★ 194k 11d ago MIT
Playwright Issue Triage ✓ Microsoft · Official 48 · Use with care ★ 98k 11d ago Apache-2.0
Playwright Component Testing ✓ Microsoft · Official 58 · Recommended ★ 98k 11d ago Apache-2.0
Playwright Trace CLI ✓ Microsoft · Official 48 · Use with care ★ 98k 11d ago Apache-2.0

This is not an independent test runner or model-testing platform. It is a workflow guide for VS Code Agent Host end-to-end tests, built around the repository’s CapiReplayProxy recording/replay system and AHP test implementation.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
56/ 100 5-point scale 2.8 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust19 / 25 · 3.8/5

The skill makes replay the default with no network or token, requires real-token recording to be intentional, limits prompts to trivial read-only work in temporary directories, and requires reviewing normalized fixtures for secrets and paths. Deducted 6 points because it lacks an explicit user-confirmation step, token-lifecycle guidance, and rollback procedure; recording still causes external CAPI interaction.

2Reliability9 / 20 · 2.3/5

The workflows cover adding tests, recording fixtures, deterministic-failure gating, platform gates, cache misses, and diagnostic troubleshooting, with notification-based rather than wall-clock assertions. Deducted 1 point because the key path was not executed statically and the required README, scripts, and fixtures were not supplied in the selected skill file, so command correctness and complete failure behavior remain uncertain.

3Adaptability10 / 15 · 3.3/5

The audience and scenarios are specific to VS Code agent-host AHP black-box tests, with stated boundaries for nondeterminism, POSIX behavior, Windows, and provider-specific replay. Deducted 5 points because non-fit cases, input/output contracts, and semantic trigger exclusions are not fully stated; Chinese-language support and reachability of GitHub/CAPI from mainland-China networks are also unaddressed.

4Convention8 / 15 · 2.7/5

The document uses progressive disclosure through an architecture reference followed by focused workflows, and includes commands, fixture naming rules, limitations, and a troubleshooting entry point; repository evidence supplies MIT licensing context. Deducted 7 points because the skill itself lacks versioning, changelog, explicit maintenance owner, update path, installation/dependency notes, and FAQs, while relying on an unprovided README and internal implementation details.

5Effectiveness6 / 15 · 2.0/5

For a contributor familiar with the repository, the instructions directly support adding tests, recording fixtures, and gating nondeterministic cases, including leakage review and replay confirmation. Deducted 1 point because no representative successful output or execution evidence is included, so end-to-end completeness and direct usability cannot be verified from static material alone.

6Verifiability4 / 10 · 2.0/5

The skill provides auditable paths, commands, fixture naming rules, and symptom-to-fix guidance; repository material also provides license, pinned dependencies, and some test/CI evidence. Deducted 1 point because the supplied CI workflows do not clearly cover this skill's agent-host E2E key paths, and no independent execution or reproduction was performed.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Do normal replay runs need a token or network access?
No. With no recording environment variable, the tests serve committed fixtures without a token or network. Any unrecorded request is a hard cache miss.
When is a real token required?
A real token is required when recording or re-recording fixtures after adding a test or changing bundled SDK/CLI wire behavior. The source specifies GITHUB_TOKEN or gh auth token and access to real CAPI.
Can I edit a YAML fixture by hand to fix a failure?
No. Fixtures must be produced by recording. If usernames, paths, tokens, or other sensitive values appear, extend normalization and redaction in capiReplayProxy.ts and record again.
Which tests should be gated?
Gate tests with real-time streaming or mid-turn aborts when replay is not deterministic, gate POSIX-only local execution on Windows, and use targeted provider or operating-system gates where behavior diverges.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

CI Component Screenshot Baseline Investigator

Investigate component screenshot differences from CI comments and captured artifacts.

★ 194k FS 37 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Code OSS Development Log Viewer

Locate and inspect the latest Code OSS development logs.

★ 194k FS 51 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Integration Test Runner

Run and filter VS Code repository integration tests with the correct platform scripts.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Session Troubleshooter

Explain unexpected Copilot CLI behavior from session-log evidence.

★ 194k FS 51 Use with care 11d ago
Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Insiders UI Automation

Automate VS Code Insiders and Copilot Chat through Playwright and CDP.

★ 194k FS 46 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

★ 194k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

GitHub Copilot SDK Upgrade Assistant

Upgrade and validate @github/copilot in the VS Code Copilot Chat project.

★ 194k FS 28 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

★ 194k FS 60 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Telemetry Error Fix Guide

Trace unhandled telemetry errors to invalid-data producers instead of masking the crash site.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Project Instruction Builder

Turn conversation patterns and preferences into a durable project instruction file.

★ 194k FS 51 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Workflow Skill Builder

Turns a conversation's working method into a reusable SKILL.md.

★ 194k FS 50 Use with care 11d ago

Related skills