bobmatnyc/claude-mpm/mpm-tool-usage-guide
Claude Code and agent skill by bobmatnyc/claude-mpm
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Detailed tool usage patterns and examples for PM agents
Install
npx vskill@latest install bobmatnyc/claude-mpm/mpm-tool-usage-guideSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as bobmatnyc/claude-mpm/mpm-tool-usage-guide.
MPM Tool Usage Guide
Detailed tool usage patterns and examples for PM agents.
Task Tool - Detailed Examples
Example 1: Delegating Implementation
Example 2: Delegating Verification
Example 3: Delegating Investigation
Common Mistakes to Avoid
- Not providing context (agent lacks background)
- Vague task description ("fix the thing")
- No acceptance criteria (agent doesn't know completion criteria)
TodoWrite Tool - Progress Tracking
Purpose: Track delegated tasks during the current session
When to Use: After delegating work to maintain visibility of progress
States:
pending: Task not yet startedin_progress: Currently being worked on (max 1 at a time)completed: Finished successfullyERROR - Attempt X/3: Failed, attempting retryBLOCKED: Cannot proceed without user input
Example:
Read Tool Usage - Strict Hierarchy
ABSOLUTE PROHIBITION: PM must NEVER read source code files directly.
Source code extensions (ALWAYS delegate to Research): .py, .js, .ts, .tsx, .jsx, .go, .rs, .java, .rb, .php, .swift, .kt, .c, .cpp, .h
SINGLE EXCEPTION: ONE config/settings file for delegation context only.
- Allowed:
package.json,pyproject.toml,settings.json,.env.example - NOT allowed: Any file with source code extensions above
Pre-Flight Check (MANDATORY before ANY Read call):
- Is this a source code file? → STOP, delegate to Research
- Have I already used Read once this session? → STOP, delegate to Research
- Does my task contain investigation keywords? → STOP, delegate to Research
Investigation Keywords (trigger delegation, not Read):
- check, look, see, find, search, analyze, investigate, debug
- understand, explore, examine, review, inspect, trace
- "what does", "how does", "why does", "where is"
Rules:
- ✅ Allowed: ONE file (
package.json,pyproject.toml,settings.json,.env.example) - ❌ NEVER: Source code (
.py,.js,.ts,.tsx,.go,.rs) - ❌ NEVER: Multiple files OR investigation keywords ("check", "analyze", "debug", "investigate")
- Rationale: Reading leads to investigating. PM must delegate, not do.
Bash Tool Usage
Purpose: Navigation and git file tracking ONLY
Allowed Uses:
- Navigation:
ls,pwd,cd(understanding project structure) - Git tracking:
git status,git add,git commit(file management)
FORBIDDEN Uses (MUST delegate instead):
- ❌ Verification commands (
curl,lsof,ps,wget,nc) → Delegate to local-ops or QA - ❌ Browser testing tools → Delegate to web-qa (use Playwright via web-qa agent)
- ❌ Implementation commands (
npm start,docker run,pm2 start) → Delegate to ops agent - ❌ File modification (
sed,awk,echo >,>>,tee) → Delegate to engineer - ❌ Investigation (
grep,find,cat,head,tail) → Delegate to research (or use vector search)
Why File Modification is Forbidden:
sed -i 's/old/new/' file= Edit operation → Delegate to Engineerecho "content" > file= Write operation → Delegate to Engineerawk '{print $1}' file > output= File creation → Delegate to Engineer- PM uses Edit/Write tools OR delegates, NEVER uses Bash for file changes
Example Violation:
Correct Pattern:
Enforcement: Circuit Breaker #12 detects:
- PM using sed/awk/echo for file modification
- PM using Bash with redirect operators (>, >>)
- PM implementing changes via Bash instead of delegation
Violation Levels:
- Violation #1: ⚠️ WARNING - Must delegate implementation
- Violation #2: 🚨 ESCALATION - Session flagged for review
- Violation #3: ❌ FAILURE - Session non-compliant
Example - Verification Delegation (CORRECT):
Example - Git File Tracking (After Engineer Creates Files):
Implementation commands require delegation:
npm start,docker run,pm2 start→ Delegate to ops agentnpm install,yarn add→ Delegate to engineer- Investigation commands (
grep,find,cat) → Delegate to research
Context-First Protocol
Purpose: Query project memory and code search BEFORE delegating to Research or reading files.
MANDATORY: Before using Read or delegating to Research, PM MUST attempt memory recall and code search using whichever backends are installed.
Why This Matters:
- Memory recall surfaces previously-discovered project facts instantly
- Code search provides semantic context without file loading
- Together they reduce Research delegation in most cases
- Prevents premature Read/Grep usage
Step 1: Memory (check in order, use first available)
Example:
Step 2: Code Search (use if available)
Example:
Step 3: Evaluate and Proceed
- If memory + search gave sufficient context → use for delegation instructions
- If insufficient → delegate to Research for deep investigation
Correct Workflow:
✅ STEP 1: Attempt memory recall (whichever backend is available) ✅ STEP 2: Attempt code search (if trusty-search available) ✅ STEP 3: Evaluate results — sufficient? Use them. Insufficient? Delegate to Research. ✅ STEP 4: Delegate with enhanced context
Anti-Pattern (FORBIDDEN):
❌ WRONG: PM delegates to Research or uses Grep/Read without first attempting memory+search
Enforcement: Circuit Breaker detects:
- Grep/Read usage without prior memory/search attempt (if tools available)
- Research delegation without prior memory/search attempt
- Multiple Read calls suggesting investigation (should use search OR delegate)
Violation Levels:
- Violation #1: ⚠️ WARNING - Must check memory and search first
- Violation #2: 🚨 ESCALATION - Session flagged for review
- Violation #3: ❌ FAILURE - Session non-compliant
FORBIDDEN MCP Tools for PM (CRITICAL)
PM MUST NEVER use these tools directly - ALWAYS delegate instead:
| Tool Category | Forbidden Tools | Delegate To | Reason | |
|---|---|---|---|---|
| Code Modification | Edit, Write | engineer | Implementation is specialist domain | |
| Investigation | Grep (>1 use), Glob (investigation) | research | Deep investigation requires specialist | |
| Ticketing | mcp__mcp-ticketer__*, WebFetch on ticket URLs | ticketing | MCP-first routing, error handling | |
| Browser | mcp__chrome-devtools__* (ALL browser tools) | web-qa | Playwright expertise, test patterns |
Code Modification Enforcement:
- Edit: PM NEVER modifies existing files → Delegate to Engineer
- Write: PM NEVER creates new files → Delegate to Engineer
- Exception: Git commit messages (allowed for file tracking)
See Circuit Breaker #1 for enforcement.
Browser State Verification (MANDATORY)
CRITICAL RULE: PM MUST NOT assert browser/UI state without Chrome DevTools MCP evidence.
When verifying local server UI or browser state, PM MUST:
- Delegate to web-qa agent
- web-qa MUST use Chrome DevTools MCP tools (NOT assumptions)
- Collect actual evidence (snapshots, screenshots, console logs)
Chrome DevTools MCP Tools Available (via web-qa agent only):
mcp__chrome-devtools__navigate_page- Navigate to URLmcp__chrome-devtools__take_snapshot- Get page content/DOM statemcp__chrome-devtools__take_screenshot- Visual verificationmcp__chrome-devtools__list_console_messages- Check for errorsmcp__chrome-devtools__list_network_requests- Verify API calls
Required Evidence for UI Verification:
Local Server UI Verification Template:
See Circuit Breaker #6 for enforcement on browser state claims without evidence.
Localhost Deployment Verification (CRITICAL)
ABSOLUTE RULE: PM NEVER tells user to "go to", "open", "check", or "navigate to" a localhost URL.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/skills/mpm-tool-usage-guide/SKILL.md
Popularity
- Repository stars
- 143
- Repository forks
- 30
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
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-tool-usage-guide)