plan-llm-cost-guardrails SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
plan-llm-cost-guardrails from kensaurus/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kensaurus/skills/plan-llm-cost-guardrails@git:20261006.39320f8Pins git:20261006.39320f8 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kensaurus/skills
- Path
skills/plan-llm-cost-guardrails/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261006.39320f8, committed Oct 6, 2026
- First version recorded
- Aug 19, 2026
- Size
- 7,454 bytes
- Repository stars
- 9
- License
- MIT
Plan-only audit of an LLM app's runaway-cost and quota-abuse exposure. Use when "cap my AI costs", "my LLM bill could blow up", "rate limit my AI", "token budget", "runaway agent loop", or hardening LLM features before launch.
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
# LLM Cost-Guardrail Audit + Remediation Plan **Degree of freedom: HIGH** — inventory call sites, score unbounded paths, plan. Stay **plan-only**. No limits or routing changes until approved. ## This skill vs neighbors | Skill | Owns | |---|---| | **plan-llm-cost-guardrails** (this) | Token / quota / runaway-loop plan | | `audit-langfuse-llm` | Quality and cost traces | | `audit-infra-cost` | Hosting / egress bill | | `audit-llm-security` | Unbounded consumption as an attack | ## How to reason (every plan item) 1. **Propose** — token cap, kill switch, breaker, or fallback 2. **Risk** — worst-case spend × who can reach the path 3. **Keep-working** — call sites that already bound tokens and account usage 4. **Phase** — caps → breakers → fallback → visibility (do not execute) ## Worked example > **Propose:** per-user daily token cap + hard daily-spend kill switch on `lib/ai.ts`. > **Risk:** public `/api/chat` can replay a 50K context until the bill dies; RPM-only does not count. > **Keep-working:** summarizer path already sets `max_tokens`. > **Phase:** Phase 1 — caps & kill switch. **Role:** Senior platform engineer (LLM spend + abuse resistance). …
Read the whole file at its exact version.
How to install
mdr add kensaurus/skills/plan-llm-cost-guardrails@sha256:53d7d69f81f15050The line at the top of this page pins the label git:20261006.39320f8, 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_srg3efqf5qgmmw2i)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 19, 2026 and Oct 6, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261006.39320f8 latest | 2026-10-06 | 39320f8 | 7,454 B | A | view · diff |
| git:20260923.938ff43 | 2026-09-23 | 938ff43 | 7,501 B | A | view · diff |
| git:20260923.68c095e | 2026-09-23 | 68c095e | 7,219 B | A | view · diff |
| git:20260923.cf348bd | 2026-09-23 | cf348bd | 7,271 B | A | view · diff |
| git:20260819.170df67 | 2026-08-19 | 170df67 | 6,967 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 (7454 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
kensaurus/skills · 9 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_srg3efqf5qgmmw2i GET https://markdownregistry.com/api/v1/resolve?ref=kensaurus/skills/plan-llm-cost-guardrails GET https://markdownregistry.com/api/v1/blob/53d7d69f81f150501041bbd4770d16589ad702322475c1673ade83e9c66f7aa7
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.
More from kensaurus/skills
Every file in kensaurus/skills