@howaboua/pi-auto-trees
A Pi package that adds /marker and /end commands for incremental long-running coding sessions.
Package details
Install @howaboua/pi-auto-trees from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@howaboua/pi-auto-trees- Package
@howaboua/pi-auto-trees- Version
0.1.0- Published
- Apr 23, 2026
- Downloads
- 82/mo · 82/wk
- Author
- howaboua
- License
- MIT
- Types
- extension
- Size
- 10.9 KB
- Dependencies
- 0 dependencies · 1 peer
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
@howaboua/pi-auto-trees
@howaboua/pi-auto-trees is a small Pi package for long-running coding sessions.
It helps you keep one session going without dragging all the implementation noise forward forever.
What it does
/marker
Marks the current point in the conversation as your checkpoint.
This is useful after repo familiarization, exploration, planning, or any other point you want to return to later.
/end
Summarizes the work done since the last /marker, jumps back to that checkpoint, and carries the result forward as a compact branch summary.
The marker is then advanced to the new summarized point, so you can keep working in increments.
Why this is useful
A common Pi workflow looks like this:
- Explore a repo
- Make a plan
- Mark that point with
/marker - Implement a feature, fix bugs, open a PR, iterate
- Run
/end
After /end, you keep the useful context:
- repo understanding
- planning context
- accepted outcome of the work
And you drop the noisy context:
- dead ends
- temporary debugging
- incidental churn
So the session stays usable for much longer.
/end modes
/end
Uses the extension's default summary behavior, tuned for completed work increments.
/end full
Uses Pi's normal branch-summary prompt.
/end <custom prompt>
Adds your own focus instructions for the summary.
Examples:
/end focus on API changes and migration notes/end focus on reviewer feedback and follow-up risks
Install from npm
Install it as a Pi package:
pi install npm:@howaboua/pi-auto-trees
Or try it for one session without adding it to your settings:
pi -e npm:@howaboua/pi-auto-trees
Then use /marker and /end inside Pi.
Local development
Add the extension path to your Pi settings or launch Pi with it directly:
pi --extension ./index.ts
Validate the package before publishing:
npm install
npm run typecheck
npm run pack:dry-run
Publish as a public scoped npm package:
npm publish --access public
publishConfig.access is already set to public, so plain npm publish also publishes with public access when your npm account can publish under the @howaboua scope.
Result
You get an incremental workflow inside a single Pi session:
- mark a stable point
- do a chunk of work
- roll it back into durable context
- continue from there