v0.1.0 · MIT License

Oh My
Harness Smart Defaults for Claude Code

A lightweight harness that adds safety guards, intelligent model routing, and multi-agent orchestration — all through native hooks. Zero config, instant boost.

$ claude plugin install oh-my-harness@oh-my-harness
Get Started Explore Features
8Hooks
7Skills
3Agents
13Features
Philosophy

Minimal guards.
Maximum customization.

OMH believes the best harness is one you barely notice. Warnings instead of walls, reminders instead of restrictions. Install once — it works everywhere.

How it works

The Hook Pipeline

OMH hooks into Claude Code's lifecycle at every stage.

1

Session Start

Auto-detects your project's language, test framework, and linter. Injects conventions as context.

[omh:convention-detect]
2

Prompt Analysis

Checks for ambiguity and multi-task requests. Asks clarifying questions or suggests plan mode.

[omh:ambiguity-guard] [omh:auto-plan]
3

Tool Execution

Warns before destructive commands. Routes subagents to the right model tier. Enforces commit conventions.

[omh:dangerous-guard] [omh:model-routing]
4

Task Complete

Verifies tests exist for changed code. Saves context snapshots before compaction.

[omh:test-enforcement]
Features

Everything OMH does for you

13 features that activate automatically. No manual intervention needed.

01

Safety Guards

Ambiguity detection, dangerous operation warnings, scope restrictions. Guide with warnings, never block.

Ambiguity Guard Dangerous Guard Scope Guard
02

Intelligent Model Routing

Automatically delegates tasks to the right model tier — Haiku for lookups, Sonnet for implementation, Opus for architecture.

harness:quick harness:standard harness:architect
03

Multi-Agent Orchestration

Spawn parallel Claude agents in tmux panes with git worktree isolation. Preview diffs, merge when ready.

/agent-spawn /agent-apply /agent-stop
04

Convention Auto-Detect

Scans your project at session start — detects language, test runner, linter, and formatter. Supports Node, Python, Go, Rust, Java, Kotlin.

SessionStart 6 Languages
05

Test Enforcement & Skill Scaffolding

Verifies tests exist after every code change. Auto-generates project-specific skills for code review, test writing, and linting.

Test Enforcement /init-project
Model Routing

3 Agent Tiers

Cost-efficient delegation. The right model for the right task.

Haiku Quick

File lookups, simple questions, code exploration, pattern searches.

"Find all TODO comments" "What's in this file?"
Sonnet Standard

Bug fixes, feature implementation, debugging, test writing.

"Fix this validation bug" "Write unit tests"
Opus Architect

System design, complex refactoring, security review, deep analysis.

"Design the auth system" "Security audit"
Status Line

Real-time HUD

OMH replaces Claude Code's default status line with a live dashboard.

[OMH] | 5h:14%(3h51m) | wk:7%(6d5h) | session:29m | ctx:39% | 🔧53 | agents:2 | opus-4-6
Rate limits Session Context Tools Agents Model

Get started in seconds

1

Install

claude plugin install oh-my-harness@oh-my-harness
2

Setup

/harness-setup
3

Build

Smart defaults activate automatically.