agents
An installable toolkit for Pi, Codex, and Claude Code. It ships Skillbox bundles, Pi extensions and themes, and a hooks-only harness plugin.
What is included
| Path | Consumer feature |
|---|
pi/extensions/ | Pi tools, messaging, prompt, CLI, and UI extensions |
pi/themes/ | Rose Pine themes for Pi |
skillbox/ | Repository-local skill bundles, including user-invoked workflow commands |
plugins/harness/ | Claude Code and Codex dialogue-capture hooks and Claude window-title hooks |
.pi/ | Project-local configuration used only while developing this repository |
Install the Pi package
Use Pi 1.5.0 or newer, matching the SDK version used for development and testing.
From a local checkout:
bun install
pi install /absolute/path/to/agents
Or install from GitHub:
pi install git:github.com/codethread/agents
Pi reads the package resources declared in package.json#pi, including the source bundles under skillbox/. Do not also install those same bundles into a Pi workspace unless you disable the package's skills there to avoid duplicate discovery.
The package includes:
- a package-owned, tool-aware system prompt with global/project
agent.njk rules;
- project structure and dialogue-capture context;
- built-in tool replacements;
- explicitly authorized self-termination, with graceful Pi shutdown and optional Rex tab cleanup;
- prompt history, status, and other optional UI extensions;
- provider and project-rule helpers;
- session-only MCP servers from JSON or files with
--mcp-config <json|file>.
Rosé Pine themes
The package includes the custom Dawn and Moon palettes. Use Pi's native automatic
selection by setting this in ~/.pi/agent/settings.json or .pi/settings.json:
{
"theme": "rose-pine-dawn/rose-pine-moon"
}
The light theme comes first. Pi switches palettes when the terminal reports an
appearance change; the shared color-theme sentinel is no longer used. This
checkout selects the pair in its project settings, without changing global settings.
Install project skills with Skillbox
Run from a consuming project:
bunx @codethread/[email protected] add skillbox codethread/agents agents \
--bundle dev --bundle coding --bundle discussion --bundle projects --bundle writing --bundle harness
For an unpublished local checkout, use its repository root instead:
bunx @codethread/[email protected] add skillbox /absolute/path/to/agents agents \
--bundle dev --bundle coding --bundle discussion --bundle projects --bundle writing --bundle harness
| Bundle | Contents |
|---|
dev | TypeScript |
coding | Git workflows, robustness, worktree cleanup, and code cleanup |
discussion | Design vocabulary, domain modeling, plan interviews, and rich responses |
writing | Agent-context audits, agent-facing CLI design, Mermaid, and agent instruction authoring |
harness | Browser automation, session introspection, benchmarks, and tmux workflows |
projects | GitHub project guidance and repository documentation conventions |
The discussion bundle imports design and interview guidance from mattpocock/skills; writing imports agent instruction authoring from the same source. Skillbox records exact upstream revisions in this repository's lockfile.
The destination id agents combines the selected upstream bundles and is added to the consuming project's install list. Skillbox copies skills and their supporting files into .agents/skills/ and links .claude/skills to it. Commit skillbox/config.json and skillbox/lock.json in the consuming project; restore with bunx @codethread/[email protected] sync. Git sources remain pinned until an explicit reviewed update. It rejects existing unmanaged skill directories rather than overwriting them. Keep source changes in this repository's bundles, not in generated client copies.