From cortex
Generates a cost efficiency report for the current session, analyzing tokens, costs by model, cache efficiency, recommendations, historical trends, and optimization tips.
How this command is triggered — by the user, by Claude, or both
Slash command
/cortex:cost-reportcommands/Files this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
Generate a cost efficiency report for the current session. Use the `cortex_token_timeline` MCP tool with the current session, then analyze and present: 1. **Session Cost Summary** — total tokens, total estimated cost, breakdown by model 2. **Cache Efficiency** — session type (startup/resume), first-turn vs average token ratio, cache miss detection, estimated savings from caching 3. **Cost Recommendations** — actionable suggestions based on cache behavior: - Whether resume sessions are costing extra due to cache misses - Optimal session length based on historical data - Sentinel r...
Generate a cost efficiency report for the current session.
Use the cortex_token_timeline MCP tool with the current session, then analyze and present:
npx @anthropic-ai/claude-code if sentinel risk detectedFormat as a clear table with a summary section and actionable next steps.
npx claudepluginhub peaky8linders/claude-cortex/cost-reportGenerates a local Claude Code cost report from a cost-tracker SQLite database, showing spending by day, project, tool, and session. Also supports CSV export.
/cost-reportQueries a local SQLite cost-tracker database and displays Claude Code usage costs aggregated by day, project, tool, and session. Also supports CSV export.
/cost-reportCalculates Microsoft 365, Azure, and Fabric costs across TVS Holdings entities with tier projections and generates markdown report. Supports --tier and --format flags.