Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add SeungHyeon12/Claude-Infra-estimate/plugin install estimateWrote 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/seunghyeon12/claude-infra-estimate/estimate)<a href="https://agentmods.dev/commands/seunghyeon12/claude-infra-estimate/estimate"><img src="https://agentmods.dev/badge/commands/seunghyeon12/claude-infra-estimate/estimate/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/seunghyeon12/claude-infra-estimate/estimate"><img src="https://agentmods.dev/badge/commands/seunghyeon12/claude-infra-estimate/estimate.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.00021 | $0.04875 |
| Opus 5.5 | $0.00008 | $0.01950 |
| Sonnet 5.5 | $0.00004 | $0.00975 |
| Haiku 4.5 | $0.00002 | $0.00487 |
Grade C, and why
estimate scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
install, manual `rm -rf`, version mismatch). The command must fail loudly with a How it starts
The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/estimate — Pre-build capacity & cost estimator
You are generating an interactive HTML capacity-planning report for the user's proposed architecture(s), before any code is written.
Paths
This command ships as a Claude Code plugin. Two distinct path bases are used:
${CLAUDE_PLUGIN_ROOT}— set by Claude Code to this plugin's installed location. All plugin-bundled assets (catalog/*.json,template/base.html,docs/,examples/) live here. Always read assets via this prefix, e.g.${CLAUDE_PLUGIN_ROOT}/catalog/aws.json,${CLAUDE_PLUGIN_ROOT}/template/base.html.- The user's current working directory (no prefix) — output goes here, in
./.claude/estimates/<timestamp>.html. This keeps generated reports next to the project the user is sizing, not buried in the plugin's install dir. - The user's project files you scan (terraform/k8s/migrations/etc.) are also in the user's cwd, with no prefix.
When in doubt: read plugin-relative; write cwd-relative.
Inputs
The user passes a free-form description as $ARGUMENTS. Examples:
REST API for user profile + recent orders, 5k RPS, AWSSocial feed, 2M DAU, AWS vs GCPPayments, 500 TPS peak, AWSWebSocket chat, 100k connections, compare AWS vs GCPEvent ingestion 500 MB/s, Kafka vs Kinesis
Bare invocation — /estimate with no arguments
If $ARGUMENTS is empty or whitespace-only, do not immediately ask the
generic missing-load follow-up. Instead, autonomously scan the project for
infra/workload signals first, synthesize a one-line hypothesis, and ask one
focused confirm-or-correct question.
Scan list (in order, stop early if signal is strong):
package.json, pnpm-lock.yaml, yarn.lock → deps reveal workload type:
socket.io / ws / @nestjs/websockets → WS
kafkajs / @nestjs/microservices / pulsar → Stream
express / fastify / nestjs / koa / next → REST (default)
requirements.txt, pyproject.toml, Pipfile → flask/django/fastapi/aiohttp → REST
aiokafka / faust → Stream
websockets / channels → WS
go.mod → gin/echo/fiber/chi → REST; nhooyr/gorilla → WS; segmentio/sarama → Stream
Gemfile, composer.json, build.gradle, pom.xml → framework signals same as above
Dockerfile, docker-compose*.yml → exposed ports, base images
serverless.yml, template.yaml (SAM), samconfig → existing Lambda layout, runtime, memory
terraform/**/*.tf, *.tf → aws_instance / aws_db_instance / aws_lb_*,
google_compute_instance, azurerm_*,
aws_lambda_function, aws_dynamodb_table
k8s/**/*.yaml, kustomize/**/*.yaml, helm/ → Deployment containers, requests/limits, HPA min/max
prisma/schema.prisma, drizzle/, sqlx/migrations,
migrations/*.sql, schema.sql, models.py → DB engine, table shape (users/posts → social;
products/orders → ecom; messages/rooms → chat)
.env.example, config/*.yml → REDIS_URL / DATABASE_URL / KAFKA_BROKERS hints
README.md, CLAUDE.md (top of repo) → domain hint
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 First seen · 382 lines · 21 tokens per session scan C 57628d4b59e6
estimate is a command published in the GitHub repository SeungHyeon12/Claude-Infra-estimate (5 stars, last pushed 6mo ago), licensed MIT. It adds 21 tokens to every session and 4,875 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
cost-optimize
Reduce cloud costs across AWS, Azure, and GCP through rightsizing, reserved and spot capacity, storage tuning, and cost monitoring.
deploy
Deploy a frontend (React, Next.js, or static HTML) to a live URL on Butterbase.
env
Manage Vercel environment variables. Commands include list, pull, add, remove, and diff. Use to sync environment variables between Vercel and your local development environment.
firebase-publish
Create or reuse a Firebase project, configure Hosting, and deploy the current static site. Never deletes.
scan
Scan AWS account for cost optimization.
migration
Generate Prisma database migration.