一键导入
pi
Route tasks to Pi for comparison testing. Toggle Pi mode or run specific commands through Pi.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Route tasks to Pi for comparison testing. Toggle Pi mode or run specific commands through Pi.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Extract and track commitments from meeting notes - who promised what to whom, with deadlines and status tracking.
View and manage Pi-built extensions synced to Amp. Shows available tools, commands, and sync status.
Review proposed actions surfaced by the B-1 Activation Engine. Gathers recent signals, extracts candidates, ranks them, drafts artifacts, and captures the user's response per offer. Standalone — does not modify /daily-plan.
Configure AI model options - budget cloud models (save 80%+) and offline mode (use Amp without internet)
Check your AI model configuration - see what's set up, current model, credits remaining
Add an MCP server using Amp-safe scope (user by default)
| name | pi |
| description | Route tasks to Pi for comparison testing. Toggle Pi mode or run specific commands through Pi. |
| beta_required | pi |
Run tasks through Pi (Mario Zechner's self-extending coding agent) to compare with Claude Code.
| Command | Effect |
|---|---|
/pi | Open Pi in a new terminal (no preset task) |
/pi on | Enable Pi mode - prefer Pi for building tasks |
/pi off | Disable Pi mode - back to Claude Code |
/pi /daily-plan | Run a specific skill through Pi with full context |
/pi "build me a tool that..." | Run a custom task through Pi |
When you run /pi <command>:
/), read its SKILL.mdThis ensures a fair comparison - Pi gets the same instructions Claude Code would get.
/pi (No Arguments)Open Pi in a new terminal window in the vault directory.
macOS (default):
osascript -e 'tell application "Terminal"
do script "cd \"'$VAULT_PATH'\" && pi"
activate
end tell'
If in tmux:
tmux split-window -h "cd \"$VAULT_PATH\" && pi"
Output to user:
✓ Pi opened in new Terminal window
You can now interact with Pi directly.
When done, Cmd+Tab back here.
/pi onEnable Pi mode for the session.
Steps:
System/user-profile.yamlpi_mode: true under a beta section:
beta:
pi_mode: true
✓ Pi mode enabled
Tasks will prefer Pi. To run something in Claude Code instead,
just say "use Claude Code for this" or run `/pi off`.
Behavior when Pi mode is on:
When the user asks to build something (e.g., "build me a tool that tracks relationships"):
/pi "build me a tool that tracks relationships"/pi offDisable Pi mode.
Steps:
System/user-profile.yamlpi_mode: false under beta section✓ Pi mode disabled
Back to Claude Code for all tasks.
/pi <skill> (e.g., /pi /daily-plan)Run an Amp skill through Pi with full context.
Steps:
Parse the skill name:
daily-plan from /daily-plan)/Locate skill file:
.claude/skills/<skill-name>/SKILL.md.claude/skills/<skill-name>-dave/SKILL.md (user variants)Read skill instructions:
Gather context:
VAULT_PATH: /path/to/vault
DATE: 2026-02-03
DAY: Monday
USER_NAME: [from user-profile.yaml]
PILLARS: [from pillars.yaml]
Build Pi prompt: Combine skill instructions + context into a single prompt:
# Task: [Skill Name]
You are helping a user with their personal knowledge system (Amp).
Execute the following skill instructions.
## Context
- **Vault Path:** [vault path from pwd or user-profile.yaml]
- **Date:** [current date]
- **User:** [from user-profile.yaml]
- **Pillars:** [list from pillars.yaml]
## Skill Instructions
[Full SKILL.md content here]
---
Execute this skill now. You have access to the vault at the path above.
Read files as needed to gather context.
Launch Pi with prompt:
Write prompt to a temp file, then launch Pi:
# Write prompt to temp file (handles special characters)
PROMPT_FILE=$(mktemp)
cat > "$PROMPT_FILE" << 'PROMPT_EOF'
[Full prompt content]
PROMPT_EOF
# Launch Pi in new Terminal
osascript -e 'tell application "Terminal"
do script "cd \"'$VAULT_PATH'\" && pi -p \"$(cat '$PROMPT_FILE')\" && rm '$PROMPT_FILE'"
activate
end tell'
Confirm to user:
✓ Pi launched with /daily-plan
Pi has received the full skill instructions and context.
A new Terminal window should now be active.
When done, compare the results:
- Pi's output: See Terminal window
- Claude Code: Run /daily-plan here
/pi "custom task" (Quoted String)Run a custom task (not a skill) through Pi.
Steps:
Extract the task description from quotes
Gather basic context (vault path, date, user)
Build prompt:
# Task
[User's task description]
## Context
- **Vault Path:** [vault path from pwd or user-profile.yaml]
- **Date:** [current date]
Execute this task. You have access to the vault.
Launch Pi with prompt (same as above)
If pi command not found:
❌ Pi is not installed
Install it with:
npm install -g @mariozechner/pi-coding-agent
Then try again.
If skill doesn't exist:
❌ Skill not found: /unknown-skill
Available skills:
/daily-plan, /daily-review, /week-plan, ...
Or run a custom task:
/pi "build me a tool that..."
If Pi beta not activated:
❌ Pi integration requires beta activation
Run: /beta-activate PILAUNCH2026
Detect the user's environment to choose the best terminal launch method:
# Check if in tmux
if [ -n "$TMUX" ]; then
# Use tmux split
tmux split-window -h "cd \"$VAULT_PATH\" && pi"
else
# Check OS
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS - use Terminal.app or iTerm2
if [ -d "/Applications/iTerm.app" ]; then
osascript -e 'tell application "iTerm"
create window with default profile
tell current session of current window
write text "cd \"'$VAULT_PATH'\" && pi"
end tell
end tell'
else
osascript -e 'tell application "Terminal"
do script "cd \"'$VAULT_PATH'\" && pi"
activate
end tell'
fi
else
# Linux - try common terminals
if command -v gnome-terminal &> /dev/null; then
gnome-terminal -- bash -c "cd \"$VAULT_PATH\" && pi; exec bash"
elif command -v xterm &> /dev/null; then
xterm -e "cd \"$VAULT_PATH\" && pi" &
else
echo "Please open a terminal and run: cd \"$VAULT_PATH\" && pi"
fi
fi
fi
After running a task through Pi:
Review Pi's output in the Terminal window
Run the same task in Claude Code (e.g., /daily-plan)
Compare:
Capture learnings (optional):
/pi capture
Logs the comparison to System/Pi_Comparisons/YYYY-MM-DD.md
.pi/)/pi-tools - View synced Pi extensions/beta-status - Check Pi beta activationSystem/Beta/pi/README.md - Pi setup documentation