Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Manavarya09/cost-guardian --skill cost-insightsgit clone --depth 1 https://github.com/Manavarya09/cost-guardianWrote 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/skills/manavarya09/cost-guardian/cost-insights)<a href="https://agentmods.dev/skills/manavarya09/cost-guardian/cost-insights"><img src="https://agentmods.dev/badge/skills/manavarya09/cost-guardian/cost-insights/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/skills/manavarya09/cost-guardian/cost-insights"><img src="https://agentmods.dev/badge/skills/manavarya09/cost-guardian/cost-insights.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.00066 | $0.00583 |
| Opus 5 | $0.00033 | $0.00292 |
| Sonnet 5 | $0.00013 | $0.00117 |
| Haiku 4.5 | $0.00007 | $0.00058 |
Grade A, and why
cost-insights scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Cost Insights
Advanced cost intelligence that goes beyond simple tracking. Shows WHERE money is wasted, WHAT you got for your spend, and HOW to spend less.
Commands
/cost-insights or /cost-insights report (default)
Full insights report with all metrics:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" insights "${CLAUDE_SESSION_ID}"
Display the ASCII output as-is.
/cost-insights waste
Detailed waste analysis — redundant reads, failed commands, retry storms:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" waste "${CLAUDE_SESSION_ID}"
Explain each waste type and suggest how to avoid it.
/cost-insights roi
Cost-per-line and cost-per-commit ROI metrics:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" roi "${CLAUDE_SESSION_ID}"
Compare to typical benchmarks ($0.02-0.05/line is good, >$0.10/line is expensive).
/cost-insights savings
Model routing savings calculator — shows what you could save on cheaper models:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" savings "${CLAUDE_SESSION_ID}"
Explain which tasks could safely use Haiku vs Sonnet vs Opus.
/cost-insights anomaly
Check if this session is abnormally expensive:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" anomaly "${CLAUDE_SESSION_ID}"
/cost-insights badge [daily|weekly|monthly]
Generate a GitHub README badge showing AI development cost:
node "${CLAUDE_SKILL_DIR}/../../scripts/insights.js" badge monthly
Give the user the markdown to paste in their README.
Response Guidelines
- Efficiency scores: 80-100 = great, 60-79 = good, 40-59 = needs work, <40 = poor
- Always suggest actionable improvements for low scores
- For waste: explain WHY each waste happens and HOW to avoid it
- For savings: be honest that model routing requires task-type awareness
- For badges: output the markdown they can paste directly
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.
- 12d ago First seen · 61 lines · 66 tokens per session scan A ed7b2dcd4b5e
cost-insights is a skill published in the GitHub repository Manavarya09/cost-guardian (35 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 583 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ai-ml-development
AI and machine learning development with PyTorch, TensorFlow, and LLM integration. Use when building ML models, training pipelines, fine-tuning LLMs, or implementing AI features.
android-development
Android development with Kotlin, Jetpack Compose, and modern Android architecture. Use when building Android apps, implementing Material Design, or following Android best practices.
grant-proposal-builder
Nonprofit and research grant proposal assembly with structured sections, budget templates, and evaluation alignment. Use when writing grant proposals, funding applications, or research funding requests.
accessibility-a11y
WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.
audio-production
Professional audio production for music, podcasts, and sound design. Use when working with audio recording, mixing, mastering, or sound design for any medium.
authentication-patterns
OAuth 2.0, JWT, SSO, MFA, NextAuth/Clerk/Supabase Auth implementation patterns.