Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By robfoldv0.1.0MITIn 2 marketplaces
Tsukkomi detector for AI coding agents. Combines a semantic catalog with private runtime signals and returns the agent to the current Mission.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Your AI agent needs a tsukkomi.
Scope Harisen sits inside an AI coding agent and interrupts when a small Mission expands into unrelated refactors, abstractions, tools, subagents, research, or over-verification — with a sharp paper-fan joke, hard evidence, and a clear verdict.
Agent: “While I am here, I will refactor the related modules and build a reusable framework—”
🪭 Scope Harisen: “Why are you renovating the whole building! Where is that in the Acceptance Criteria?”
Reason: outside the current Scope and not required for Production Verify
Verdict: defer → return to the current Mission
한국어 · MIT License · v0.1.0
Ponytail asks “How can this be simpler?” Scope Harisen asks one step earlier: “Why are we doing this now?” The pattern catalog is the detector; the Mission ladder filters false positives; the harisen interrupts the loop.
| Family | Patterns |
|---|---|
| Scope expansion | Scope Monster · Refactor Hitchhiker · Cleanup Cascade · Feature Smuggling |
| Solution inflation | Abstraction Fever · Framework First · Future-Proofing Fantasy · Dependency Shopping |
| Investigation drift | Rabbit Hole · Archaeology Expedition · Source Safari · Context Avalanche |
| Meta-work | Tool Swamp · Plan-for-the-Plan · Documentation Theater · Workflow Cathedral |
| Coordination expansion | Agent Fan-out · Delegation Ping-Pong · Consensus Swamp · Orchestration Tax |
| Decision friction | Option Explosion · Clarification Carousel · Permission Pinball · Owner-Override Laundering |
| Verification distortion | Verification Vortex · Benchmark Theater · Read-back Ritual · Green-Test Mirage |
| Completion distortion | Completion Avoidance · Last-Mile Aversion · Local-is-Production · Premature Victory Lap |
Five guard patterns prevent false positives: Acceptance-Criterion Blocker, Production-Verify Requirement, Real P0/P1, Explicit Owner Promotion, and Safety Gate.
Each pattern has observable signals, its seductive rationale, legitimate exceptions, a default verdict, recovery action, and fan cue in the full pattern catalog.
Scope Harisen now has two detection layers:
| Runtime candidate | Strong signal |
|---|---|
| Rabbit Hole | 6 consecutive reads without a write or decision |
| Read-back Ritual | The same target is read 3 times |
| Agent Fan-out | A third agent call occurs before an integrating write |
| Permission Pinball | The same approval question is asked twice |
| Verification Vortex | 4 verification runs occur without a change |
| Local-is-Production | A production claim has only local-test evidence and lacks deploy/live read-back |
| Premature Victory Lap | Completion is claimed before requested PR/CI/deploy/read-back evidence exists |
A runtime candidate is not a verdict. It is injected back into the agent, which must apply the Decision ladder and guard patterns. Signal hooks never deny a tool call. In full and ultra, a completion-evidence mismatch can delay Stop once; the second Stop fails open to prevent a loop. lite remains advisory.
The local JSONL ledger stores only event kinds, booleans, counts, pattern names, and SHA-256 target hashes. It does not store a raw prompt, raw command, tool response, secret, or file path. Files use owner-only POSIX permissions where supported, are capped at 256 KB per session, removed on normal session end, and pruned after seven days if abandoned. The detector uses no model call, API key, database, or dependency.
Heuristics are intentionally narrow. They can miss semantic drift, and tool activity outside the host's hook surface is invisible. That is why the 32-pattern skill remains the judge and the seven runtime rules remain candidates.
| Mode | Behavior |
|---|---|
| lite | Names the drift and a safer alternative; continues unless dangerous |
| full (default) | Stops the detour, defers/discards it, resumes the Mission |
| ultra | Allows only actions required for Acceptance Criteria or Production Verify |
| off | Deactivated |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub robfold/scope-harisen --plugin scope-harisenPlugins from other owners that cover similar ground