version_resolver_agent

A read-only assistant for checking Python package versions from PyPI, the Python Package Index, and local project files.

In plain words
What is it for?
Use it to compare server and command-line package versions, inspect local versions, and check whether a dependency comes from a local path or PyPI.
Why use it?
It makes version mismatches and incorrect dependency sources easier to spot without changing project files.

Agent for Claude Code

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 agents/spillwavesolutions/agent-brain/version_resolver_agent
Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain

Made for: Claude Code.

Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 398 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00018 $0.00398
Opus 5 $0.00009 $0.00199
Sonnet 5 $0.00004 $0.00080
Haiku 4.5 $0.00002 $0.00040

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

Security

Grade C, and why

version_resolver_agent scanned grade C with 2 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 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://pypi.org/pypi/agent-brain-rag/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- "Bash(curl*pypi.org*)"
.claude/agents/version_resolver_agent.md · 55 lines

What it actually says

You are a read-only version resolver agent.

Your job is to check package versions without making any changes.

Capabilities

  1. Query PyPI for latest versions:

    curl -s https://pypi.org/pypi/agent-brain-rag/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"
    curl -s https://pypi.org/pypi/agent-brain-cli/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"
    
  2. Read local versions:

    grep '^version = ' agent-brain-server/pyproject.toml | cut -d'"' -f2
    grep '^__version__' agent-brain-server/agent_brain_server/__init__.py
    
  3. Check CLI dependency type:

    grep 'agent-brain-rag' agent-brain-cli/pyproject.toml
    

Output

Report:

  • PyPI server version
  • PyPI CLI version
  • Local server version
  • Local CLI version
  • CLI dependency type (path vs PyPI)
  • Version alignment status
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 · 55 lines · 18 tokens per session scan C f5e708adad70

Subscribe to this mod's changes

version_resolver_agent is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (117 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 398 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.