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 skills add tozhax/plumbwork --skill upstream-auditorgit clone --depth 1 https://github.com/tozhax/plumbworkWrote 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/tozhax/plumbwork/upstream-auditor)<a href="https://agentmods.dev/skills/tozhax/plumbwork/upstream-auditor"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/upstream-auditor/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/tozhax/plumbwork/upstream-auditor"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/upstream-auditor.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.00090 | $0.04864 |
| Opus 5.5 | $0.00036 | $0.01946 |
| Sonnet 5.5 | $0.00018 | $0.00973 |
| Haiku 4.5 | $0.00009 | $0.00486 |
Grade A, and why
upstream-auditor scanned grade A with 1 finding 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.
Reads agent configuration directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
* **Stage 1 (Deterministic `SessionStart` Detection):** The lightweight hook (`~/.gemini/config/skills/upstream-auditor/scripts/upstream_watcher.py` / `~/.gemini/config/skills/upstream-auditor/scripts/check_skills.sh`, i Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upstream Auditor: Model Drift, Platform & Skills Synchronization Engine
A specialized maintenance and audit skill designed to bridge the gap between upstream platform evolution (Google Gemini models & Antigravity updates), external open-source skills, and the user's local customized agent environment.
0. Core Invariant and Objective
As model capabilities advance, platforms evolve, and external open-source skills update, uncurated prompt directives and uninspected external changes introduce scaffolding debt, context bloat, and constitutional drift.
The mandate of this skill is to:
- Detect changes across the active model, Antigravity runtime, and the 9 tracked community repositories.
- Filter incoming changes through the global constitution and the
ui-refinerydesign/copy quality contract. - Present the user with a transparent, reviewable, and minimal synchronization diff.
1. Invocation and Parameter Hierarchy
Refine the audit scope using targeted flags:
- Full Audit:
/audit-upstreamor/audit-upstream --all- Audits model drift, runtime platform, and all 9 external skill and plugin repositories across a 3-tier inspection matrix.
- External Skills Only:
/audit-upstream --skills- Audits only git commit heads and release tags in
upstream_state.jsonagainst local installed skills and plugins.
- Audits only git commit heads and release tags in
- Targeted Single Skill:
/audit-upstream --skill <skill_name>- Audits only the specified skill (e.g.
/audit-upstream --skill ui-refinery,rustify,renew).
- Audits only the specified skill (e.g.
- Model Only:
/audit-upstream --model- Inspects the active Large Language Model (LLM) across runtime roles (
Orchestrator,Authorcoding flagships,Verifier/auditors, andFast/auxiliary models), official release notes, and evaluates harness rules and thresholds against references/model-calibration-matrix.md (MC-01..MC-06) to determine which scaffolding rules are now redundant (Pruning) and which require threshold or wording changes (Drift/Opportunities).
- Inspects the active Large Language Model (LLM) across runtime roles (
- Platform Only:
/audit-upstream --platform- Audits the Antigravity builtin environment (
builtin/skills,builtin/.checksumcovering bundled plugins/sidecars such asbuiltin/plugins/swarm) and lifecycle hooks.
- Audits the Antigravity builtin environment (
- Proactive 72-Hour Watchdog & Instant Model/Platform Drift Hook (Two-Stage Trigger):
- Stage 1 (Deterministic
SessionStartDetection): The lightweight hook (~/.gemini/config/skills/upstream-auditor/scripts/upstream_watcher.py/~/.gemini/config/skills/upstream-auditor/scripts/check_skills.sh, installed under~/.gemini/config/skills/upstream-auditor/scripts/and registered onSessionStartwith backward-compatiblePreInvocationinvocationNum == 1support) inspects active model family/version changes (modelNameandantigravity_state.pbtxt),builtin/skillsSHA-256 content hashes,~/.gemini/antigravity/builtin/.checksum(builtin_bundle_checksum, degrading cleanly when absent so plugin/sidecar updates underbuiltin/plugins/surface even whenbuiltin/skillsis unchanged), and local/builtin skill namespace collisions once per new conversation session with zero per-turn LLM overhead, and queries commit hashes and release tags for the 9 tracked repositories when 72 hours (3 days) have elapsed since the prior check. - Stage 2 (First-Seen Operator Alert,
metadata.user_markdown): When a new unacknowledged drift signature is first detected (first_time_seen), the hook spawns a desktop notification (plumb-guard notify send) and displays a one-time operator-only notice in the UI (systemMessage: ""for the model, with the formattedUpstream Notice:banner inmetadata.user_markdown) at session start. To avoid delaying the user's active task, full multi-stage analysis never runs automatically inside a task turn; the notice stays strictly operator-facing and never instructs the agent to repeat or copy maintenance notices into responses, task prompts, plans, next-step blocks, orHANDOFF.md(GEMINI.mdRule 5), pointing only the human operator to/audit-upstream(--model,--platform,--skills, or--all).
- Stage 1 (Deterministic
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 189 lines · 90 tokens per session scan A 60ff52c98afc
upstream-auditor is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 90 tokens to every session and 4,864 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
upstream-auditor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upstream-auditortozhax/plumbwork | Skill | 33 | 2d ago | MIT | A | 90 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |