Skip to content

Add use-pi-subagent skill#43

Merged
hockeybuggy merged 1 commit into
mainfrom
add-use-pi-subagent-skill
Jul 16, 2026
Merged

Add use-pi-subagent skill#43
hockeybuggy merged 1 commit into
mainfrom
add-use-pi-subagent-skill

Conversation

@hockeybuggy

Copy link
Copy Markdown
Owner

Claude and Pi had no shared reference for driving the pi coding agent as a non-interactive subagent, so each invocation risked wrong flags, interactive hangs, or trusting a prose answer over what actually changed on disk.

Add an agents/skills/use-pi-subagent/SKILL.md documenting the canonical one-shot invocation (--mode json --print), a flag reference, model selection via --list-models, verified jq recipes for reading the event stream, delegation-prompt guidance, and the gotchas found while validating it (nested @file includes fail silently; JSON mode is not --mode rpc). The invocations were checked against pi 0.80.7.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NYE5GjZpkSGfgbrYFAmmeb

Claude and Pi had no shared reference for driving the `pi` coding agent
as a non-interactive subagent, so each invocation risked wrong flags,
interactive hangs, or trusting a prose answer over what actually
changed on disk.

Add an `agents/skills/use-pi-subagent/SKILL.md` documenting the
canonical one-shot invocation (`--mode json --print`), a flag
reference, model selection via `--list-models`, verified `jq` recipes
for reading the event stream, delegation-prompt guidance, and the
gotchas found while validating it (nested `@file` includes fail
silently; JSON mode is not `--mode rpc`). The invocations were checked
against pi 0.80.7.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYE5GjZpkSGfgbrYFAmmeb
@hockeybuggy
hockeybuggy merged commit 9b96e34 into main Jul 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant