killeros
v2.0.16
Published
TUI, goals, and workflow automation for the Pi coding agent
Maintainers
Readme
KillerOS
A TypeScript extension for the Pi coding agent that replaces the stock TUI and adds long-running goals, reasoning controls, and workflow commands.
What you get
- A custom TUI: startup card with version, model, provider, working directory, and Git branch; a dark theme with coral accents; a multiline editor with slash-command completion; a footer that tracks model, context, and goal state.
/goal: set an objective and Pi keeps working toward it across turns, compaction, reloads, and branch navigation. Pause, resume, edit, or clear it anytime./init: generates a rootAGENTS.mdfrom repository evidence, preserving compatible existing rules./variants: pick a reasoning level supported by the active model./codex-fast: toggles thepriorityservice tier on Codex requests./handoff: starts a fresh linked session carrying visible continuation context.- Automatic context compaction when remaining tokens drop below 15% of the window (configurable).
- A
questiontool with single-select and multi-select modes. - Lifecycle hooks (
tool_call,tool_result,agent_settled) from.pi/killeros-hooks.json, plusAGENTS.local.mdloading for trusted projects. - Optional completion sounds for settled requests.
Requirements
- Node.js 22.19.0+
- Pi 0.84.2+
- An interactive TUI session for the custom header, editor, footer,
question, and/init
Install
pi install npm:killerosOr from GitHub:
pi install git:github.com/KyrosHendrix/pi-KillerOSPin a version with @v2.0.16, add -l to install only for the current project. Restart Pi after installing.
Commands
/init Generate root AGENTS.md from repository evidence
/goal Open goal status, or set an objective with /goal <objective>
/goal edit|pause|resume|clear
/variants Reasoning-level selector (/variants high sets directly)
/codex-fast Toggle Codex fast mode
/notification Configure the completion sound
/handoff [focus] Fresh session with continuation context
/clear New session after confirmation
/exit Quit Pi gracefullyBehavior by mode
| Mode | What works |
| --- | --- |
| TUI | Everything |
| RPC | Goals, proactive compaction; no TUI components, /goal edit, /init, sounds, title indicator |
| Print/JSON | No interactive questions, /goal, /init, or proactive compaction |
Configuration
The packaged killeros theme activates on TUI start. Compaction triggers by default at 15% tokens remaining, stored in global killeros.json:
{
"autoCompaction": {
"enabled": true,
"percentRemaining": 15
}
}Completion sounds are off by default; change with /notification in TUI mode. The tab-title indicator requires a Nerd Font.
Development
Strict TypeScript throughout. Tests run on Node's built-in test runner:
npm ci && npm run check && npm testReleases go through CI on main; do not push version tags manually.
Security
Pi extensions run with your user permissions. Review the source before installing globally. Hook commands run only for projects Pi marks as trusted; check .pi/killeros-hooks.json before enabling project trust.
License
MIT © 2026 KyrosHendrix
