kyu1204

Oh My Harness — AI skill for Claude Code

AI community

Tame your AI coding agents with natural language.

How to install Oh My Harness

This entry records only its repository, not the path inside it, so there is no exact command to give. Open kyu1204/oh-my-harness and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Oh My Harness does

Tame your AI coding agents with natural language. Generate enforced guardrails (CLAUDE.md, hooks, settings) from a single command.

Alternatives in AI

  • Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
  • Impeccable — The design language that makes your AI harness better at design 13.9k ★
  • Agenvoy — Self-hosted AI agent harness in a single Go binary — writes, sandbox-tests and repairs its own tools, and lets 474 ★

README

🐴 oh-my-harness

**Tame your AI coding agents with natural language.**

[![npm version](https://img.shields.io/npm/v/oh-my-harness.svg)](https://www.npmjs.com/package/oh-my-harness) [![npm downloads](https://img.shields.io/npm/dm/oh-my-harness.svg)](https://www.npmjs.com/package/oh-my-harness) [![CI](https://github.com/kyu1204/oh-my-harness/actions/workflows/ci.yml/badge.svg)](https://github.com/kyu1204/oh-my-harness/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/github/license/kyu1204/oh-my-harness.svg)](LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-5.7+-blue.svg)](https://www.typescriptlang.org/) [![Node.js](https://img.shields.io/badge/Node.js-20+-green.svg)](https://nodejs.org/)

Stop hand-writing CLAUDE.md files. Describe your project, get enforced guardrails.


😤 The Problem

Every AI code agent needs configuration files. Claude Code needs `CLAUDE.md` + hooks. Cursor needs `.cursorrules`. Codex needs `AGENTS.md`. You end up:

  • 📋 Copy-pasting config files between projects
  • 🔓 Forgetting to set up TDD enforcement hooks
  • 💥 Agents committing code without running tests
  • 🎲 Inconsistent behavior across projects

✨ The Solution

oh-my-harness init "React + FastAPI fullstack, TDD enforced, lint on save"

That's it. oh-my-harness generates **enforced guardrails** — not just instructions, but hooks that actually **block** bad behavior:

  • ❌ Commit without tests passing? Blocked.
  • ❌ Edit source without updating tests first? Blocked. (TDD Guard)
  • ❌ Write to node_modules/ or .next/? Blocked.
  • ❌ Run rm -rf /? Blocked.
  • ❌ Commit on a merged branch? Blocked.
  • ✅ Auto-lint on every file save? Done.
  • ✅ Auto-create PR after push? Done.
  • 📊 Track all hook events for analytics? Done.

🚀 Quick Start

# Zero-install: run directly with npx
npx oh-my-harness init "TypeScript Next.js frontend with Python FastAPI backend"

#