agentleFS
lhbsaalhbsaa/apex-unified/skills/pi-integration/SKILL.md

pi-integration

Skill0 starsChanged 4 months agoMITView on GitHub

Pi Coding Agent integration. Generate multi-agent team/chain configs and damage-control safety rules. Triggers on: pi, Pi agent, multi-agent, chain config, damage control.

The file

Files
SKILL.md

Pi Coding Agent Integration

Generate Pi Coding Agent configuration files from apex-unified's agent definitions and safety rules.

Commands

CommandDescription
apex pi setupGenerate all Pi config files
apex pi teamGenerate Pi agent-team config
apex pi chainGenerate Pi agent-chain config
apex pi damageGenerate Pi damage-control safety rules

Usage

# 1. Set Pi as the AI tool
apex config --set ai.cli=pi

# 2. Pipe phase prompts to Pi
apex plan execute | pi

# 3. Generate Pi multi-agent configs
apex pi setup

# 4. Run Pi with extensions
pi -e extensions/agent-team.ts

# 5. Or use chain pipeline
pi -e extensions/agent-chain.ts

Multi-Agent Patterns

Agent Team (dispatcher)

Pi dispatches work to specialist agents defined in teams.yaml.

Agent Chain (pipeline)

Each agent's output becomes the next agent's input via $INPUT.

Damage Control (safety)

Blocks dangerous commands, protects sensitive files, enforces read-only paths.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.