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.
git clone --depth 1 https://github.com/jonase47/ccprWrote 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.
[](https://agentmods.dev/commands/jonase47/ccpr/p3-cost)<a href="https://agentmods.dev/commands/jonase47/ccpr/p3-cost"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p3-cost/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.
<a href="https://agentmods.dev/commands/jonase47/ccpr/p3-cost"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p3-cost.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01461 |
| Opus 5.5 | $0.00000 | $0.00584 |
| Sonnet 5.5 | $0.00000 | $0.00292 |
| Haiku 4.5 | $0.00000 | $0.00146 |
Grade A, and why
p3-cost 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/p3-cost – Operating Costs of the Architecture
Estimates the ongoing Operating Costs of the chosen architecture for various usage scenarios. The goal is realistic cost planning that feeds back into the financial plan – no surprises after launch.
Argument: $ARGUMENTS = [Scenario, e.g. "100 users", "10k users", "100k requests/day"]
If provided: Calculate the Operating Costs for the named scenario. Multiple scenarios can be provided as a comma-separated list (e.g. "100 users, 1k users, 10k users"). If not provided: Read ARCHITECTURE.md, INFRASTRUCTURE.md and FINANCIAL_PLAN.md and select sensible scenarios based on growth projections. If any context is missing, ask for the expected user numbers.
Execution
1. Read Context
Read the following files (if available):
- ARCHITECTURE.md (system components – what runs where?)
- INFRASTRUCTURE.md (hosting decisions, concrete services)
- TECH_STACK.md (technologies and external services with cost implications)
- FINANCIAL_PLAN.md (previous infrastructure cost estimates for comparison)
2. Delegation to Business Analyst Agent (Lead)
Delegate the cost calculation to the business-analyst agent:
Calculate the monthly Operating Costs for the following scenarios: $ARGUMENTS Context from ARCHITECTURE.md and INFRASTRUCTURE.md: [insert components, services, hosting decisions]
A. Cost Categories (per scenario) Calculate monthly costs for each category:
Category Service/Component Cost/Month (Scenario 1) Cost/Month (Scenario 2) ... Server / Compute (e.g. Hetzner CX21) X€ X€ Database (e.g. managed PostgreSQL) X€ X€ Object Storage (e.g. S3, Hetzner Object Storage) X€ X€ CDN / Bandwidth X€ X€ Email Delivery (e.g. Postmark, SendGrid) X€ X€ Monitoring / Logging (e.g. Sentry, Grafana Cloud) X€ X€ Auth Service (if external, e.g. Auth0) X€ X€ Other External APIs X€ X€ Total X€ X€ B. Scaling Behavior
- How do costs develop between scenarios?
- Are there cost tiers (e.g. tier upgrades at external services)?
- At what user count does an architecture change become economically sensible?
C. Cost Optimization Potential
- Which cost items are largest and could be reduced?
- Are there cheaper alternatives to individual services?
- Reserved instances / annual subscriptions: where does early commitment pay off?
D. Comparison with Financial Plan
- Do the calculated costs deviate from FINANCIAL_PLAN.md?
- If yes: how does the financial plan need to be adjusted?
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.
- 2mo ago Changed 7c3278dab2ed
- 2mo ago First seen · 114 lines · 0 tokens per session scan A d42a6b4a9c09
p3-cost is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,461 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-09-03.
p3-cost compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| p3-costjonase47/ccpr | Command | 1 | 2mo ago | MIT | A | 0 | Claude Code |
| cost-reportaffaan-m/ECC | Command | 314k | today | MIT | A | 16 | Claude Code |
| statsAR6420/Hail_Hydra | Command | 52 | 29d ago | MIT | A | 29 | Claude Code |
| forge-resetluiseiman/dotforge | Command | 8 | 26d ago | MIT | A | 15 | Claude Code |
| firebase-publishPierry/harness-kit | Command | 4 | 1mo ago | MIT | A | 20 | Claude Code |
| sddPierry/harness-kit | Command | 4 | 1mo ago | MIT | A | 29 | Claude Code |
| golden-pathPierry/harness-kit | Command | 4 | 1mo ago | MIT | A | 40 | Claude Code |