Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/microsoft/vscode/sweeper-fixnpx skills add microsoft/vscode --skill sweeper-fixgit clone --depth 1 https://github.com/microsoft/vscodeWhat 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 | $0.00094 | $0.01736 |
| Opus 5 | $0.00047 | $0.00868 |
| Sonnet 5 | $0.00019 | $0.00347 |
| Haiku 4.5 | $0.00009 | $0.00174 |
Grade A, and why
sweeper-fix 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 2d 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 — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sweeper-fix — implement a sweeper-reviewed fix
You are implementing a narrow, localized fix for a single microsoft/vscode issue, on behalf of the maintainer who invoked you. The VS Code Sweeper reviewed this issue, judged it agent-fixable, and wrote a fix spec while tracing the defect in the source. Your job: verify the review still holds, turn the spec into the smallest correct change plus a test, and open a draft PR the maintainer owns.
0 · Preconditions (refuse if unmet)
- The working directory must be a microsoft/vscode checkout —
git remote -vmust listmicrosoft/vscode. If not, stop: "run this from your vscode checkout". - The checkout must have no tracked modifications and no staged changes
(
git status --porcelain, ignoring untracked files). Dirty → stop and say so; do NOT stash, discard, or commit the maintainer's work-in-progress. Untracked files may stay — the ship step commits only files this skill created or edited. gh auth statusmust succeed (the gates and the PR need it).
1 · Fetch the review record
The issue number comes from the maintainer's request. Fetch the record (public, no special access):
gh api "repos/egamma/vscodesweeper-state/contents/records/microsoft/vscode/items/<issue-number>.md?ref=state" -H "Accept: application/vnd.github.raw"
No record → stop: this issue hasn't been reviewed by the sweeper; the skill only fixes reviewed, agent-fixable issues.
2 · Gate — every check against LIVE GitHub state, not just the record
Fetch the live issue with the repo pinned explicitly — never rely on gh's default-repo
resolution, which a fork remote can redirect to the wrong repo's issue <n>:
gh issue view <issue-number> --repo microsoft/vscode --json state,labels,updatedAt
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.
- 2d ago First seen · 126 lines · 94 tokens per session scan A 8113671a75b7
sweeper-fix is a skill published in the GitHub repository microsoft/vscode (190,061 stars, last pushed 2d ago), licensed MIT. It adds 94 tokens to every session and 1,736 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
nemoclaw-contributor-implement-issue
Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…
nemoclaw-contributor-onboard
Prepare a NemoClaw source checkout for compliant contribution through the repository's one-command setup and readiness doctor. Use when a new contributor asks to set up a development machine, prepare a checkout for a first PR, repair local contributor tooling, verify contributor readiness, launch the pinned coding…
chrome-release-cls
Given a Chrome Releases blog post URL (chromereleases.googleblog.com), extract every CVE/bug and find the underlying Gerrit CL that fixed it by searching the local Chromium checkout and sub-repos. Use when asked to map Chrome security release notes to fixing CLs, or to find which commits correspond to CVEs in a Chrome…
nemoclaw-contributor-update-docs
Find user-visible changes merged to NemoClaw and update their owning documentation. Use in the post-merge documentation workflow or for direct documentation catch-up. Derive pages, commands, variants, and validation from the current checkout. Trigger keywords - update docs, docs from commits, catch up docs, docs drift.
docx
使用 OpenXML SDK (.NET) 进行专业的 DOCX 文档创建、编辑和格式化。 三种管道:(A) 从零创建新文档,(B) 在已有文档中填充/编辑内容, (C) 应用模板格式化并通过 XSD 验证门控检查。 当用户需要生成、修改或格式化 Word 文档时,必须使用此 skill—— 包括他们说"写一份报告"、"起草建议书"、"制作合同"、 "填写此表单"、"按此模板重新排版",或任何最终输出为 .docx 文件的任务。 即使用户未明确提及 "docx",如果任务暗示生成可打印/正式文档,也应使用此 skill。.
cyrene-plan-mode
当 Cyrene 处于 Plan Mode(计划模式),正在讨论、调查、细化或准备代码/文件改动的实施计划时使用。.