Pi Flow — Productivity skill for Claude Code
Use Claude Code, Codex, Pi as subagents or agent in complex workflow.
How to install Pi Flow
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kky42/pi-flow and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Flow does
Use Claude Code, Codex, Pi as subagents or agent in complex workflow.
Alternatives in Productivity
- Configure Claude HUD — FIRST: Use the Read tool to load ~/.claude/plugins/claude-hud/config.json if it exists 10.9k ★
- Agentacct — See what your coding agents did and what it cost 665 ★
- ComfyUI Skills OpenClaw — Agent-friendly ComfyUI workflow skills for OpenClaw, Hermes Agent, Codex, and Claude Code; complementary to Co 395 ★
README
pi-flow
**Give Pi a team.**
Orchestrate subagents and multi-step workflows across **Pi**, **Codex CLI**, and **Claude Code** without leaving your Pi session.
[](https://github.com/kky42/pi-flow/actions/workflows/ci.yml) [](./LICENSE)
One coordinator, focused subagents
Define subagents for **Pi**, **Codex CLI**, and **Claude Code**, then orchestrate them from one Pi session - a few parallel `run_agent` calls or a staged `run_workflow` with live progress.
| Primitive | Use it for |
|---|---|
run_agent |
One focused, resumable subagent or several independent subagents in parallel. |
run_workflow |
Parallel or staged subagents, branching, structured results, and saved orchestration. |
Try it
pi install npm:@kky42/pi-flow
Ask Pi naturally:
Use three subagents in parallel to review architecture, tests, and documentation, then synthesize their findings.
Use a workflow to classify each changed file by risk, run the matching review, and return structured results.
The active Tool row shows queued and running work. Pi receives the final Tool result after the direct subagent or outer workflow finishes.
Add simple subagents
Profiles live at `~/.pi/agent/subagents/.md`. The filename becomes the profile name. Codex and Claude profiles bypass their native permission prompts, so use them only in trusted repositories.
**Pi explorer**
---
description: Fast read-only repository explorer.
model: deepseek/deepseek-v4-flash
thinking: high
---
Map the repository and return the important paths.
Related Skills
Spectre
Spectre is a battle-tested 6 stage agentic engineering workflow for building complex, production-ready feature
Gaia Plan
Plan a complex feature using GAIA's task-orchestration pattern, structures the work into fresh-context subagen
Task Understanding
Task Understanding - Parsing Complex User Requests
Team Orchestrate
Orchestrate a complex multi-step task using Agent Teams for parallel phases
Subroutine
A self-hosted, agent-native task and decision tracker for people and coding agents working on complex projects
Call
Orchestrate a babysitter run. use this command to start babysitting a complex workflow.
Related Agents
Codex Deep Reasoner
CLI-backed read-only deep-reasoning worker — the codex variant of deep-reasoner. Use for root-cause analysis,
Report Maker
Use during a complex, multi-stage epic (the wizard flow) to CREATE and MAINTAIN a living status dashboard as a
Auto Task Decomposer
Auto-Task Decomposer for the team-agents workflow — the first agent in the Mandatory Development Flow responsi