upstream-auditor

upstream-auditor is a skill for Claude Code from tozhax/plumbwork. It costs 90 tokens per session (4,864 once invoked), scanned A, original, MIT.

A maintenance and audit guide for detecting changes in AI models, the agent platform, and tracked external add-ons. It compares upstream changes with the local setup before suggesting synchronization.

In plain words
What is it for?
Use it to audit model, platform, or add-on updates and prepare a small, reviewable synchronization plan.
Why use it?
It helps prevent unnoticed upstream changes from creating conflicting instructions, unnecessary setup work, or differences from the local rules.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; positional $N argument; mentions Gemini CLI.

Good fit Use it to audit model, platform, or add-on updates and prepare a small, reviewable synchronization plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tozhax/plumbwork/upstream-auditor
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.

Any agent
npx skills add tozhax/plumbwork --skill upstream-auditor
Clone the repo
git clone --depth 1 https://github.com/tozhax/plumbwork

Made for: Claude Code.

Wrote 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.

agentmods badge for upstream-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/tozhax/plumbwork/upstream-auditor/github.svg)](https://agentmods.dev/skills/tozhax/plumbwork/upstream-auditor)
Your own site
<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.

agentmods 80×15 button for upstream-auditor

Your own site · 80×15
<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>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.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

Measured 2d ago against content hash 60ff52c98afc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_skills.sh, scripts/upstream_watcher.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/upstream-auditor/SKILL.md · 189 lines

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:

  1. Detect changes across the active model, Antigravity runtime, and the 9 tracked community repositories.
  2. Filter incoming changes through the global constitution and the ui-refinery design/copy quality contract.
  3. 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-upstream or /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.json against local installed skills and plugins.
  • Targeted Single Skill: /audit-upstream --skill <skill_name>
    • Audits only the specified skill (e.g. /audit-upstream --skill ui-refinery, rustify, renew).
  • Model Only: /audit-upstream --model
    • Inspects the active Large Language Model (LLM) across runtime roles (Orchestrator, Author coding flagships, Verifier/auditors, and Fast/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).
  • Platform Only: /audit-upstream --platform
    • Audits the Antigravity builtin environment (builtin/skills, builtin/.checksum covering bundled plugins/sidecars such as builtin/plugins/swarm) and lifecycle hooks.
  • Proactive 72-Hour Watchdog & Instant Model/Platform Drift Hook (Two-Stage Trigger):
    • 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, installed under ~/.gemini/config/skills/upstream-auditor/scripts/ and registered on SessionStart with backward-compatible PreInvocation invocationNum == 1 support) inspects active model family/version changes (modelName and antigravity_state.pbtxt), builtin/skills SHA-256 content hashes, ~/.gemini/antigravity/builtin/.checksum (builtin_bundle_checksum, degrading cleanly when absent so plugin/sidecar updates under builtin/plugins/ surface even when builtin/skills is 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 formatted Upstream Notice: banner in metadata.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, or HANDOFF.md (GEMINI.md Rule 5), pointing only the human operator to /audit-upstream (--model, --platform, --skills, or --all).

Read the full file on GitHub · 189 lines

Files

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.

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. 2d ago First seen · 189 lines · 90 tokens per session scan A 60ff52c98afc

Subscribe to this mod's changes

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.

Related

upstream-auditor compared with skills from other repositories

upstream-auditor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upstream-auditortozhax/plumbworkSkill332d agoMITA90Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code