price-check
Skill43 starsChanged 4 months agoMITView on GitHub
Price a generation run from live provider rates before any spend. \"how much will this cost\"
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adapt-copySkill
- assemble-documentSkill
- brand-managerSkill
- build-review-gallerySkill
- c2pa-signSkill
- compose-creativeSkill
- create-previewsSkill
- finalize-monthSkill
- full-pipelineSkill
- generate-videoSkill
- ideate-monthSkill
- index-assetsSkill
- ingest-performanceSkill
- manage-reviewsSkill
- match-assetsSkill
- model-checkSkill
- parse-calendarSkill
- render-carouselsSkill
- research-monthSkill
- setupSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Not from this file. Not from the model registry.
- Distinctive: line 94
Look the surcharge up on the model's page, then pass it:
- Distinctive: line 114
One approval covers one run: If the user approves a batch and then changes the calendar, re-quote and ask again.
- Distinctive: line 138
Run this at the start of a production month.
- Distinctive: line 154
Treat a quote as approval
- Distinctive: line 155
Call one provider cheapest on the strength of a single price
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/socialforge:price-check — What this run will cost, looked up today
Script location. If your host does not set
${CLAUDE_PLUGIN_ROOT}, the scripts are in this plugin'sscripts/folder, next toskills/. Run them with Python 3.10 or newer:python, orpython3wherepythonis not found (macOS, many Linux systems).
Prices here are never remembered. They are looked up, recorded with the URL they came from, and expire after 24 hours.
That is not caution for its own sake. On 2026-07-31 a major video model shipped one day after this plugin's model registry was last reviewed, and the registry never knew. In the same week, a provider already wired into SocialForge was selling video at a small fraction of what the old cost table assumed. Any price baked into a plugin is wrong on a timetable nobody controls.
The rule
Never state a cost you did not look up in this session or the last 24 hours.
Not from this file. Not from the model registry. Not from what you remember a
model costing. If price_book.py says a price is unknown or stale, that is
the answer — go and read the provider's page, then record what you read.
Looking a price up
- Find where to look:
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action providersThat returns each provider's pricing URL and its auth shape. Two things it will tell you that save time:
- Auth differs per provider.
Authorization: Bearer …for WaveSpeed and Kie,Authorization: Key …for fal.ai, application-default credentials for Vertex. Getting this wrong is the most common reason a first call fails. - Kie AI blocks automated fetches (measured: HTTP 403). Do not report that as "no price found" — ask the user for the rate instead, and record it with the pricing page as the source.
- Fetch the pricing page with your own web tools and read the actual number.
- Record it, with the URL you read it from:
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action record \
--model "<model id>" --provider wavespeed \
--unit second --price <the rate you read> --source <the pricing URL you read it from>A record without a source URL is rejected. That is deliberate — a price with no provenance is a guess wearing a number's clothes.
Quoting before you spend
Single item:
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action quote \
--model "<model id>" --provider wavespeed --units <seconds of video>A whole planned run — required before /socialforge:generate-all, which fans
out across an entire monthly calendar and is the most expensive command in the
product:
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action quote-batch --items '[
{"model":"<model id>","provider":"wavespeed","units":5,"label":"post-01"},
{"model":"<another model id>","provider":"wavespeed","units":6,"label":"post-02"}
]'Both exit non-zero when they cannot price the work, so a caller can never mistake a refusal for a costed run.
One unpriced item blocks the whole batch. A total that quietly omits the three clips nobody could price is worse than no total, because it reads as complete.
Options that change the price
A base rate is not always the whole bill. On at least one wired video model,
asking for synchronised audio bills at 1.5× the base per-second rate — and
SocialForge passes sound straight through to that API, so a quote taken without
it understates the cost of every clip by a third.
Look the surcharge up on the model's page, then pass it:
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action quote \
--model "<model id>" --provider wavespeed --units 10 \
--multiplier 1.5 --multiplier-reason "sound=true"In a batch, put it on the item: {"model": …, "units": 10, "multiplier": 1.5,
"multiplier_reason": "sound=true"}.
The quote then shows base, multiplier and reason separately, so the user can see what the option cost them. Multipliers are provider facts and move — look them up, do not carry them in your head.
Then stop
A quote is not consent. approved_to_run is always false, even for a clean
batch. Show the user the number and wait for an explicit go.
One approval covers one run. If the user approves a batch and then changes the calendar, re-quote and ask again.
Comparing providers before you route
The same model genuinely costs different amounts in different places — one video model has been seen at more than double the per-second rate on one provider than on another, for identical output.
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action compare --model "<model id>"Cheapest first, grouped by unit — a per-image price is never "cheaper" than a per-second one, so they are never ranked against each other. If only one provider is on record, the output says so: one price is not a comparison. Look up a second before telling the user something is the cheapest option.
Checking what has gone stale
python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action stalenessRun this at the start of a production month. Anything listed as stale needs a fresh lookup before it can appear in a quote.
Draft cheap, finish properly
Iterating a rejected concept at hero-model rates is the quietest way to waste a client's budget. Generate drafts on the cheapest capable model, and only re-run the concept the user actually picked on the expensive one.
Route on a price you looked up, not on a tier name — tier labels in the registry describe capability, not cost, and the two do not track each other reliably.
What this skill will not do
- Quote from memory, from the registry, or from this file
- Present a partial total as the cost of a run
- Treat a quote as approval
- Call one provider cheapest on the strength of a single price
- Report a fetch failure as an absence of cost
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

