Sue · projects

WezTerm, Herdr, and Pi

WezTerm is the outer terminal. It owns the window, fonts, and colors, and passes keyboard and graphics capabilities through to the programs inside.

Herdr runs inside WezTerm and provides workspaces, tabs, and panes, along with a view of agent status. After the window is closed or the client detaches, the processes keep running and can be reattached later.

Pi runs in a pane to read files, edit code, and run commands. Plugins and skills add capabilities such as web access and interface polish. The Pi setup on this machine mainly follows Kun Chen’s dotfiles and Kun’s Pi Agent Config.

Daily workflow

Open WezTerm, start Herdr inside it, then run Pi in a pane. Detach when stepping away; the processes stay in the Herdr session. On the same machine, open WezTerm again and reattach to that session to pick up where you left off.

Herdr keeps different tasks in separate workspaces, tabs, and panes, and shows in the sidebar whether Pi is working, waiting, or idle. Pi does the coding and command work, and reaches for the plugins and skills below when it needs the web or a particular workflow.

Pi plugins

These are the plugins in use with Pi on this machine. They add capabilities or adjust how the session feels.

PluginWhat it does
pi-web-accessSearch the web, fetch page content, clone GitHub repositories, extract PDFs, and understand video
codex-fast-modeSwitch Codex into a faster, more concise mode
CalmChanges only how the conversation is presented, so thinking blocks and tool output are quieter, without changing what actually runs
terminal-status-titleShows in the terminal title whether Pi is working, then a completion mark when it finishes
herdr-agent-stateProvided by Herdr; reports whether Pi is working, waiting, or idle to the Herdr sidebar

Calm and terminal-status-title come from Kun Chen’s config mentioned above. herdr-agent-state is installed and managed by Herdr.

Pi skills

These are the skills Pi uses on this machine for particular workflows. Skills from the same source are grouped, and each one links to its repository.

Interface and design

SkillWhat it does
impeccableDesign, revise, review, and polish interfaces: websites, dashboards, product UI, and iOS or Android screens
frontend-designGive a new or revised interface a deliberate visual direction, instead of a generic default look

Reading

SkillWhat it does
weread-skillsWeChat Reading: search books, browse the shelf, export highlights, reading stats, reviews, and recommendations

Finding skills

SkillWhat it does
find-skillsSearch for and install new Agent Skills

Engineering and writing workflows

This set comes from mattpocock/skills. It covers the day-to-day engineering path from questions and specs through implementation and review, plus some writing and teaching skills.

SkillWhat it does
ask-mattSuggest which skill or flow fits the current situation
setup-matt-pocock-skillsSet up the tracker and doc layout this engineering skill set expects
to-specTurn the current discussion into a spec
to-ticketsBreak a plan or spec into actionable tickets
to-questionnaireTurn a discussion into a questionnaire
implementImplement from a spec or tickets
implement-specImplement a whole spec on one integration branch
tddTest-first work
diagnosing-bugsDiagnose hard-to-reproduce bugs or performance regressions
code-reviewReview changes against repo standards and the original spec
codebase-designDesign modules and system structure
improve-codebase-architectureFind and pursue opportunities to deepen the architecture
domain-modelingWork through the domain model and its terminology
researchResearch from primary sources and write it into the repo
prototypeUse a throwaway prototype to answer a design question
prWrite a pull request description
retroLook back on a session and improve the agent’s working environment
triageTriage issues and move them through their states
wayfinderBreak a large piece of work into a map of decisions that can be resolved one at a time
grillingStress-test a plan or design by asking follow-up questions
grill-meRun a grilling pass on the current proposal
grill-with-docsGrill the work while updating the project’s domain docs
handoffHand the current conversation to the next agent
claude-handoffA handoff format aimed at Claude
loop-meKeep asking until the plan is clear enough
writing-beatsPlan the rhythm of a piece of writing
writing-fragmentsGather raw writing material
writing-shapeShape that material into a finished draft
writing-for-agentsWrite documents meant for an agent to read and follow
teachExplain a concept clearly
wizardGenerate an interactive wizard
wait-whatRephrase a point that was missed
setup-pre-commitSet up pre-commit for a repository
setup-ts-deep-modulesSet up a deep TypeScript module layout
migrate-to-shoehornMigrate tests to Shoehorn
git-guardrails-claude-codeAdd Git guardrails to a repository
scaffold-exercisesScaffold practice exercises

References