AI-consumed reference. Optimized for Claude to read during execution.
Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md
or docs/getting-started/ depending on topic.
Extension Detector
STATUS — v3.7.0-alpha.3. Self-extending capability with hard gates against plugin pollution.
Core principle
The Aura Frog plugin ships a fixed set of skills, rules, and commands. Project-specific patterns belong in the project, not in the plugin. This skill watches for the moment a user's project would benefit from its own extensions and proposes them — but never creates them autonomously.
Hard rule: anything this skill creates lands in the user's project under .claude/, never in aura-frog/.
Detection signals (in order of strength)
| Strength |
Signal |
Action |
| Strong |
User explicitly says "we should have a skill/rule/command for X", "add a rule that…", "make this a skill" |
Surface immediately |
| Medium |
User repeats the same correction 3+ times across recent turns ("don't do X" / "always do Y") |
Surface as candidate rule |
| Medium |
Same multi-step procedure invoked manually 3+ times in this project |
Surface as candidate skill |
| Weak |
Project README/CONTRIBUTING references a workflow Aura Frog doesn't have a command for |
Surface as candidate command |
Weak signals require 2+ in combination before surfacing.
Confirmation protocol (mandatory)
When a signal fires, the skill MUST:
- Pause and surface — never write a file as a side effect of detection
- Show a one-line proposal —
Proposed: project skill "<name>" (.claude/skills/<name>/SKILL.md). Reason: <signal>. Create? (y/n)
- Wait for explicit yes —
y, yes, confirm, go ahead, do it count as yes; anything else (including silence, ambiguity, or "let me think") = no
- On yes: delegate to
/aura-frog:extend create <kind> <name> — the command owns actual file authoring + audit
- On no: drop the proposal, do NOT re-surface within the same turn, but track for re-detection if the signal repeats
What this skill does NOT do
- Does NOT write any file directly (delegates to
/aura-frog:extend)
- Does NOT write to
aura-frog/skills/, aura-frog/rules/, aura-frog/commands/ — plugin pollution is forbidden
- Does NOT auto-create even on strong signals (human-in-the-loop is the whole point)
- Does NOT detect patterns across projects (project-isolated; signals only count within the current project)
- Does NOT lower its detection threshold based on past confirmations (each proposal is independent)
Detection budget
To prevent fatigue, max 1 proposal per turn, max 3 proposals per session. After session cap, defer further proposals to /aura-frog:extend list (user-initiated review).
What gets created (kinds)
| Kind |
Path |
Purpose |
| skill |
.claude/skills/<name>/SKILL.md |
AI-discoverable knowledge for repeated procedures |
| rule |
.claude/rules/<tier>/<name>.md |
Always-loaded or per-agent guardrail |
| command |
.claude/commands/<name>.md |
User-invocable slash command |
Project-level files load AFTER plugin-level files, so they can shadow or extend plugin behavior without modifying the plugin.
Anti-patterns
- Detecting on a single user message — that's reactive, not pattern-based; require 3+ occurrences for medium signals
- Inferring intent from one similar phrasing — if the user said "don't do X" once, it's a correction, not a rule candidate
- Proposing skill/rule/command names without reading project context — use Read on the project's
CLAUDE.md (root or .claude/CLAUDE.md) and recent files to ground the name
- Surfacing a proposal mid-flow when the user is in active execution — wait until a natural pause (between turns, not mid-tool-call)
- Re-proposing rejected ideas in the same session — respect the no
Tie-Ins
- Command:
/aura-frog:extend — only consumer; this skill never writes files itself
- Rule:
rules/workflow/extension-policy.md — formalizes detection thresholds + project-claude-only constraint
- Rule:
rules/core/no-assumption.md — confirmation requirement aligns with broader ask-when-uncertain principle
- Skill:
agent-detector — if extension would change agent routing, agent-detector's behavior should be referenced
1---2name: extension-detector3description: Detects when a new project-level skill / rule / command would reduce friction. Asks the user for confirmation before creating anything. NEVER writes plugin-level files — only `.claude/skills/`, `.claude/rules/`, `.claude/commands/` in the user's project.4---56> **AI-consumed reference.** Optimized for Claude to read during execution.7> Human-readable explanation: see [docs/architecture/HIERARCHICAL_PLANNING.md](../../../docs/architecture/HIERARCHICAL_PLANNING.md)8> or [docs/getting-started/](../../../docs/getting-started/) depending on topic.91011# Extension Detector1213**STATUS — v3.7.0-alpha.3.** Self-extending capability with hard gates against plugin pollution.1415## Core principle1617The Aura Frog plugin ships a fixed set of skills, rules, and commands. Project-specific patterns belong **in the project**, not in the plugin. This skill watches for the moment a user's project would benefit from its own extensions and proposes them — but **never creates them autonomously**.1819**Hard rule:** anything this skill creates lands in the user's project under `.claude/`, never in `aura-frog/`.2021## Detection signals (in order of strength)2223| Strength | Signal | Action |24|---|---|---|25| **Strong** | User explicitly says "we should have a skill/rule/command for X", "add a rule that…", "make this a skill" | Surface immediately |26| **Medium** | User repeats the same correction 3+ times across recent turns ("don't do X" / "always do Y") | Surface as candidate rule |27| **Medium** | Same multi-step procedure invoked manually 3+ times in this project | Surface as candidate skill |28| **Weak** | Project README/CONTRIBUTING references a workflow Aura Frog doesn't have a command for | Surface as candidate command |2930Weak signals require 2+ in combination before surfacing.3132## Confirmation protocol (mandatory)3334When a signal fires, the skill MUST:35361. **Pause and surface** — never write a file as a side effect of detection372. **Show a one-line proposal** — `Proposed: project skill "<name>" (.claude/skills/<name>/SKILL.md). Reason: <signal>. Create? (y/n)`383. **Wait for explicit yes** — `y`, `yes`, `confirm`, `go ahead`, `do it` count as yes; anything else (including silence, ambiguity, or "let me think") = no394. **On yes:** delegate to `/aura-frog:extend create <kind> <name>` — the command owns actual file authoring + audit405. **On no:** drop the proposal, do NOT re-surface within the same turn, but track for re-detection if the signal repeats4142## What this skill does NOT do4344- Does NOT write any file directly (delegates to `/aura-frog:extend`)45- Does NOT write to `aura-frog/skills/`, `aura-frog/rules/`, `aura-frog/commands/` — plugin pollution is forbidden46- Does NOT auto-create even on strong signals (human-in-the-loop is the whole point)47- Does NOT detect patterns across projects (project-isolated; signals only count within the current project)48- Does NOT lower its detection threshold based on past confirmations (each proposal is independent)4950## Detection budget5152To prevent fatigue, max **1 proposal per turn**, max **3 proposals per session**. After session cap, defer further proposals to `/aura-frog:extend list` (user-initiated review).5354## What gets created (kinds)5556| Kind | Path | Purpose |57|---|---|---|58| skill | `.claude/skills/<name>/SKILL.md` | AI-discoverable knowledge for repeated procedures |59| rule | `.claude/rules/<tier>/<name>.md` | Always-loaded or per-agent guardrail |60| command | `.claude/commands/<name>.md` | User-invocable slash command |6162Project-level files load AFTER plugin-level files, so they can shadow or extend plugin behavior without modifying the plugin.6364## Anti-patterns6566- **Detecting on a single user message** — that's reactive, not pattern-based; require 3+ occurrences for medium signals67- **Inferring intent from one similar phrasing** — if the user said "don't do X" once, it's a correction, not a rule candidate68- **Proposing skill/rule/command names without reading project context** — use Read on the project's `CLAUDE.md` (root or `.claude/CLAUDE.md`) and recent files to ground the name69- **Surfacing a proposal mid-flow when the user is in active execution** — wait until a natural pause (between turns, not mid-tool-call)70- **Re-proposing rejected ideas in the same session** — respect the no7172## Tie-Ins7374- **Command:** `/aura-frog:extend` — only consumer; this skill never writes files itself75- **Rule:** `rules/workflow/extension-policy.md` — formalizes detection thresholds + project-claude-only constraint76- **Rule:** `rules/core/no-assumption.md` — confirmation requirement aligns with broader ask-when-uncertain principle77- **Skill:** `agent-detector` — if extension would change agent routing, agent-detector's behavior should be referenced