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/context-menus/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/context-menus)<a href="https://agentmods.dev/skills/microsoft/vscode/context-menus"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/context-menus/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/context-menus"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/context-menus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00076 | $0.01077 |
| Opus 5.5 | $0.00030 | $0.00431 |
| Sonnet 5.5 | $0.00015 | $0.00215 |
| Haiku 4.5 | $0.00008 | $0.00108 |
Grade A, and why
context-menus 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context menus
A context menu lists the actions for the clicked object in a predictable order, so users find the same action in the same place on every object and surface.
Group order
Groups render in lexicographic order of their ID, with navigation always first. Use these groups, in this order, for new menus and for all Agents window menus:
| Group | Purpose |
|---|---|
navigation |
Open, create, or run the object. The default (double-click or Enter) action comes first. |
1_state |
Change the object's state, such as mark as read or archive. |
2_organize |
Change where the object is listed or how it is ordered, such as pin, move up or down, or move into another container. |
3_copy |
Copy information about the object to the clipboard. |
4_manage |
Configure or edit the object itself. Destructive actions come last. |
- Order items within a group with
order(orgroup@ninpackage.json) instead of relying on title sorting. - Don't invent groups in menus that use this scheme. A custom ID sorts lexicographically among the standard ones, often somewhere unexpected (
1_moverenders before1_state), and splits related actions apart. A new group needs a purpose none of the standard groups covers. - Established workbench menus with documented groups (editor, Explorer, terminal, editor title) keep their own group IDs. Add to the closest matching group.
- Group IDs of menus open to extensions are API. When you change one, update every contribution, including
extensions/*/package.json.
Rules
- Related actions stay together. Variants of one operation (Move Up and Move Down, Move to Session... and Move to New Session, Copy Link and Copy Path) share one group with consecutive
ordervalues, so they render next to each other. Never split them across groups. - Destructive actions last. An action that deletes or removes data is the final item of the menu. Never place it mid-menu.
- Same object, same menu. An object shown in several places (list row, tab, header, card) offers the same actions in the same order. Reuse one
MenuIdor the same group IDs rather than building a parallel action list by hand. - Inline actions are in the menu too. Every hover or toolbar action of a row or header also appears in its context menu.
- Only actions for the clicked object. List-wide or unrelated actions belong on the section header, view title, or empty space, not on an item.
- Hide what doesn't apply; disable what can't run now. Use
whenfor actions irrelevant to the object andpreconditionfor applicable actions that are temporarily unavailable, such as single-item actions during multi-selection. - Keep it short. At most about 5 groups and 15 items, with one level of submenus. Use a submenu for 3 or more related targets, and a toggle rather than a submenu for a two-way choice.
- Labels. Use Title Case. End with
...when the action asks for more input or confirmation. Labels must be unique within a menu. - Dynamic actions join their group. When actions must be built in code, merge them into the matching group of the menu's actions instead of appending them after a final separator. Join groups with
Separator.join.
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.
- 12d ago Changed · +10 lines · +8 tokens per session e57422b593a9
- 1mo ago First seen · 39 lines · 68 tokens per session scan A 59e3c768d447
context-menus is a skill published in the GitHub repository microsoft/vscode (195,911 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,077 once invoked, about $0.0003 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-10-27.
context-menus compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-menusmicrosoft/vscode | Skill | 196k | today | MIT | A | 76 | Claude Code, Codex |
| cyrene-diagramPlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 50 | Claude Code, Codex |
| figmamereyabdenbekuly-ctrl/clodex-ide | Skill | 872 | 1mo ago | AGPL-3.0 | A | 48 | Claude Code, Codex |
| magic-uimagicuidesign/magicui | Skill | 24k | 3d ago | MIT | A | 56 | Claude Code, Codex |
| winui-designmicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 70 | Claude Code |
| openscreen-designgetopenscreen/openscreen | Skill | 8.5k | today | MIT | A | 62 | Claude Code |
| cyrene-obsidian-workspacePlaya-0v0/Cyrene-Agent | Skill | 811 | 9d ago | MIT | A | 42 | Claude Code, Codex |