Agnostic AI
Your AI coding harness, ported to every client you use. Capture Claude Code (or Codex) rules, hooks, skills, subagents, commands and MCP servers once; apply them identically to…
Install: git clone https://github.com/ucsandman/Agnostic-AI
Works with Claude Code, Codex, Cursor, Gemini CLI · 22 GitHub stars
Install
git clone https://github.com/ucsandman/Agnostic-AIInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Agnostic AI
One harness. Every client. One repository.
Agnostic AI is the operating system for an AI coding harness: the guard hooks that block secrets and destructive commands, the working agreement (rules), the on-demand context modules, subagents, saved workflows, Mods (function-hook plugins), operator tools, scheduled jobs and the learning loop that turns incidents into rules. It is installed into the client you use (Claude Code) as links, and ported from there into every other client on the machine (Codex, Gemini CLI, Cursor and sixteen more) in each one's dialect. Your identity, private rules, memory and machine config stay in a small private overlay of your own.
It is not a starter kit designed in an afternoon. It grew rule by rule out of daily use, and most of it exists because something broke first: every guard has an incident behind it, every doc has a word ceiling, every check reports the count it processed, and a check that was never seen failing does not count as verified.
This repository is also published as ucsandman/claude-harness, the name it was first shared under. Both receive every push; they are the same commits.
Contents
- Install
- What is inside
- How it fits together
- Guards
- Rules and context modules
- Mods
- Subagents and workflows
- Tools
- Scheduled jobs and the learning loop
- Porting to twenty clients
- Health checks
- What is shared, what stays private
- Commands
- Documentation
- Repository layout
- Development
- Security
- Related
- License
Install
git clone https://github.com/ucsandman/Agnostic-AI.git && cd Agnostic-AI
npm run setup # wire the core guards, link the surfaces, assemble CLAUDE.md, port, doctor
Node 18+ and git, nothing else. setup compiles core/rules into
~/.claude/agnostic-rules.md, generates a CLAUDE.md that imports it, wires
the core guards into settings.json, links ~/.claude/{hooks,tools,mods,agents,workflows}
into this checkout (a real directory there is moved aside, never deleted),
ports the harness to every other installed client and runs the doctor
(CLAUDE_CONFIG_DIR moves the home). The three commands you keep using:
npm run sync # rules changed, or a link is missing: recompile, relink, reassemble CLAUDE.md
npm run port # push the harness to every other installed client
npm run doctor # drift, a second writer, a broken link, an old path, a private path in public code
To use it as a template: click Use this template, clone, npm run setup.
core/port.json chooses the source client, restricts targets, or excludes a
hook, skill or MCP server with a reason.
What is inside
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…
Production-grade engineering skills for AI coding agents.