ai-cost-guard SKILL.md skillA
ai-cost-guard from timurgaleev/vibestack is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add timurgaleev/vibestack/ai-cost-guard@git:20261011.be543efPins git:20261011.be543ef in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- timurgaleev/vibestack
- Path
skills/ai-cost-guard/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261011.be543ef, committed Oct 11, 2026
- First version recorded
- Sep 2, 2026
- Size
- 23,829 bytes
- Repository stars
- 7
- License
- MIT
Find code paths that can run up an unbounded LLM or inference bill and require a dollar cap before shipping.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
## When to invoke
Use when: "ai cost guard", "cap llm spend", "unbounded llm loop", "token budget", "runaway api cost", "bedrock spend limit", "why was the Anthropic/OpenAI bill so high", or before merging a change that adds a call to a paid model API.
## Preamble
```bash
eval "$("${VIBESTACK_HOME:-$HOME/.vibestack}/bin/vibe-slug" 2>/dev/null)" 2>/dev/null || SLUG="unknown"
_LEARN_FILE="${VIBESTACK_HOME:-$HOME/.vibestack}/projects/${SLUG:-unknown}/learnings.jsonl"
if [ -f "$_LEARN_FILE" ]; then
_LEARN_COUNT=$(wc -l < "$_LEARN_FILE" 2>/dev/null | tr -d ' ')
echo "LEARNINGS: $_LEARN_COUNT entries loaded"
if [ "$_LEARN_COUNT" -gt 5 ] 2>/dev/null; then
"${VIBESTACK_HOME:-$HOME/.vibestack}/bin/vibe-learnings-search" --limit 5 2>/dev/null || true
fi
else
echo "LEARNINGS: none yet"
fi
```
{{include lib/snippets/session-host.md}}
{{include lib/snippets/decision-brief.md}}
{{include lib/snippets/working-protocols.md}}
{{include lib/snippets/state-protocols.md}}
## User-invocable
When the user types `/ai-cost-guard`, run this skill.
---
## Step 1: Inventory paid-API call sites
…Read the whole file at its exact version.
How to install
mdr add timurgaleev/vibestack/ai-cost-guard@sha256:54be7a8171e26c7aThe line at the top of this page pins the label git:20261011.be543ef, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_uwiuimrko3zqjhfj)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 2, 2026 and Oct 11, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.be543ef latest | 2026-10-11 | be543ef | 23,829 B | A | view · diff |
| git:20261009.553d413 | 2026-10-09 | 553d413 | 22,294 B | A | view · diff |
| git:20261009.5df8a1a | 2026-10-09 | 5df8a1a | 22,290 B | A | view · diff |
| git:20260902.2f747e9 | 2026-09-02 | 2f747e9 | 22,437 B | A | view · diff |
| git:20260902.281273b | 2026-09-02 | 281273b | 17,172 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (23829 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
timurgaleev/vibestack · 7 stars · license MIT · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_uwiuimrko3zqjhfj GET https://markdownregistry.com/api/v1/resolve?ref=timurgaleev/vibestack/ai-cost-guard GET https://markdownregistry.com/api/v1/blob/54be7a8171e26c7a196ae9ba631f9fc62324a010d239675f41b4c86a6f6714c7
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.