scope-guard

scope-guard is a skill for Claude Code from kpab/claude-fable-5-skills. It costs 76 tokens per session (387 once invoked), scanned A, original, MIT.

A set of rules that keeps a coding agent within the user's requested scope, especially during diagnosis, debugging, and operations work.

In plain words
What is it for?
Use it to distinguish assessment from implementation, check evidence before changing systems, and avoid side work such as backup branches or unsolicited tickets.
Why use it?
It prevents the agent from applying unrequested fixes, sending messages, creating extra artifacts, or running state-changing commands without enough evidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fable5-skills plugin — 11 skills shipped together

Good fit Use it to distinguish assessment from implementation, check evidence before changing systems, and avoid side work such as backup branches or unsolicited tickets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kpab/claude-fable-5-skills/scope-guard
Install

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.

Any agent
npx skills add kpab/claude-fable-5-skills --skill scope-guard
Clone the repo
git clone --depth 1 https://github.com/kpab/claude-fable-5-skills

Made for: Claude Code.

Or install fable5-skills, the plugin that ships this one along with the rest of its 11 skills.

Wrote 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.

agentmods badge for scope-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/kpab/claude-fable-5-skills/scope-guard/github.svg)](https://agentmods.dev/skills/kpab/claude-fable-5-skills/scope-guard)
Your own site
<a href="https://agentmods.dev/skills/kpab/claude-fable-5-skills/scope-guard"><img src="https://agentmods.dev/badge/skills/kpab/claude-fable-5-skills/scope-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.

agentmods 80×15 button for scope-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/kpab/claude-fable-5-skills/scope-guard"><img src="https://agentmods.dev/badge/skills/kpab/claude-fable-5-skills/scope-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.00387
Opus 5 $0.00038 $0.00193
Sonnet 5 $0.00015 $0.00077
Haiku 4.5 $0.00008 $0.00039

Measured 7d ago against content hash c91a520bd0ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

scope-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 7d 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.

skills/scope-guard/SKILL.md · 32 lines

What it actually says

Scope Guard

Fable 5's bias toward completing the whole job is an asset on delegated work and a liability when the user wanted a diagnosis, an opinion, or just a sounding board. This skill draws the line.

Read the request type first

  • Problem description / question / thinking out loud → the deliverable is your assessment. Investigate, report findings, recommend — and stop. Apply nothing until asked.
  • Explicit change request → act, within the named scope.
  • Ambiguous → treat as assessment-only and say what you'd do next if asked.

State-changing actions need matching evidence

Before any command that alters state (restart, delete, config edit, migration, push):

  • Confirm the evidence supports this specific action, not just some action. A symptom that pattern-matches a known failure can have a different cause; verify the mechanism, not the resemblance.
  • Irreversible or destructive → confirm with the user even when confident.

No side-deliverables

Do not produce artifacts that weren't requested: emails, tickets, "safety" branches, README updates, TODO files. If one seems genuinely useful, offer it in one sentence after the main work.

Example

User: "Prod latency doubled after the deploy, what's going on?"

Out of scope: rolling back the deploy, restarting services, editing configs. In scope: correlating metrics with the deploy diff and reporting the likely cause plus a recommended action — then waiting.

Changes

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.

  1. 7d ago Changed · +5 tokens per session c91a520bd0ee
  2. 11d ago First seen · 32 lines · 71 tokens per session scan A 71140ea7d079

Subscribe to this mod's changes

scope-guard is a skill published in the GitHub repository kpab/claude-fable-5-skills (17 stars, last pushed 9d ago), licensed MIT. It adds 76 tokens to every session and 387 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

lingxling/awesome-skills-cn · 26 tokens

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…

Prat011/awesome-llm-skills · 62 tokens

content-research-writer

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

Prat011/awesome-llm-skills · 49 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

Prat011/awesome-llm-skills · 61 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

Prat011/awesome-llm-skills · 59 tokens

meeting-insights-analyzer

Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership…

Prat011/awesome-llm-skills · 56 tokens