naman10parikh/agentmoney/add-model-pricing

Claude Code and agent skill by naman10parikh/agentmoney

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when adding a new LLM's per-token rates to agentmoney (e.g. "add Mistral pricing", "support DeepSeek", "add a new Claude/GPT/Gemini model"). Adds the rate to src/pricing.ts, the README pricing table, and a vitest case in one consistent change, with the provider + date cited.

Install

npx vskill@latest install naman10parikh/agentmoney/add-model-pricing

SKILL.md

The same SKILL.md was published earlier as naman10parikh/agentmoney/add-model-pricing.

Trigger

A new model (or a whole provider) must be priced. Examples: AM-010 (Mistral), AM-011 (Cohere), AM-012 (DeepSeek), or any "the calc command doesn't know model X".

Why this is one skill

In agentmoney, a model rate is one fact with three views: the rate table in src/pricing.ts, the pricing table in README.md, and a regression test. If they drift, the CLI lies. This skill keeps them moving together — that is the repo's single hardest invariant (see memory/MEMORY.md "Key Patterns" and AGENTS.md Quality bar).

Steps

  1. Find the authoritative rate. Open the provider's official pricing page.

Record USD per 1M tokens for input, output, and (if offered) cache-read / cache-write. Note the URL and today's date — you will cite both.

  1. Add the rate to `src/pricing.ts`. Insert a new entry in the rate table next

to the sibling provider's models. Keep the exact key the provider uses (the fuzzy matcher strips date suffixes and provider/ prefixes, so use the bare canonical id). Match the surrounding object shape exactly — do not refactor the table.

  1. Add the same rate to the README pricing table. Every model in pricing.ts

MUST also appear in the README (AGENTS.md Quality bar). Add the row, including a trailing <!-- src: <provider-url>, <date> --> citation comment.

  1. Add a vitest case in `test/pricing.test.ts`. Assert calculateCost("<new-model>", N, M)

returns the hand-computed USD within 0.001. This is the canary that catches a future typo in the rate.

  1. Nothing else to copy. The sandbox program (src/sandbox-pricer.ts) is generated from the

rate table, so it picks up the new rate by itself; eval/surfaces.py fails if the README row is missing.

  1. Verify the fuzzy fallback still holds. Confirm an unknown variant of the new

model (e.g. with a date suffix) still resolves, and that genuinely-unknown models still fall back to Sonnet-tier ($3/$15) rather than throwing.

Verify

  • ./node_modules/.bin/vitest run test/pricing.test.ts test/sandbox-pricer.test.ts → all pass (new case green).
  • pnpm eval → the surfaces check finds the new model in the README.
  • node dist/index.js calc -m <new-model> -i 5000 -o 1000 → prints the expected cost.
  • node dist/index.js models | grep <new-model> → the model is listed.
  • grep -c "<new-model>" README.md src/pricing.ts → appears in BOTH.

Output

A single conventional commit feat(pricing): add <provider>/<model> rates touching exactly src/pricing.ts, README.md, and test/pricing.test.ts, with the provider URL + date cited in both the README comment and the commit body.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/naman10parikh/agentmoney/add-model-pricing/badge)](https://verified-skill.com/skills/naman10parikh/agentmoney/add-model-pricing)

Something wrong with this skill or its page? Tell us.