kbupdate AGENTS.md

AGENTS.md instructions for potatoqualitee/kbupdate, covering kbupdate agent guide, source layout, compatibility and style, safety contract and verification.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/potatoqualitee/kbupdate/agents-md
Clone the repo
git clone --depth 1 https://github.com/potatoqualitee/kbupdate

Made for: Codex, OpenCode.

Per session 921 This file is loaded in full into every session.
When invoked 921 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash f6ac8d13e86e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

AGENTS.md · 55 lines

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.

Read the full file on GitHub · 55 lines

Changes

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.

  1. yesterday First seen · 55 lines · 921 tokens per session scan A f6ac8d13e86e

Subscribe to this mod's changes

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.