Skip to content

Cygnusfear/pi-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

125 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦚 pi-stuff / werner

Extensions, prompts, and themes for pi β€” a coding agent TUI.

Screenshot 2026-02-13 at 06 45 40

πŸ’… Install

Install pi.

Then install this:

pi install https://github.com/cygnusfear/pi-stuff

Workflow relies heavily on the use of tk as the main driver of inter-agent communication, coordination, task management, and archiving. Oracle & Delphi skills use teams, which in turns relies on tk for coordination.

πŸ‡ Skills

All works independently of agent-skills but is synergistic. Skills can be installed with this command from within pi:

/skills:install

Updates with pi update.

πŸ’†β€β™‚οΈ Wat

Core kit

Workflow relies heavily on the use of tk as the main driver of inter-agent communication, coordination, task management, and archiving. Oracle & Delphi skills use teams, which in turns relies on tk for coordination.

Extension What it does
teams Spawn parallel worker agents with git worktree isolation, using tk for coordination
todos-tk.ts Ticket management via tk β€” create, list, comment, complete

Tools

Extension What it does
skills.ts /skills:install, /skills:update, /skills:list, /skills:remove commands
file-tools.ts rg, fd, and Glob tools with working directory support
background-bash.ts Extends bash with background jobs and exposes bash_bg_* management tools
hashline-tools.ts Line-anchored file editing β€” stable hashes prevent stale edits
core-read-ui.ts Enhanced read tool with image support and truncation
webfetch.ts Fetch URLs as text, markdown, or HTML
auto-continue.ts Auto-continue when the agent hits output limits
git-safety.ts Guard against destructive git operations
worktree-summaries.ts Summarize work done in git worktrees
default-prompt.ts Auto-loads prompts/default.md as extra system prompt every turn

UI

Extension What it does
powerline-footer/ Powerline-style status bar β€” model, tokens, cost, git, context usage
context.ts Context window viewer β€” token breakdown, session stats, AGENTS.md sizes
notify.ts Desktop notifications on task completion
defaults/ Theme selector, system prompt viewer, project init wizard, session naming

Prompts

  • prompts/default.md β€” Extra system prompt, always injected via default-prompt.ts
  • prompts/codex.md β€” General-purpose system prompt template (invoke with /codex)

Themes

  • themes/lipgloss.json β€” Custom color theme

Provenance & Credits

Standing on the shoulders of giants β€” and occasionally raiding their repos.

Core

Project What we owe them
badlogic/pi-mono Pi itself β€” the coding agent TUI framework everything here extends
wedow/ticket (tk) Ticket system that drives our entire workflow: task management, inter-agent coordination, archiving

Hashline editing β€” can1357/oh-my-pi

Can BΓΆlΓΌk invented hashline editing. Every line is tagged with a short content hash (11:a3|function hello() {), and edits reference anchors instead of reproducing content. If the file changed since last read, hashes mismatch and the edit is safely rejected.

His benchmark across 16 models showed hashline matches or beats str_replace and apply_patch for nearly every model β€” Grok Code Fast went from 6.7% β†’ 68.3% just by changing the edit format. Our hashline-tools.ts is directly from his implementation.

Thomas Mustier built the first Pi extension bringing Claude Code–style agent teams to Pi β€” shared task lists, auto-claim, file-based IPC, and worktree isolation. Our teams/ extension takes the same core idea but pivots all coordination through tk tickets instead of file-per-task state.

Can BΓΆlΓΌk built @oh-my-pi/subagents β€” a task delegation system with specialized agents (task, planner, explore, reviewer, browser) and structured output. Nico Bailon built pi-subagents β€” async subagent delegation with chains, parallel execution, and session sharing. Both informed our teams design, which reimplements these concepts around tk tickets and git worktree isolation.

UI & extensions

Project What we took
anomalyco/opencode The apply_patch diff format (originally from OpenAI Codex), agent markdown patterns, and general TUI coding agent design
charmbracelet/lipgloss Theme system and color palette
nicobailon/pi-powerline-footer Powerline status bar β€” vendored and extended
romkatv/powerlevel10k Powerline design language and Nerd Font auto-detection
@aliou/pi-defaults Settings system, UI utilities, theme selector, project init wizard

License

MIT

About

🦚 agent cli stuff based on pi-mono

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published