pi-superpower-subagent-reporting

Pi completion hook and reporting skill for Superpowers subagents

Packages

Package details

extensionskill

Install pi-superpower-subagent-reporting from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-superpower-subagent-reporting
Package
pi-superpower-subagent-reporting
Version
0.1.0
Published
Sep 28, 2026
Downloads
178/mo · 178/wk
Author
rgesulgon
License
unknown
Types
extension, skill
Size
5.9 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions/*.ts"
  ],
  "skills": [
    "./skills"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-superpower-subagent-reporting

Pi package for reliable Superpowers subagent handoffs.

What it provides

  • A child-side Pi extension that detects PI_SUBAGENT_SESSION.
  • Captures the final assistant report on agent_end.
  • Writes the completion sidecar and shuts down the child on idle.
  • A Pi-specific reporting skill that tells subagents to return a concise handoff and use the runtime-supported termination mechanism.

The parent Pi session is left untouched.

Install

pi install npm:pi-superpower-subagent-reporting

Restart Pi after installation. To test the package without installing it permanently:

pi -e /path/to/pi-superpower-subagent-reporting

Completion format

The hook writes <PI_SUBAGENT_SESSION>.exit with a marker like:

{"type":"done","report":"Completed: ..."}

If no textual assistant report is available, it writes { "type": "done" }.