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 instructions/microsoft/vscode/oss-third-party-noticesgit 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.05001 | $0.05001 |
| Opus 5 | $0.02500 | $0.02500 |
| Sonnet 5 | $0.01000 | $0.01000 |
| Haiku 4.5 | $0.00500 | $0.00500 |
Grade A, and why
vscode oss-third-party-notices.instructions.md 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 yesterday.
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 — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VS Code OSS Third-Party-Notices pipeline
This directory contains the thin VS Code-specific layer around Component Governance (CG) for producing OSS third-party notices. It replaces the legacy custom OSS tool with CG plus a gap-filling scanner, so release owners do not need to babysit ThirdPartyNotices.txt every release. The generated output should be at least as good as the legacy tool: CG provides the base NOTICE, the local scanner fills known CG gaps, and human-authored overrides cover the small set that automation cannot safely resolve.
The pipeline has two halves: generation (this oss/ directory — CG + scanner + merge, producing the notice_output artifact) and application (the cutover that swaps the merged notice into the shipped product — see "Applying the NOTICE (cutover)" below).
Architecture
The product-quality pipeline in build/azure-pipelines/product-quality-checks.yml is the main CI entry point.
notice@0generates the CG base NOTICE atThirdPartyNotices.generated.txt.scan-licenses.tsscans local sources CG misses and writesThirdPartyNotices.extensions.txt, plus sibling index files used by the merge step.merge-notices.tsmerges the CG output and scanner output, then appliescglicenses.jsonoverrides throughapply-overrides.ts.check-pr-dependencies.tsis used bypr-oss-check.ymlas a PR-time gate. It blocks dependency additions that have no license source.- If CG is down or
notice@0emits an empty/non-trivial failure output, the pipeline substitutes the last goodThirdPartyNotices.generated.txtartifact from the same branch, then frommain. Only the CG portion is cached; local scanning and overrides still run fresh against the current commit.
Final merge output is uploaded as ThirdPartyNotices.new.txt in the notice_output artifact.
Pipeline flow in CI
In product-quality-checks.yml:
- Component Detection runs with
ComponentGovernanceComponentDetection@0. notice@0writes$(Build.SourcesDirectory)/ThirdPartyNotices.generated.txtand iscontinueOnError: true.- The cache fallback checks whether the CG file exists and is larger than 1 KB. If not, it downloads the latest
notice_outputartifact for the current branch, thenmain, and copies the cachedThirdPartyNotices.generated.txtinto place. - TypeScript compiles the OSS scripts into
.oss-build-out:apply-overrides.tsscan-licenses.tsparse-notices.tsmerge-notices.ts
scan-licenses.jsruns with--repo,--cg, and--output.merge-notices.jsruns with--cg,--extensions,--cglicenses, and--output.- The generated CG file, scanner file, final merged file, and optional cache metadata are uploaded under
notice_output.
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.
- yesterday First seen · 363 lines · 5,001 tokens per session scan A 4c033d9febc2
vscode oss-third-party-notices.instructions.md is an instructions file published in the GitHub repository microsoft/vscode (190,061 stars, last pushed yesterday), licensed MIT. It adds 5,001 tokens to every session, about $0.0250 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 instructions, from other repositories
vscode-peacock AGENTS.md
Instructions for johnpapa/vscode-peacock, covering peacock — agent guide, project overview, repository structure, tech stack and build & run.
vscode-peacock copilot-instructions.md
Instructions for johnpapa/vscode-peacock, covering copilot instructions — peacock, project type, typescript conventions, vs code extension patterns and color handling.
code-by-wire CLAUDE.md
Instructions for luojiahai/code-by-wire, covering claude.md, development, website, architecture and code style.
swob AGENTS.md
Instructions for IvyYang1999/swob, covering swob 研发协作唯一规范, 不可越过的边界, 角色与职责, 生命周期 and 分支、worktree 与提交.
clodex-ide AGENTS.md
AGENTS.md instructions for mereyabdenbekuly-ctrl/clodex-ide, covering clodex repository agent rules, open/closed product boundary, commercial product invariant, current protocol v0 phase and current authorization state.
data-peek CLAUDE.md
Claude Code instructions for Rohithgilla12/data-peek, covering claude.md, project overview, commands, development (from root) and from apps/desktop.