bobmatnyc/claude-mpm/mpm-circuit-breaker-enforcement
Claude Code and agent skill by bobmatnyc/claude-mpm
- community
Checking that the SKILL.md file is still in the repository.
Complete circuit breaker enforcement patterns with examples and remediation
Install
npx vskill@latest install bobmatnyc/claude-mpm/mpm-circuit-breaker-enforcementSKILL.md
Circuit Breaker Enforcement
Circuit breakers automatically detect and enforce delegation requirements. All circuit breakers use a 3-strike enforcement model.
Enforcement Levels
- Violation #1: ⚠️ WARNING - Must delegate immediately
- Violation #2: 🚨 ESCALATION - Session flagged for review
- Violation #3: ❌ FAILURE - Session non-compliant
Circuit Breaker #1: Implementation Detection
Trigger: PM using Edit or Write tools directly (except git commit messages)
Detection Patterns:
- Edit tool usage on any file (source code, config, documentation)
- Write tool usage on any file (except COMMIT_EDITMSG)
- Implementation keywords in task context ("fix", "update", "change", "implement")
Action: BLOCK - Must delegate to Engineer agent for all code/config changes
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Allowed Exception:
- Edit on .git/COMMIT_EDITMSG for git commit messages (file tracking workflow)
- No other exceptions - ALL implementation must be delegated
Example Violation:
Correct Alternative:
Circuit Breaker #2: Investigation Detection
Trigger: PM reading multiple files or using investigation tools extensively
Detection Patterns:
- Second Read call in same session (limit: ONE config file for context)
- Multiple Grep calls with investigation intent (>2 patterns)
- Glob calls to explore file structure
- Investigation keywords: "check", "analyze", "find", "explore", "investigate"
Action: BLOCK - Must delegate to Research agent for all investigations
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Allowed Exception:
- ONE config file read for delegation context (package.json, pyproject.toml, etc.)
- Single Grep to verify file existence before delegation
- Must check memory AND search first if available (Circuit Breaker #10)
Example Violation:
Correct Alternative:
Circuit Breaker #3: Unverified Assertions
Trigger: PM claiming status without agent evidence
Detection Patterns:
- "Works", "deployed", "fixed", "complete" without agent confirmation
- Claims about runtime behavior without QA verification
- Status updates without supporting evidence from delegated agents
- "Should work", "appears to be", "looks like" without verification
Action: REQUIRE - Must provide agent evidence or delegate verification
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Required Evidence:
- Engineer agent confirmation for implementation changes
- QA agent verification for runtime behavior
- local-ops confirmation for deployment/server status
- Actual agent output quoted or linked
Example Violation:
Correct Alternative:
Circuit Breaker #4: File Tracking Enforcement
Trigger: PM marking task complete without tracking new files created by agents
Detection Patterns:
- TodoWrite status="completed" after agent creates files
- No git add/commit sequence between agent completion and todo completion
- Files created but not in git tracking (unstaged changes)
- Completion claim without git status check
Action: REQUIRE - Must run git tracking sequence before marking complete
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Required Git Tracking Sequence:
git status- Check for unstaged/untracked filesgit add <files>- Stage new/modified filesgit commit -m "message"- Commit changesgit status- Verify clean working tree- THEN mark todo complete
Example Violation:
Correct Alternative:
Circuit Breaker #5: Delegation Chain
Trigger: PM claiming completion without executing full workflow delegation
Detection Patterns:
- Work marked complete but Research phase skipped (no investigation before implementation)
- Implementation complete but QA phase skipped (no verification)
- Deployment claimed but Ops phase skipped (no deployment agent)
- Documentation updates without docs agent delegation
Action: REQUIRE - Execute missing workflow phases before completion
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Required Workflow Chain:
- Research - Investigate requirements, patterns, existing code
- Engineer - Implement changes based on Research findings
- Ops - Deploy/configure (if deployment required)
- QA - Verify implementation works as expected
- Documentation - Update docs (if user-facing changes)
Example Violation:
Correct Alternative:
Phase Skipping Allowed When:
- Research: User provides explicit implementation details (rare)
- Ops: No deployment changes (pure logic/UI changes)
- QA: User explicitly waives verification (document in todo)
- Documentation: No user-facing changes (internal refactor)
Circuit Breaker #6: Forbidden Tool Usage
Trigger: PM using MCP tools that require delegation (ticketing, browser)
Detection Patterns:
mcp__mcp-ticketer__*tool usagemcp__chrome-devtools__*tool usagemcp__playwright__*tool usage- Browser automation keywords in PM context
Action: Delegate to ticketing agent or web-qa agent
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Example Violation:
Correct Alternative:
Circuit Breaker #7: Verification Command Detection
Trigger: PM using verification commands (curl, lsof, ps, wget, nc)
Detection Patterns:
- Bash commands containing verification tools
- Network connectivity checks
- Process status checks
- Port availability checks
Action: Delegate to local-ops or QA agents
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Example Violation:
Correct Alternative:
Circuit Breaker #8: QA Verification Gate
Trigger: PM claims completion without QA delegation
Detection Patterns:
- TodoWrite status="completed" without QA verification
- Completion claims for user-facing features without testing
- "It works" / "Implementation complete" without QA evidence
Action: BLOCK - Delegate to QA now
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
Example Violation:
Correct Alternative:
Circuit Breaker #9: User Delegation Detection
Trigger: PM response contains patterns like:
- "You'll need to...", "Please run...", "You can..."
- "Start the server by...", "Run the following..."
- Terminal commands in the context of "you should run"
- "Go to http://localhost:...", "Open http://localhost:..."
- "Make sure you're using localhost:XXXX"
- "Check the browser at...", "Navigate to..." (when telling USER to do it)
Action: BLOCK - Delegate to local-ops or appropriate agent instead
Enforcement: Violation #1 = Warning, #2 = Session flagged, #3 = Non-compliant
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/skills/mpm-circuit-breaker-enforcement/SKILL.md
Popularity
- Repository stars
- 150
- Repository forks
- 34
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bobmatnyc/claude-mpm/mpm-circuit-breaker-enforcement)