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/potatoqualitee/kbupdate/agents-mdgit clone --depth 1 https://github.com/potatoqualitee/kbupdateWhat 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.00921 | $0.00921 |
| Opus 5 | $0.00461 | $0.00461 |
| Sonnet 5 | $0.00184 | $0.00184 |
| Haiku 4.5 | $0.00092 | $0.00092 |
Grade A, and why
kbupdate AGENTS.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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kbupdate agent guide
This repository is a PowerShell module for finding, downloading, installing, and uninstalling Windows updates. Treat update installation and removal as production-impacting operations.
Source layout
- public/: one exported function per file.
- private/: internal helpers.
- tests/unit/: fast, deterministic Pester 5 tests.
- tests/integration/: local-only live Microsoft Update Catalog and authorized Windows lab tests. GitHub Actions must never run this directory.
- build/Invoke-KbUpdateIntegration.ps1: the local integration entry point.
- build/Invoke-KbUpdateHyperVLab.ps1: discovers an available local Hyper-V lab and invokes the read-only integration suite.
- .claude/commands/labtest.md: slash command for probe, quick inventory, and full read-only lab scans.
- tests/Integration.Tests.ps1: legacy integration coverage retained for reference while scenarios move to tests/integration/.
- library/: vendored third-party modules and binaries. Do not reformat or bulk-edit this directory.
- build/Invoke-KbUpdateQualityGate.ps1: the local and CI verification entry point.
- build/Invoke-KbUpdateLibraryRefresh.ps1: builds and validates a refreshed kbupdate-library candidate without publishing it.
- workers/kbupdate-library-scheduler/: Cloudflare Cron Worker that detects a new Microsoft scan catalog and dispatches the candidate refresh workflow.
Compatibility and style
- Preserve Windows PowerShell 3.0 compatibility in module code unless a task explicitly changes the support floor.
- Use full command names in committed PowerShell. Prefer $PSItem over the short pipeline variable in new code.
- Use splatting for long commands; do not use backticks for line continuation.
- Public functions require complete comment-based help, including parameter descriptions and at least one example.
- Mutating commands must support ShouldProcess. Keep Install-KbUpdate and Uninstall-KbUpdate confirmation-aware.
- Never commit credentials, machine inventories, private host names, raw lab addresses, or information learned from unrelated or sibling repositories, except for the intentionally public credential used only by build/Invoke-KbUpdateHyperVLab.ps1 for the disposable open-source lab.
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 · 55 lines · 921 tokens per session scan A f6ac8d13e86e
kbupdate AGENTS.md is an instructions file published in the GitHub repository potatoqualitee/kbupdate (390 stars, last pushed 22d ago), licensed MIT. It adds 921 tokens to every session, about $0.0046 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-09-01.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
vscode ai-customization.instructions.md
Architecture documentation for VS Code AI Customization view. Use when working in src/vs/workbench/contrib/chat/browser/aiCustomization.
vscode tree-widgets.instructions.md
Use when asked to consume workbench tree widgets in VS Code.
vscode observables.instructions.md
Guidelines for writing code using observables and deriveds.