← Catalog

pi-shiftwork

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

Package

Install

Install with PiG

pig install npm:pi-shiftwork

Install with Pi

pi install npm:pi-shiftwork
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills/shiftwork"
  ],
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

pi-shiftwork

Shiftwork for the pi coding agent.

pi install npm:pi-shiftwork

It adds one command, /shift:

CommandWhat it does
/shiftTickets 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 stopWrites 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.