Skip to content

a5c-ai/babysitter-pi

Repository files navigation

@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

Recommended:

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

Development helper:

npx @a5c-ai/babysitter-pi install
npx @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
  • /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

plugins/babysitter-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 plugins/babysitter-pi
npm test

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors