Visual Studio Code is a code editor that supports editing, navigating, understanding, debugging, and extending software projects. Developers use it for the edit-build-debug cycle, and the catalogue add-ons provide skills, instructions, and agents for working within the editor.
Borrowing it
Nothing to install: this file belongs to microsoft/vscode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/microsoft/vscode/main/.github/skills/component-fixtures/SKILL.mdgit clone --depth 1 https://github.com/microsoft/vscodeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/vscode/component-fixtures)<a href="https://agentmods.dev/skills/microsoft/vscode/component-fixtures"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/component-fixtures/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/microsoft/vscode/component-fixtures"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/component-fixtures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.04599 |
| Opus 5.5 | $0.00021 | $0.01840 |
| Sonnet 5.5 | $0.00011 | $0.00920 |
| Haiku 4.5 | $0.00005 | $0.00460 |
Grade A, and why
component-fixtures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- component-fixtures — 98% identical, 88 lines differ
How it starts
The opening of the file, as written. The whole thing — 420 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Component Fixtures
Component fixtures render isolated UI components for visual screenshot testing via the component explorer. Fixtures live in src/vs/workbench/test/browser/componentFixtures/ and are auto-discovered by the Vite dev server using the glob src/**/*.fixture.ts.
Use tools mcp_component-exp_* to list and screenshot fixtures. If you cannot see these tools, inform the user to them on.
Running Fixtures Locally
- Start the component explorer server: run the Component Explorer Server task
- Use the
mcp_component-exp_list_fixturestool to see all available fixtures and their URLs - Use the
mcp_component-exp_screenshottool to capture screenshots programmatically
File Structure
Each fixture file exports a default defineThemedFixtureGroup(...). The file must end with .fixture.ts.
src/vs/workbench/test/browser/componentFixtures/
fixtureUtils.ts # Shared helpers (DO NOT import @vscode/component-explorer elsewhere)
myComponent.fixture.ts # Your fixture file
Basic Pattern
import { ComponentFixtureContext, createEditorServices, defineComponentFixture, defineThemedFixtureGroup } from './fixtureUtils.js';
export default defineThemedFixtureGroup({ path: 'myFeature/' }, {
Default: defineComponentFixture({ render: renderMyComponent }),
AnotherVariant: defineComponentFixture({ render: renderMyComponent }),
});
function renderMyComponent({ container, disposableStore, theme }: ComponentFixtureContext): void {
container.style.width = '400px';
const instantiationService = createEditorServices(disposableStore, {
colorTheme: theme,
additionalServices: (reg) => {
// Register additional services the component needs
reg.define(IMyService, MyServiceImpl);
reg.defineInstance(IMockService, mockInstance);
},
});
const widget = disposableStore.add(
instantiationService.createInstance(MyWidget, /* constructor args */)
);
container.appendChild(widget.domNode);
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · +16 lines 78b32a6f3e89
- 1mo ago Changed 4c3cd3bf858e
- 1mo ago Changed f35b16fe617e
- 1mo ago Changed · +2 lines 74d3c716db88
- 2mo ago Changed · +8 lines · +6 tokens per session 529327a18a6c
- 2mo ago Changed · +12 lines 4cde1452e5c4
- 2mo ago Changed · +18 lines 18b989520034
- 2mo ago Changed · +20 lines f43e0358c79a
- 3mo ago First seen · 344 lines · 47 tokens per session scan A 22bfd0febbc4
component-fixtures is a skill published in the GitHub repository microsoft/vscode (195,911 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 4,599 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
component-fixtures compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| component-fixturesmicrosoft/vscode | Skill | 196k | today | MIT | A | 53 | Claude Code, Codex |
| cyrene-plan-modePlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 37 | Claude Code, Codex |
| cyrene-plugin-devPlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 61 | Claude Code, Codex |
| cyrene-exam-paperPlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 64 | Claude Code, Codex |
| cyrene-obsidian-workspacePlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 42 | Claude Code, Codex |
| cyrene-work-hygienePlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 56 | Claude Code, Codex |
| cyrene-diagramPlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 50 | Claude Code, Codex |