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 agentmods add commands/armanzeroeight/fastagent-plugins/estimate-azure-costgit clone --depth 1 https://github.com/armanzeroeight/fastagent-pluginsWrote 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/armanzeroeight/fastagent-plugins/estimate-azure-cost)<a href="https://agentmods.dev/commands/armanzeroeight/fastagent-plugins/estimate-azure-cost"><img src="https://agentmods.dev/badge/commands/armanzeroeight/fastagent-plugins/estimate-azure-cost.svg" alt="Measured on agentmods" 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.00008 | $0.00419 |
| Opus 5 | $0.00004 | $0.00210 |
| Sonnet 5 | $0.00002 | $0.00084 |
| Haiku 4.5 | $0.00001 | $0.00042 |
Grade A, and why
estimate-azure-cost 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 6d 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
Estimate Azure Cost
Context
- Azure CLI version: !
az --version 2>&1 | head -1 || echo "Azure CLI not installed" - Current subscription: !
az account show --query name -o tsv 2>&1 || echo "Not logged in" - Resource groups: !
az group list --query "[].name" -o tsv 2>&1 | head -10 || echo "No resource groups"
Your Task
Analyze Azure costs and provide optimization recommendations for the specified resource group or subscription.
Arguments
$1: Resource group name (optional, analyzes entire subscription if not provided)
Steps
-
Analyze current costs
- Query cost management data
- Group by resource type and service
- Identify top cost drivers
-
Identify optimization opportunities
- Find unused resources
- Check for oversized VMs
- Review storage tiers
- Identify RI candidates
-
Provide recommendations
- Reserved instance opportunities
- Rightsizing suggestions
- Azure Hybrid Benefit eligibility
- Spot VM candidates
- Storage optimization
-
Calculate potential savings
- Estimate savings per recommendation
- Prioritize by impact
- Provide implementation steps
Output Format
## Azure Cost Analysis
**Scope:** [subscription/resource-group]
**Period:** Last 30 days
**Total Cost:** $[amount]
### Top Cost Drivers
1. [Service]: $[amount]
2. [Service]: $[amount]
### Optimization Opportunities
**High Priority (Est. Savings: $[amount]/month)**
- [Recommendation with details]
**Medium Priority (Est. Savings: $[amount]/month)**
- [Recommendation with details]
### Implementation Steps
1. [Step with command]
2. [Step with command]
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.
- 6d ago First seen · 73 lines · 8 tokens per session scan A 6ce734d2cba7
estimate-azure-cost is a command published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 8 tokens to every session and 419 once invoked, about $0.0000 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 commands, from other repositories
tunnel-stop.template
This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows.
prp-implement
Execute an implementation plan with rigorous validation loops.
save-session
Save current session state to a dated file in /.claude/session-data/ so work can be resumed in a future session with full context.
code-review
Code review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode).
plan
Restate requirements, assess risks, and create step-by-step implementation plan. WAIT for user CONFIRM before touching any code.
pm2
Analyze a project and generate PM2 service commands for detected frontend, backend, or database services.