@iiiokojiadbi/shift

The agent decides by itself when to shift: it keeps a work board, writes a letter to itself, and continues from where it stopped.

Packages

Package details

extension

Install @iiiokojiadbi/shift from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@iiiokojiadbi/shift
Package
@iiiokojiadbi/shift
Version
0.41.1
Published
Nov 23, 2026
Downloads
3,544/mo · 1,072/wk
Author
iiiokojiadbi
License
MIT
Types
extension
Size
318.9 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

Shift for pi and opencode

Shift lets a coding agent continue long work across context resets. The agent maintains a shared board, writes itself a letter and starts a fresh stretch with the current project records. By default it also receives nine earlier descriptions and can open retained shifts by ID.

Install

For pi:

pi install npm:@iiiokojiadbi/shift

For opencode:

opencode plugin add @iiiokojiadbi/shift

Keep optional dependencies enabled so npm can install the platform build of Shift. Open a session in a project and give the agent work. Use /shift to ask it to shift now, /unshift to pick up a saved shift in a new session, or /shift-tasks to find the optional task command.

Project files

Shift creates commented settings in .shift/settings.toml and keeps current Markdown records and recent shifts in .shift/history.db by default. Project docs stay in their own files and appear by topic in the documentation map. For an older project, ask the agent to read shift_guide(section="migration"). Records and upgrade guide

The optional Beads tracker stores tasks separately in .shift/beads/. After preparing it with /shift-tasks, run ./.shift/bin/shift-task prime from the project root, or ./.shift/bin/shift-task.exe prime on Windows. It shows Shift's task conventions and the full bundled Beads workflow.

Project documentation · Changelog