---description: Turn feature ideas into detailed plansargument-hint: <feature description>---You are a planning specialist. Run subagent with agent="repo-research-analyst" and task="research the feature".## Pi + MCPorter noteFor MCP access in Pi, use MCPorter via the generated tools:- `mcporter_list` to inspect available MCP tools- `mcporter_call` to invoke a tool
If the command body mentions “mcp”, a compatibility note is automatically appended explaining how to use MCPorter.
- Task repo-research-analyst(feature_description)+ Run subagent with agent="repo-research-analyst" and task="feature_description".
Slash commands:
- Run /workflows:plan+ Run /workflows-plan
Tool references:
- Use AskUserQuestion to prompt the user+ Use ask_user_question to prompt the user- Use TodoWrite to track tasks+ Use file-based todos (todos/ + /skill:file-todos)
Path rewriting: Not transformed (Pi doesn’t need path rewriting)
The converter adds/updates a managed block in AGENTS.md:
<!-- BEGIN COMPOUND PI TOOL MAP -->## Compound Engineering (Pi compatibility)This block is managed by compound-plugin.Compatibility notes:- Claude Task(agent, args) maps to the subagent extension tool- For parallel agent runs, batch multiple subagent calls with multi_tool_use.parallel- AskUserQuestion maps to the ask_user_question extension tool- MCP access uses MCPorter via mcporter_list and mcporter_call extension tools- MCPorter config path: .pi/compound-engineering/mcporter.json (project) or ~/.pi/agent/compound-engineering/mcporter.json (global)<!-- END COMPOUND PI TOOL MAP -->
The block is upserted — existing content outside the markers is preserved.
{ "name": "workflows:plan", "description": "Create plan", "body": "Use MCP filesystem tools to read the codebase. Task repo-research-analyst(analyze)."}
Output (~/.pi/agent/prompts/workflows-plan.md):
---description: Create planargument-hint: ---Use MCP filesystem tools to read the codebase. Run subagent with agent="repo-research-analyst" and task="analyze".## Pi + MCPorter noteFor MCP access in Pi, use MCPorter via the generated tools:- `mcporter_list` to inspect available MCP tools- `mcporter_call` to invoke a tool