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 theYahia/WWmcp --skill budget-guardgit clone --depth 1 https://github.com/theYahia/WWmcpWrote 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/theyahia/wwmcp/budget-guard)<a href="https://agentmods.dev/skills/theyahia/wwmcp/budget-guard"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/budget-guard/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/theyahia/wwmcp/budget-guard"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/budget-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00018 | $0.00649 |
| Opus 5.5 | $0.00007 | $0.00260 |
| Sonnet 5.5 | $0.00004 | $0.00130 |
| Haiku 4.5 | $0.00002 | $0.00065 |
Grade A, and why
budget-guard 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 2mo 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/budget-guard — Stop the bleeding
Algorithm
- Call
get_account. Note the remaining balance — this is the runway. (Balance needs the OAuth scoperead_payments.) - Call
list_campaignswithstatus: "active". - Call
get_statisticswithobject_type: "campaigns",ids= the active campaign ids (max 200),period: "day", anddate_from/date_tocovering the last 7 days (YYYY-MM-DD, range at most 92 days). - For each campaign compute CPC (spend / clicks) and CTR (clicks / shows) — VK calls
impressions
shows. Amounts are already in the cabinet currency; do not divide by 100. - Flag a campaign when it exceeds the user's CPC threshold, or when it has spent money with near-zero clicks. State the numbers — never flag on a hunch.
- Show the flagged list and ask for confirmation before changing anything.
- On confirmation, per campaign either:
update_campaignwithcampaign_idandaction: "stop"to pause it, orupdate_campaignwithcampaign_idandbudget_limit/budget_limit_dayto cut its budget instead.
- Call
list_campaignsagain to confirm the new state. - If one campaign is the problem but not all of it, drill down:
list_ad_groupswithcampaign_ids, thenget_statisticswithobject_type: "ad_groups".
Response format
## VK Ads budget guard
**Balance**: 84,000 ₽
**Last 7 days spend**: 41,200 ₽ → runway ≈ 14 days
### Flagged (CPC over 15 ₽)
| Campaign | Spend 7d | Clicks | CPC | Action |
|----------|----------|--------|-----|--------|
| Осенняя распродажа | 28,400 ₽ | 812 | 34.98 ₽ | stopped |
| Тест видео | 6,200 ₽ | 41 | 151.22 ₽ | budget_limit → 5,000 ₽ |
Projected saving: ~24,000 ₽ / week.
Notes
- Budgets are in the cabinet currency (roubles for RUB), not kopecks.
actionacceptsactivate,stopanddelete. Stopping is reversible — say so, it makes the decision easier.deleteis not.- Never stop a campaign without explicit confirmation, even when the numbers are damning.
update_campaignis annotated destructive: the client may prompt the user before it runs.
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.
- 2mo ago First seen · 61 lines · 18 tokens per session scan A 625008048191
budget-guard is a skill published in the GitHub repository theYahia/WWmcp (42 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 649 once invoked, about $0.0001 per session on Opus 5.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-09-06.
budget-guard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| budget-guardtheYahia/WWmcp | Skill | 42 | 2mo ago | MIT | A | 18 | Claude Code |
| typescript-linter-setupProjAnvil/MindForge | Skill | 3 | 9d ago | MIT | A | 46 | Claude Code, Codex |
| javascript-typescriptProjAnvil/MindForge | Skill | 3 | 9d ago | MIT | A | 85 | Claude Code |
| okx-cex-tradeokx/agent-trade-kit | Skill | 524 | 5d ago | MIT | A | 278 | Claude Code, Codex |
| okx-cex-earnokx/agent-trade-kit | Skill | 524 | 5d ago | MIT | A | 274 | Claude Code, Codex |
| okx-cex-smartmoneyokx/agent-trade-kit | Skill | 524 | 5d ago | MIT | A | 200 | Claude Code, Codex |
| adding-a-commandcaliber-ai-org/ai-setup | Skill | 1.3k | 2mo ago | MIT | A | 76 | Claude Code, Codex |