p3-cost

p3-cost is a command for coding agents from jonase47/ccpr. It costs 0 tokens per session (1,462 once invoked), scanned A, original, MIT.

A guide for estimating the ongoing cost of running a software architecture under different usage scenarios. It uses the project’s architecture, infrastructure, technologies, and financial plan as context.

In plain words
What is it for?
Use it to estimate monthly operating costs for scenarios such as different user counts or request volumes.
Why use it?
It helps reveal infrastructure expenses before launch and compare them with earlier estimates.

Command

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 commands/jonase47/ccpr/p3-cost
Clone the repo
git clone --depth 1 https://github.com/jonase47/ccpr

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 p3-cost

README.md
[![agentmods](https://agentmods.dev/badge/commands/jonase47/ccpr/p3-cost.svg)](https://agentmods.dev/commands/jonase47/ccpr/p3-cost)
Your own site
<a href="https://agentmods.dev/commands/jonase47/ccpr/p3-cost"><img src="https://agentmods.dev/badge/commands/jonase47/ccpr/p3-cost.svg" alt="Measured on agentmods" 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,462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.01462
Opus 5 $0.00000 $0.00731
Sonnet 5 $0.00000 $0.00292
Haiku 4.5 $0.00000 $0.00146

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

Security

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 today.

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.

commands/p3-cost.md · 114 lines

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?

Read the full file on GitHub · 114 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. today First seen · 114 lines · 0 tokens per session scan A d42a6b4a9c09

Subscribe to this mod's changes

p3-cost is a command published in the GitHub repository jonase47/ccpr (1 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,462 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.

Related

Other commands, from other repositories

pseo-run-portfolio

Use when: kullanıcı "tüm portföyü çalıştır", "portföy taraması", "hepsini sırayla çalıştır", "portfolio sweep", "run all projects", "her projeye bakım yap" der ya da /pseo-run-portfolio çağırır. Also use when: portföydeki TÜM projeler için aynı workflow (monthly/audit/setup/content) tek bir taramada SIRAYLA…

popiliadam/platinum-seo-engine · 247 tokens

pseo-facet-audit

Use when: kullanıcı "facet audit", "faceted navigation", "parametre URL temizliği", "crawl budget", "index bloat", "filtre URL'leri indexleniyor", "sort/sayfalama parametreleri", "?sirala= / ?renk= URL'leri" der ya da /pseo-facet-audit çağırırsa. Also use when: aktif projenin Screaming Frog export'u alındı…

popiliadam/platinum-seo-engine · 251 tokens

pseo-dfs-pull

Use when: kullanıcı "DataForSEO çek", "DFS pull", "keyword overview", "search volume DFS", "dfs ingestion" der ya da /pseo-dfs-pull çağırırsa. Also use when: aktif projenin keyword listesi var, DFS bütçesi (project.config.dataforseo.budgetcreditsperday) yeterli; staging-only (Phase 8 cluster-map konsume eder). Do not…

popiliadam/platinum-seo-engine · 131 tokens

pseo-monitoring-weekly

Use when: kullanıcı "haftalık check", "weekly health", "haftalık monitoring", "weekly health report", "haftalık sağlık raporu" der ya da /pseo-monitoring-weekly çağırırsa. Also use when: Pazartesi 09:00 UTC cron-like trigger (skill scheduled "0 9 1"); manager portfolio-overview öncesi tek-proje sağlık özeti istiyor…

popiliadam/platinum-seo-engine · 176 tokens

pseo-schedule

Use when: kullanıcı "zamanla", "schedule", "otomatik çalıştır", "tekrarlayan tarama", "zamanlanmış görev", "scheduler", "arm/disarm" der ya da /pseo-schedule [status|arm|disarm] [workflow] [cadence] çağırır. Also use when: Faz-4 portföy taramasını (/pseo-run-portfolio) OPSİYONEL tekrarlayan bir programa bağlamak /…

popiliadam/platinum-seo-engine · 328 tokens

pseo-status-portfolio

Use when: kullanıcı "portföy durumu", "hepsinin durumu", "tüm projeler ne durumda", "portföy triyajı", "portfolio status", "nelere bakmam lazım", "bütçe ne durumda" der ya da /pseo-status-portfolio [period] çağırır. Also use when: bir oturumun başında TÜM portföyü tek bakışta triyaj etmek gerekir — hangi projeler…

popiliadam/platinum-seo-engine · 312 tokens