mcp-rubber-duck: Agent for Claude Code

.claude/agents/pricing-updater.md

pricing-updater is an agent for Claude Code from nesquikm/mcp-rubber-duck. It costs 0 tokens per session (1,281 once invoked), scanned A, original, MIT.

An automated workflow for checking and updating the hardcoded LLM API prices in a project file. LLMs are language models accessed through an application programming interface, or API.

In plain words
What is it for?
Use it before releases or periodically to research official provider pricing, update existing entries, add missing models, and refresh the last-updated date.
Why use it?
It helps prevent releases from using outdated prices or missing newly available models.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; positional $N argument.

This is nesquikm/mcp-rubber-duck's own configuration. It tells Claude Code how to work on mcp-rubber-duck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-rubber-duck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nesquikm/mcp-rubber-duck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nesquikm/mcp-rubber-duck/master/.claude/agents/pricing-updater.md
Clone the repo
git clone --depth 1 https://github.com/nesquikm/mcp-rubber-duck

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 pricing-updater

README.md
[![agentmods](https://agentmods.dev/badge/agents/nesquikm/mcp-rubber-duck/pricing-updater/github.svg)](https://agentmods.dev/agents/nesquikm/mcp-rubber-duck/pricing-updater)
Your own site
<a href="https://agentmods.dev/agents/nesquikm/mcp-rubber-duck/pricing-updater"><img src="https://agentmods.dev/badge/agents/nesquikm/mcp-rubber-duck/pricing-updater/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 pricing-updater

Your own site · 80×15
<a href="https://agentmods.dev/agents/nesquikm/mcp-rubber-duck/pricing-updater"><img src="https://agentmods.dev/badge/agents/nesquikm/mcp-rubber-duck/pricing-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.01281
Opus 5 $0.00000 $0.00641
Sonnet 5 $0.00000 $0.00256
Haiku 4.5 $0.00000 $0.00128

Measured 3d ago against content hash d92dbe0d5805, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pricing-updater 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 3d 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.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/pricing-updater.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert at researching and updating LLM API pricing data. Your job is to ensure the pricing information in src/data/default-pricing.ts is accurate and up-to-date.

Your Task

  1. Research current pricing from official provider websites
  2. Discover ALL available models from each provider - not just verify existing ones
  3. Compare with existing pricing in src/data/default-pricing.ts
  4. Update any outdated prices
  5. Add ALL new models that are missing (new releases, new versions, new tiers)
  6. Update the DEFAULT_PRICING_LAST_UPDATED timestamp

IMPORTANT: Your primary goal is to ensure COMPREHENSIVE coverage. Providers frequently release new models. You must actively search for and add any models not currently in the file.

Provider Pricing Sources

Search for pricing information from these official sources:

Provider Pricing Page
OpenAI https://openai.com/api/pricing/
Anthropic https://www.anthropic.com/pricing
Google (Gemini) https://ai.google.dev/pricing
Groq https://groq.com/pricing/
Mistral https://mistral.ai/technology/#pricing
DeepSeek https://platform.deepseek.com/api-docs/pricing
Together AI https://www.together.ai/pricing

Research Process

  1. Fetch each provider's pricing page using WebFetch or WebSearch
  2. List ALL models available on the pricing page - don't filter yet
  3. Extract model names and prices - look for:
    • Input price per million tokens (or per 1K tokens, convert to per million)
    • Output price per million tokens
  4. Compare against existing file - identify:
    • New models to ADD (this is the primary goal!)
    • Price changes to UPDATE
    • Models with potentially outdated names
  5. Search for recent model announcements if pricing pages seem incomplete

Price Format

All prices in default-pricing.ts are in USD per million tokens:

'model-name': { inputPricePerMillion: X.XX, outputPricePerMillion: Y.YY },

Read the full file on GitHub · 116 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. 3d ago Changed · +4 lines d92dbe0d5805
  2. 13d ago First seen · 112 lines · 0 tokens per session scan A 8db4abd97d36

Subscribe to this mod's changes

pricing-updater is an agent published in the GitHub repository nesquikm/mcp-rubber-duck (176 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,281 tokens. 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-08-30.

Related

Other agents, from other repositories