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.
git clone --depth 1 https://github.com/latestaiagents/agent-skillsWrote 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/commands/latestaiagents/agent-skills/cost-analyze)<a href="https://agentmods.dev/commands/latestaiagents/agent-skills/cost-analyze"><img src="https://agentmods.dev/badge/commands/latestaiagents/agent-skills/cost-analyze/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/commands/latestaiagents/agent-skills/cost-analyze"><img src="https://agentmods.dev/badge/commands/latestaiagents/agent-skills/cost-analyze.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.00012 | $0.01161 |
| Opus 5 | $0.00006 | $0.00580 |
| Sonnet 5 | $0.00002 | $0.00232 |
| Haiku 4.5 | $0.00001 | $0.00116 |
Grade A, and why
cost-analyze 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/cost-analyze
Analyze and optimize your LLM API costs with current 2026 pricing.
What I Need
To analyze your costs, provide:
- Which models are you using? (Claude, GPT-4, etc.)
- Approximate monthly usage (requests or tokens)
- Your current monthly bill (optional, for validation)
Or share your code that calls the LLM API and I'll estimate costs.
Current Pricing (2026)
Anthropic Claude
| Model | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|
| Claude Opus 4.5 | $15.00 | $75.00 |
| Claude Sonnet 4 | $3.00 | $15.00 |
| Claude Haiku 3.5 | $0.80 | $4.00 |
Prompt Caching Discounts:
- Cache write: 25% more than base
- Cache read: 90% discount (10% of base price)
- 5-minute TTL
OpenAI
| Model | Input (per 1M tokens) | Output (per 1M tokens) |
|---|---|---|
| GPT-4o | $2.50 | $10.00 |
| GPT-4o-mini | $0.15 | $0.60 |
| o1 | $15.00 | $60.00 |
| o1-mini | $3.00 | $12.00 |
Cost Analysis Workflow
Step 1: Calculate Current Costs
// Example calculation
const usage = {
model: 'claude-3.5-sonnet',
requestsPerDay: 1000,
avgInputTokens: 2000,
avgOutputTokens: 500
};
const monthlyCost = calculateMonthlyCost(usage);
// Input: 1000 * 2000 * 30 = 60M tokens/month
// Output: 1000 * 500 * 30 = 15M tokens/month
// Cost: (60 * $3) + (15 * $15) = $180 + $225 = $405/month
Step 2: Identify Optimization Opportunities
| Opportunity | Potential Savings |
|---|---|
| Prompt Caching | 50-90% on repeated prompts |
| Model Routing | 40-70% using smaller models for simple tasks |
| Prompt Optimization | 20-40% by reducing token usage |
| Batching | 50% with Batch API (24hr turnaround) |
Step 3: Implement Optimizations
A. Prompt Caching (Anthropic)
// Before: $3.00/M input tokens
const response = await anthropic.messages.create({
model: 'claude-3.5-sonnet',
system: longSystemPrompt, // 4000 tokens, repeated every call
messages: [{ role: 'user', content: userMessage }]
});
// After: $0.30/M for cached tokens (90% savings)
const response = await anthropic.messages.create({
model: 'claude-3.5-sonnet',
system: [
{
type: 'text',
text: longSystemPrompt,
cache_control: { type: 'ephemeral' } // Cache this
}
],
messages: [{ role: 'user', content: userMessage }]
});
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.
- 9d ago First seen · 153 lines · 12 tokens per session scan A 8fd178c8a0e0
cost-analyze is a command published in the GitHub repository latestaiagents/agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 1,161 once invoked, about $0.0001 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-31.
Other commands, from other repositories
fdk-react-create
Create a new Platform 3.0 React Meta app (default UI stack). Uses fdk create react-starter-template or react-meta skeletons with DEW components, metaConfig in manifest.json, and React Router.
fw-setup-uninstall
Uninstall FDK completely — keeps Node.js and nvm (/fw-setup uninstall).
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.