agentleFS
tanbopptanbopp/ai-development-framework/.agents/skills/cost-estimator/SKILL.md

cost-estimator

Skill1 starsChanged 20 days agoMITView on GitHub

Estimates token consumption from project feature count and target platform before /auto-build or Phase 1, warning users on large projects and offering /full-cycle as a step-by-step alternative.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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
  1. Very specific:

    Keep this check purely informational so users do not unexpectedly drain API limits.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cost Estimator

Trigger

Mandatory before starting /auto-build or Phase 1 (Planning), and re-evaluated once docs/project/PRD.md defines the feature set.

Process

  1. Assess Project Complexity:
    • Determine the expected number of features (REQ-XXX groups in docs/project/PRD.md, or features described in the user's initial <idea> when run prior to Phase 1) and the target platform (Web, Mobile, Desktop, Plugin, CLI, or multi-platform).
  2. Classify Token Usage Tier:
    • Low: <= 3 small features on a single platform with minimal external integrations.
    • Medium: 4 to 5 features on a single platform, or standard DB/auth setup.
    • High: > 5 features (>= 15 vertical-slice tasks), multi-platform or Desktop/Mobile builds, or autonomous /auto-build end-to-end execution with audit loops.
  3. Output Cost Warning on Medium/High Scope (or Before /auto-build):
    • Present a clear advisory message using this template: "This project has X features and targets [Platform]. Estimated token usage: [High/Medium/Low]. Proceed with /auto-build? Or use /full-cycle to review step-by-step?"
  4. Informational Safeguard Only:
    • Keep this check purely informational so users do not unexpectedly drain API limits; under /auto-build, pause only for confirmation if estimated usage is High (unless the user already confirmed proceeding).

Output Contract

A concise complexity and token-usage summary (Low, Medium, or High) surfaced before /auto-build or Phase 1 execution begins.

Checklist

  • Feature count and target platform assessed
  • Token usage tier (Low / Medium / High) assigned transparently
  • Large project / /auto-build warning displayed offering /full-cycle alternative

Prohibitions

  • Hiding heavy autonomous token costs on large multi-feature projects before /auto-build.
  • Fabricating exact billing dollar amounts or API quota figures not available in the environment.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.