@oisin-ee/pi-prewalk-kit

pi-prewalk and pi-todo in one install: a frontier model plans, a cheaper model finishes.

Packages

Package details

extension

Install @oisin-ee/pi-prewalk-kit from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@oisin-ee/pi-prewalk-kit
Package
@oisin-ee/pi-prewalk-kit
Version
0.1.1
Published
Oct 16, 2026
Downloads
527/mo · 100/wk
Author
oisincoveney
License
MIT
Types
extension
Size
464.7 KB
Dependencies
2 dependencies · 0 peers
Pi manifest JSON
{
  "image": "https://raw.githubusercontent.com/oisin-ee/pi-prewalk/main/assets/prewalk.png",
  "extensions": [
    "./node_modules/@oisin-ee/pi-todo/src/index.ts",
    "./node_modules/@oisin-ee/pi-prewalk/src/index.ts"
  ]
}

Security note

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

README

@oisin-ee/pi-prewalk-kit

One install for pi that gives you both packages at matching versions:

  • @oisin-ee/pi-prewalk: a frontier model explores the code, writes a todo list, and makes the first edit. Then the session switches once to a cheaper model, which continues with the whole trajectory in context.
  • @oisin-ee/pi-todo: the todo tool that opens the prewalk gate.
pi install npm:@oisin-ee/pi-prewalk-kit

Then set the target model in <agent-dir>/prewalk.json (usually ~/.pi/agent/prewalk.json):

{
  "enabled": true,
  "target": { "model": "provider/cheaper-model", "thinking": "medium" }
}

Or arm one run from the command line:

pi --model provider/frontier-model --prewalk-into provider/cheaper-model

The kit bundles both packages in its tarball. Install either one by itself if you do not need the other. The pi-prewalk README documents the commands, the flags, the config, and Shepherdr subagents.