Pi Harness2 — AI skill for Claude Code
In modern LLM coding agents, model weights are frozen.
How to install Pi Harness2
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open izhimu/pi-harness2 and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Harness2 does
In modern LLM coding agents, **model weights are frozen**. All adaptable intelligence, domain specialization, and operational reliability reside in the **Harness**: system prompts, guardrails, persistent memory, tool contracts, subagents, skills, deterministic scripts, and plugin middleware.
Alternatives in AI
- Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
- AI SDK Cpp — The AI Toolkit for Modern C++ 183 ★
- ClaudeCode Mastery Handbook — A complete, modern, developer-focused handbook for mastering Claude Code, Vibe Coding techniques, AI-powered w 87 ★
README
pi-harness2
[](LICENSE) [](https://github.com/earendil-works/pi) [](https://github.com/can1357/oh-my-pi) [](https://www.npmjs.com/package/@izhimu/pi-harness2) [](https://arxiv.org/abs/2610.14224)
Continuous self-improvement, recursive harness optimization, and reporting plugin for [pi](https://github.com/earendil-works/pi) and [oh-my-pi (omp)](https://github.com/can1357/oh-my-pi).
Based on Google's research: **[Harness²: Recursive Agent Harnessing for an Open World](https://arxiv.org/abs/2610.14224)**.
Why Harness²?
In modern LLM coding agents, **model weights are frozen**. All adaptable intelligence, domain specialization, and operational reliability reside in the **Harness**: system prompts, guardrails, persistent memory, tool contracts, subagents, skills, deterministic scripts, and plugin middleware.
When an agent encounters friction — such as tool execution retry loops, syntax mismatches, or context spills — traditional workflows require tedious manual prompting and rules editing.
**`pi-harness2` closes this loop autonomously**:
- Observes: Ingests real session logs directly from the host without duplicate disk overhead.
- Diagnoses: Performs answer-free contrastive failure analysis and grounds proposals in concrete error tokens.
- Optimizes: Synthesizes targeted adaptations across 8 harness components with strict anti-bloat safeguards and automatic skill trigger-line registration.
- Governs: Logs every change in an immutable ledger with atomic 1-click rollback.
Features
- 🔄 Dual-Host Isomorphic Support: Seamlessly detects and adapts to either `
Related Skills
AI Brief Skill
Tactical operational playbook for consuming and generating daily AI intelligence briefings, frontier lab radar
Web Skill Atlas
The open-source atlas of AI skills, agent workflows, coding prompts, and reusable instructions for building mo
Cleopatra Modern Life
Cleopatra's Modern Life: the full workflow for an AI 'ancient person, modern life' short — gags, Seedance prom
Moorai
On-device guardrails for AI coding agents. Hooks check prompts, file reads, shell commands, writes, web fetche
Sound Human
Free skill for Claude/ChatGPT: build AI chat agents (DM setters, sales and support bots) that sound human in a
Claude Marketing Skills
Custom marketing skills and strategic prompts for Claude AI - includes Strategic Marketing, Marketing Intellig
Related Agents
Harness AI Dev
AI engineer — LLM and agent features, prompts, model integration, tool definitions, retrieval, and the evals t
Agentic Workflow
Designs the AI agent workflows inside the product - whether a task needs an agent, one AI call or no AI at all
Agent Specialist
Design, build, and optimize AI agents with strong output contracts, guardrails, and behavioral consistency. Us