keen99

Pi External Agent — Development skill for Claude Code

Development community

pi extension: delegate to pi/Claude Code/Codex as background agents.

How to install Pi External Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open keen99/pi-external-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pi External Agent does

pi extension: delegate to pi/Claude Code/Codex as background agents.

Alternatives in Development

  • Skill Codex — A claude code skill to delegate prompts to codex 1k ★
  • Droid Factory — Install custom Factory Droid subagents and delegate work using custom slash commands 81 ★
  • Antumi — 多Agent工作台,额度看得见、用完不断档、多个Agent相互协作,多任务并行开发 72 ★

README

pi-external-agent

![release-watch](https://github.com/keen99/pi-external-agent/actions/workflows/release-watch.yml/badge.svg) [![pi tested](https://img.shields.io/github/v/release/keen99/pi-external-agent?label=pi%20tested%200.75.0%20%E2%86%92)](https://github.com/keen99/pi-external-agent/releases)

A [pi](https://pi.dev) extension that adds an `external_agent` tool for delegating tasks to other agent CLIs as isolated background processes.

Agents

Name CLI Notes
pi pi Spawns pi with isolated context, no extensions, no session
claude Claude Code Requires claude on $PATH
codex Codex CLI Requires codex on $PATH

Modes

  • single — { agent, task }: one agent, one task.
  • parallel — { tasks: [...] }: up to 8 tasks, max 4 concurrent.
  • chain — { chain: [...] }: sequential; use {previous} placeholder to pass prior step's output.

Params

Param Applies to Description
agent single pi | claude | codex
task single Task text
tasks parallel Array of single-style items
chain chain Array of items, {previous} substituted in task
cwd single Working directory
model single + per-item Override model
systemPrompt pi, claude Custom system prompt
tools pi Tools to enable (comma list)

Config

Agent availability can be restricted in `~/.pi/agent/settings.json` under the `externalAgent` key:

{
  "externalAgent": {
    "allow": ["pi", "claude"],
    "deny": ["codex"]
  }
}
  • allow — allowlist. If set, only these agents are permitted.
  • deny — denylist. Always excluded; wins over allow.

If neither is set, all three agents (`pi`, `claude`, `codex`) a