@a5c-ai/babysitter-pi

Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval — pi

Packages

Package details

extensionskill

Install @a5c-ai/babysitter-pi from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@a5c-ai/babysitter-pi
Package
@a5c-ai/babysitter-pi
Version
6.0.2
Published
Jul 1, 2026
Downloads
not available
Author
tmuskal
License
MIT
Types
extension, skill
Size
168.6 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "skills": [
    "./skills"
  ],
  "extensions": [
    "./extensions"
  ]
}

Security note

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

README

@a5c-ai/babysitter-pi

Babysitter package for the upstream pi coding agent.

This is a thin Pi package:

  • skills/ exposes Babysitter workflows through Pi's skill system
  • extensions/index.ts adds lightweight slash-command aliases that forward to those skills
  • the SDK remains responsible for orchestration, runs, tasks, and state

Installation

Install the Babysitter CLI once when using the SDK helper:

npm install -g @a5c-ai/babysitter

Recommended for automation:

# Global install
babysitter harness:install-plugin pi

# Workspace install
babysitter harness:install-plugin pi --workspace /path/to/repo

Native Pi package install:

pi install npm:@a5c-ai/babysitter-pi

Verify the package is available:

babysitter harness:discover --json

Project-local:

cd /path/to/repo
pi install -l npm:@a5c-ai/babysitter-pi

Published package installer:

npx --yes @a5c-ai/babysitter-pi install --global
npx --yes @a5c-ai/babysitter-pi install --workspace /path/to/repo

Removal:

pi remove npm:@a5c-ai/babysitter-pi

Using Babysitter

Start Pi, then use the thin Babysitter entrypoints exposed by the package:

  • /babysit or /babysitter
  • /call
  • /plan
  • /babysitter:resume
  • /doctor
  • /yolo

Each command forwards into Pi's native /skill:<name> flow. The orchestration contract lives in the skills; the extension only provides convenient aliases.

Commands And Skills

The package mirrors the canonical Babysitter command docs and exposes the core babysit skill plus command-backed skills such as call, doctor, plan, resume, and yolo.

The extension layer is intentionally thin. It only forwards slash commands to Pi's built-in /skill:<name> flow; it does not implement a custom loop driver, custom tools, or direct run mutation logic.

Plugin Layout

artifacts/generated-plugins/pi/
|-- package.json
|-- versions.json
|-- extensions/
|   `-- index.ts
|-- commands/
|-- skills/
|-- bin/
`-- scripts/

Marketplace And Distribution

Pi discovers this package through its native package installation flow. Publish new versions to npm under @a5c-ai/babysitter-pi, then users can install or upgrade through pi install npm:@a5c-ai/babysitter-pi.

Upgrade And Uninstall

Upgrade by reinstalling the package:

pi install npm:@a5c-ai/babysitter-pi

Remove it with:

pi remove npm:@a5c-ai/babysitter-pi

Troubleshooting

  • Verify the harness with babysitter harness:discover --json.
  • If pi is not available, check where pi on Windows or which pi on Unix.
  • If commands do not appear, restart Pi after installation so it reloads package metadata.
  • If the wrong SDK version is used, inspect versions.json inside the installed package root.
  • Regenerate mirrored commands and command-backed skills with npm run sync:commands.

Tests

cd artifacts/generated-plugins/pi
npm test

License

MIT