Devin Harness — AI skill for Claude Code
Operating system for agentic repos — full hook lifecycle (PreToolUse/PostToolUse/Stop guards), deterministic exec+file guards, action ledger, typed LLM review gates, agent dispatch contract, skills li.
How to install Devin Harness
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open signalgap9-del/devin-harness and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Devin Harness does
Operating system for agentic repos — full hook lifecycle (PreToolUse/PostToolUse/Stop guards), deterministic exec+file guards, action ledger, typed LLM review gates, agent dispatch contract, skills library, and a 30-doc pattern corpus. MIT.
Alternatives in AI
README
devin-harness
**The OSS harness for agentic repos** — deterministic pre-tool guards, lifecycle hooks, an append-only action ledger, typed diff-review gates, and a 30-doc production engineering corpus, distilled from operating multi-tenant SaaS and enterprise repositories with autonomous coding agents.
- Author: Yunseop Im (GitHub · LinkedIn)
- Deep-dive teardowns: Building an OS for autonomous coding agents · Production agent architecture, pass^k evals & failure modes
Architecture at a glance
SessionStart ──► session-start.mjs (dirty tree, stale locks, open obligations, incident index)
│
UserPromptSubmit ──► prompt-guard.mjs (detects external API/SDK claims → forces primary-source check)
│
PreToolUse (<50ms, deterministic, zero LLM calls)
├── agent-guard.mjs blocks force-push, standalone deploy, destructive SQL/rm before execution
└── file-guard.mjs blocks secret files (.env*), immutable migrations, runtime state edits
│
PostToolUse ──► agent-ledger.mjs (redacts secrets → appends structured trace to action-log.jsonl)
│
Stop ──► claim-guard.mjs (compares last file edit vs last test run → flags unverified "done" claims)
Related Skills
Agent Manual
The manual for AI coding agent hooks, configs, PreToolUse/PostToolUse, MCP, and skills - covering Claude Code,
Claude Session Hooks Template
Template for AI agents to create Claude Code session hook plugins - includes SessionStart, UserPromptSubmit, S
Goal Agent
Dispatch ONE of the DTD-declared agents on a task — agent name validated against the trust contract, model and
Evangeline Legal Agent
International legal counsel agent. Contract lifecycle management, compliance mapping, consumer protection, cop
Affe Agent
An Effect-native agent execution kernel: sessions, runs, turns, steering, follow-ups and typed lifecycle event
Token Ledger
Know what your AI coding agents actually cost. A tiny macOS menu bar app for Claude Code, Codex, Droid, Pi, De
Related Agents
Project Automation Auditor
Audits a project's automation and verification posture: test runner, formatter/linter PostToolUse hooks, PreTo
Agentic Identity Trust
Designs identity, authentication, and trust verification systems for autonomous AI agents operating in multi-a
Agentic Identity Trust Architect
Designs identity, authentication, and trust verification systems for autonomous AI agents operating in multi-a