pi-coding-specialist
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
03 SKILL.md 正文
PI-CODING-SPECIALIST SKILL
Name: pi-coding-specialist
Description: Orchestrate Pi Agent as coding specialist for complex tasks (>5 files)
Trigger: Coding tasks requiring multi-file changes, refactoring, or complex implementations
🎯 MISIÓN
Integrar Pi Agent como sub-agent preferido para tareas de coding complejas desde OpenClaw.
🔧 CONFIGURACIÓN
Model Routing Integration
{
"subagents": {
"enabled": true,
"coding_specialist": "pi",
"backend": "pi-subagents"
}
}
Trigger Conditions
Usar Pi cuando:
- ✅ Coding task >5 archivos
- ✅ Refactoring complejo
- ✅ Nueva feature multi-file
- ✅ Code review profundo
- ✅ Debugging sistémico
NO usar Pi cuando:
- ❌ One-liner fixes
- ❌ Simple file edits
- ❌ Lectura de código
🛠️ COMANDO DE SPAWN
# Spawn Pi como sub-agent
openclaw sessions spawn \
--name="pi-coding-task" \
--model="qwen3.5:397b-cloud" \
--workdir="/path/to/project" \
--prompt="Pi, implementa [task description]. Usa pi CLI para coding."
Pi CLI Direct Execution
# Install (si no existe)
npm install -g @mariozechner/pi-coding-agent
# Execute con PTY
bash pty:true workdir:/path/to/project command:"pi 'Task description'"
# Background mode para tareas largas
bash pty:true workdir:/path/to/project background:true command:"pi 'Complex implementation'"
📊 HANDOFF PATTERNS
C-Level → Pi Handoff
- Nexus/Forge detectan tarea compleja (>5 files)
- Spawn Pi sub-agent con contexto específico
- Monitor progreso via
process:log - Receive results push-based
- Integrate changes al proyecto principal
Example Workflow
# 1. Detectar necesidad
if files_changed > 5; then
# 2. Spawn Pi
bash pty:true workdir:$PROJECT background:true command:"pi '$TASK'"
# 3. Monitor
process action:log sessionId:$ID
# 4. Complete
# Pi auto-notifies on completion
fi
🔗 INTEGRATION POINTS
Con C-Levels
| Agent | Handoff Scenario |
|---|---|
| Nexus (CTO) | Architecture implementations |
| Forge (CDO) | Feature development |
| Spark (CAO) | Complex automations |
| Hybrid Architect | System integrations |
Con Model Routing
- Simple tasks: qwen3.5:9b (inline)
- Medium tasks: hermes3:8b (inline)
- Complex coding: Pi Agent (sub-agent)
- Complex strategy: qwen3.5:397b-cloud (inline)
📁 FILES
~/.openclaw/skills/pi-coding-specialist/SKILL.md(este archivo)~/.openclaw/agents/*/config.json(subagents.enabled: true)/opt/homebrew/bin/pi(Pi CLI binary)
✅ VERIFICATION
# Check Pi installed
which pi
# Test Pi execution
pi -p "Hello world"
# Verify subagent config
cat ~/.openclaw/agents/nexus/agent/config.json | grep -A3 subagents
Version: 1.0
Status: ACTIVE
Created: 2026-03-31
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.