cost prediction
for ai agents
What is Costea
A set of AI agent skills that track, analyze, and estimate token consumption across Claude Code, Codex CLI, and OpenClaw. Estimate costs before execution, review spending after.
Install
ln -s /path/to/costea/skills/costea ~/.claude/skills/costealn -s /path/to/costea/skills/costeamigo ~/.claude/skills/costeamigoSkills
/costea
Estimates the token cost of a task before running it, then asks for your confirmation.
/costeamigo
Generates a multi-dimensional report of your historical token spending across all platforms.
Usage
- costea refactor the auth module
- costeamigo all
- costeamigo claude
- costeamigo codex
- costeamigo openclaw
Costea scans session history from all supported platforms, builds a task index using pure jq, then uses LLM reasoning to match your new task against historical patterns and estimate token usage, cost, and runtime.
COSTEA
Agent Cost Receipt
2026-03-25 14:32:07
Task
Refactor the auth module
Provider Estimates
best price: Claude Sonnet 4
Proceed? [Y/N]
POWERED BY /COSTEA SKILL
THANK YOU FOR BEING COST-CONSCIOUS
Requires jq and session history from at least one supported platform.·View on GitHub