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 floomhq/moto --skill agent-scopegit clone --depth 1 https://github.com/floomhq/motoWrote 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/floomhq/moto/agent-scope)<a href="https://agentmods.dev/skills/floomhq/moto/agent-scope"><img src="https://agentmods.dev/badge/skills/floomhq/moto/agent-scope/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/floomhq/moto/agent-scope"><img src="https://agentmods.dev/badge/skills/floomhq/moto/agent-scope.svg" alt="Reviewed on agentmods" width="80" 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.00000 | $0.00814 |
| Opus 5.5 | $0.00000 | $0.00326 |
| Sonnet 5.5 | $0.00000 | $0.00163 |
| Haiku 4.5 | $0.00000 | $0.00081 |
Grade A, and why
agent-scope 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 3mo 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 — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
name: agent-scope description: | Enforce scoped write access for AI coding agents. Use when starting a new task, before committing changes, when asked to "check scope", "validate my diff", "did I touch anything I shouldn't", or when working in a monorepo where protected modules (auth, billing, migrations) must not be silently modified.
agent-scope — Scope Guard for AI Coding Agents
agent-scope stops AI agents from silently changing code outside their intended task.
- Read broadly (
**/*) - Write narrowly (scoped paths)
- Ask before touching protected code
- Run checks before finishing
When to use
- Starting a new task in a monorepo
- Agent keeps touching unrelated modules
- Need to lock auth, billing, or database layers
- Want a CI gate that catches scope violations in PRs
Quick setup
npm install -g agent-scope
agent-scope init
Edit agent.scope.yml:
version: "0.1"
mode: strict
task:
id: "your-task-id"
title: "Your task title"
scope:
read:
- "**/*"
write:
- "apps/web/settings/**"
- "packages/email/**"
- ".agent-scope/**"
protected:
- "packages/auth/**"
- "packages/billing/**"
- "db/migrations/**"
approval_required:
- "package.json"
- "pnpm-lock.yaml"
Daily workflow
Before editing
Review agent.scope.yml to confirm your write boundaries.
After editing
agent-scope check
If violations appear, do not proceed. Your options:
- Revert the out-of-scope changes
- Request scope expansion:
agent-scope request packages/auth/session.ts \ --reason "Need to expose email preference in session" - Approve if human already gave permission:
agent-scope approve packages/auth/session.ts
Before finishing
agent-scope run
This validates scope and then runs checks.before_done from the config.
Integration with agents
Claude Code hook
Add to your workflow:
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.
- 3mo ago First seen · 147 lines · 0 tokens per session scan A 8066cd8599ae
agent-scope is a skill published in the GitHub repository floomhq/moto (32 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 814 tokens. 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.
agent-scope compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-scopefloomhq/moto | Skill | 32 | 5mo ago | MIT | A | 0 | Claude Code, Codex |
| eval-agentsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 2d ago | CC-BY-SA-4.0 | A | 80 | Claude Code |
| issue-triageFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 2d ago | CC-BY-SA-4.0 | A | 65 | Claude Code |
| land-and-deployFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 2d ago | CC-BY-SA-4.0 | A | 41 | Claude Code |
| review-prFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 2d ago | CC-BY-SA-4.0 | A | 45 | Claude Code |
| sandbox-unblockFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 2d ago | CC-BY-SA-4.0 | A | 65 | Claude Code |
| sonarqubeFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 2d ago | CC-BY-SA-4.0 | A | 39 | Claude Code |