estimate

estimate is a command for Claude Code from SeungHyeon12/Claude-Infra-estimate. It costs 21 tokens per session (4,875 once invoked), scanned C, original, MIT.

A command that estimates infrastructure capacity and cloud costs before software is built. It creates an interactive HTML report comparing two to four proposed architectures.

In plain words
What is it for?
Use it with a description of a planned service or with project files such as Terraform, Kubernetes, or database migrations to create a capacity report.
Why use it?
It helps reveal sizing and cost differences early, before implementation makes architectural changes harder.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the estimate plugin — 1 command shipped together

Good fit Use it with a description of a planned service or with project files such as Terraform, Kubernetes, or database migrations to create a capacity report.

Compare 6 commands from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add SeungHyeon12/Claude-Infra-estimate
Claude Code
/plugin install estimate

Made for: Claude Code.

Or install estimate, the plugin that ships this one along with the rest of its 1 command.

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 estimate

README.md
[![agentmods](https://agentmods.dev/badge/commands/seunghyeon12/claude-infra-estimate/estimate/github.svg)](https://agentmods.dev/commands/seunghyeon12/claude-infra-estimate/estimate)
Your own site
<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.

agentmods 80×15 button for estimate

Your own site · 80×15
<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>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,875 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.04875
Opus 5 $0.00010 $0.02438
Sonnet 5 $0.00004 $0.00975
Haiku 4.5 $0.00002 $0.00487

Measured 12d ago against content hash 57628d4b59e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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 12d 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
plugins/estimate/commands/estimate.md · 382 lines

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, AWS
  • Social feed, 2M DAU, AWS vs GCP
  • Payments, 500 TPS peak, AWS
  • WebSocket chat, 100k connections, compare AWS vs GCP
  • Event 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

Read the full file on GitHub · 382 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. 12d ago First seen · 382 lines · 21 tokens per session scan C 57628d4b59e6

Subscribe to this mod's changes

estimate is a command published in the GitHub repository SeungHyeon12/Claude-Infra-estimate (5 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 4,875 once invoked, about $0.0001 per session on Opus 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.