pi-shiftwork

Shiftwork for pi (pi.dev): /shift command over markdown tickets; ticket runner, skill tiers, model budgets and provider fallback are in development.

Packages

Package details

extensionskill

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

$ pi install npm:pi-shiftwork
Package
pi-shiftwork
Version
0.3.0
Published
Oct 5, 2026
Downloads
1,480/mo · 52/wk
Author
ivlad003_ac2
License
MIT
Types
extension, skill
Size
32.5 KB
Dependencies
2 dependencies · 1 peer
Pi manifest JSON
{
  "skills": [
    "./skills/shiftwork"
  ],
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-shiftwork

Shiftwork for the pi coding agent.

pi install npm:pi-shiftwork

It adds one command, /shift:

Command What it does
/shift Tickets from .scratch/<feature>/issues/*.md and the frontier of ready ones
/shift run [--feature <slug>] [--once] […] Starts the shiftwork runner detached; its output goes to logs/runner-<timestamp>.log. Remaining arguments are passed to shiftwork run
/shift stop Writes the STOP file: the runner finishes the current shift, releases its claim and exits

While a runner works, a widget above the editor shows the current ticket, shift, attempt, model and budget use, read from the runner state in .shiftwork/shiftwork-run.json. The widget follows a runner started elsewhere (another pi session, or a terminal) and reports the outcome when the run ends.

The runner is the shiftwork CLI, resolved from the shiftwork package next to this one, from ./node_modules/shiftwork, or from SHIFTWORK_BIN when set.

Interactive sessions use the same skill tiers as the runner: before_agent_start keeps only the current model's tier skill set, and follows /model. A model that is not in any tier keeps every skill and is told so once.

In development:

  • a virtual model with provider fallback

Status: early development.