
Harness
- Updated August 3, 2026
- codethread/agents
harness is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.
Key points
- harness
- AI & Agent Building
- AI-coding skill
Harness by the numbers
- Data as of Aug 4, 2026 (Skillselion catalog sync)
/plugin marketplace add codethread/agents/plugin install harness@agentsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | August 3, 2026 |
|---|---|
| Repository | codethread/agents ↗ |
What it does
Helps with ai & agent building tasks.
README.md
agents
Pi-specific agent tooling extracted from my dotfiles repo. Still need to port more of the old claude stuff.
Contents
pi/extensions/— package-shipped Pi extensions grouped intotools/,ui/,messaging/,cli/, andsystem-prompt/.pi/extensions/— project-local Pi extensions for this repository onlypi/agents/— bundled subagents used by thesubagentextensionplugins/— reusable prompt/skill plugins grouped by domain (devflow/,writing/,coding/,harness/)pi/themes/— Pi themes
Note on Cache Invalidation: Changing prompt-layer context mid-session, or changing the model/provider, can drop provider prompt-cache reuse. Treat dynamic context injection as a cost/latency tradeoff; keep injected context bounded and stable when possible.
Install as a Pi package
From a local checkout:
pi install /absolute/path/to/agents
From git later:
pi install git:github.com/<you>/agents
Pi loads the package's extensions from pi/extensions/, plugin prompts and skills from plugins/*/, themes from pi/themes/, through package.json#pi. It also auto-loads this checkout's project-local extensions from .pi/extensions/ when Pi runs inside this repository.
The bundled agents are discovered by the subagent extension from pi/agents/, so they travel with the package too. Project-specific agents still load from the nearest .pi/agents/ directory when you run Pi inside another repo, and you can inject extra shared roots with repeatable --agents-dir <root> flags.
This package ships a system-prompt extension that:
- replaces Pi's generated system prompt with a package-owned structure
- renders tool metadata tool-by-tool, including subagent inventory under the
subagenttool - injects global/project
agent.njkrules
It also ships:
- a
project-structuremessaging extension that sends a bounded project tree as model-visible custom message context - a
prompt-historyUI extension that recalls previously submitted prompts by canonical repo root or globally across git-backed sessions, whileUpstays on Pi's built-in editor history
This repository additionally keeps a project-local .pi/extensions/pi-internals/ tool that agents can call on demand to print Pi runtime/source/settings/enabled-extension paths. It is intentionally local to this checkout rather than shipped as part of the package.
See pi/extensions/system-prompt/README.md for prompt-layer extension details and .pi/extensions/pi-internals/README.md for project-local Pi internals discovery.
Bundled agents
pi/agents/scout.md— fast codebase recon and architecture mappingpi/agents/fixer.md— validation repair and scoped mechanical completion agentpi/agents/hack.md— shell-first investigation and automation agentpi/agents/review.md— faster/cheaper single-agent code review for spot checkspi/agents/nerd.md— web research specialist with Context7 MCP docs accesspi/agents/jira-mcp.md— Jira specialist wired to Atlassian MCP throughmcpServersfrontmatterpi/agents/deep-review/— multi-role review for a full feature, PR, or session workload; pass commits/diff, PRD/spec/task files, relevant paths, intent, risks, validation results, and any upfront exploration notes so each reviewer starts with shared hot contextpi/agents/council/— multi-role ideation panel for non-trivial decisions where the main agent wants another opinion before reporting back; includes skeptic, evidence scout, simplifier, and scope guard; pass proposed direction, intended outcome, problem, tradeoff/decision, relevant files/specs/code paths, constraints, risks, rejected options, and desired help
Included plugins
plugins/devflow/— RFC/spec/reviewable-plan/disposable-task skills plus AFK workflow prompts, HITL, shrug, and grill-me promptsplugins/writing/— skill authoring and Mermaid writing skillsplugins/coding/— git, robustness, writing-tests skills plus coding promptsplugins/harness/— harness/session affordances such as Pi and Claude Code session introspection and rich responses
Development
The Vitest suite includes both unit/snapshot tests and Pi runtime integration tests backed by @gaodes/pi-test-harness.
pnpm install
pnpm format
pnpm lint
pnpm typecheck
pnpm check
Running pi from this repo works for local testing because .pi/settings.json points Pi at the package root.