Agent readiness evaluation, a global behavioral/tooling ruleset, and stage-specific coding methodology skills (planning, implementation, review, commit, pull requests) with ast-grep structural search. On Claude Code it adds bundled language servers (Python, Markdown, Bash, JS/TS, HTML/CSS, Rust), Ruff and rumdl auto-format hooks, and MCP servers (chrome-devtools, notion).
Evaluate a repository's readiness for autonomous AI agent development, based on Factory AI's agent readiness framework adapted to modern tooling standards. Produces a scored report across 9 pillars with a phased enhancement plan.
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.
Write commit messages and structure commits — imperative first line, when to add a body, issue references, and grouping so no file spans two commits. Use when creating a git commit after review has cleared, when asked to draft, propose, or preview a commit message or a commit grouping for approval, or when asked how to split/group changes.
Write and complete code changes against an approved plan — paradigm choice (functional vs. imperative), over-engineering/YAGNI discipline, declarative vs. procedural structure, idiomatic constructs, and comment/naming verbosity. Use while writing or modifying code, choosing between design approaches, deciding whether an abstraction is justified, or closing out a task (types, tests, docs).
Produce an implementation plan before non-trivial code changes — scope, key design decisions, open ambiguities, and which decisions need developer approval vs. which are autonomous. Use before starting any non-trivial implementation, when a request could alter a public contract, persisted schema, or externally observable behavior, or when a task needs to be framed as a verifiable, test-first goal.
Modifies files
Hook triggers on file write and edit operations
External network access
Connects to servers outside your machine
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude Code plugin that packages agent readiness evaluation, a global behavioral/tooling ruleset, and stage-specific coding methodology skills (planning, implementation, review, commit, pull requests) into a single global package. It also wires up language servers, Ruff and rumdl auto-format hooks, and MCP servers (chrome-devtools, notion).
The CLI tools and language servers below are prerequisites — install them
first, then install the harness itself (Installation). The
detailed inventory of what the plugin contains is in
What's Included and the docs/ reference.
Installation is left to the developer's own environment and package manager;
docs/cli-tools.md has concrete install commands.
| Tool | Purpose | Install |
|---|---|---|
| ast-grep | Structural code search via AST — precise matches, less context bloat | Installation guide |
| RTK | Terminal output compression (60-90% fewer tokens) | Repository |
| gh | GitHub integration and ADRs | Installation guide |
| mergiraf | Syntax-aware git merge driver — auto-resolves AST-equivalent conflicts | Installation guide |
| uv | Run/manage Python3 (scripts/sync.py, the Ruff hook, any Python) | Installation guide |
The plugin declares its language servers internally (in .lsp.json); the
binaries — for Python, Markdown, Bash, TypeScript/JS, HTML/CSS, and Rust — are
a prerequisite you install before the Claude setup. See
docs/lsp.md for the per-language binaries, their install
commands, and how to add a server, and docs/hooks.md for why
Python formatting runs through a Ruff hook rather than a second LSP.
Install rtk once per client, globally, so its command-intercept hook is
active — the hook routes supported commands through rtk automatically, with
no per-command discipline needed:
# Claude Code (default agent)
rtk init -g
Check rtk config afterward to confirm the hook is installed (it warns
No hook installed otherwise). Later, rtk session shows adoption per session
and rtk discover lists specific commands still bypassing it.
Configure git to favor linear history and enable mergiraf as a syntax-aware merge driver, so conflicts that are only formatting differences (AST-equivalent) resolve automatically instead of landing on the agent:
git config --global pull.rebase true
git config --global merge.ff only
git config --global merge.conflictStyle diff3
git config --global merge.mergiraf.name mergiraf
git config --global merge.mergiraf.driver 'mergiraf merge --git %O %A %B -s %S -x %X -y %Y -p %P -l %L'
Apply mergiraf to all files globally by adding this line to git's global
attributes file (~/.config/git/attributes, git's default — no extra config
needed):
* merge=mergiraf
uv run scripts/sync.py
Copies rules/agent-harness.md into ~/.claude/rules/ (a global rule loaded at
session start; your own ~/.claude/CLAUDE.md is left untouched unless it is a
legacy copy of this ruleset, which is removed) and installs the
plugin (skills, the bundled language servers, the Ruff/rumdl hooks, the
chrome-devtools MCP dependency, the bundled notion MCP server, and the
attribution settings.json). Re-run
after every update to this repo, then restart Claude Code to apply.
A single consolidated rules/agent-harness.md holds the behavior that applies
regardless of which skill is active — guard duty and scope control,
documentation currency, conversational register, CLI tooling preferences, and
the rules for when each workflow skill is invoked. Detailed, stage-specific
procedures live in the skills instead.
Origins are not tracked per rule — they are noted here as inspiration instead:
npx claudepluginhub cosmoscalibur/agent-harness --plugin agent-harnessConsult multiple AI coding agents (Gemini, OpenAI, Grok, Perplexity, plus codex, antigravity, and grok CLIs when installed) to get diverse perspectives on coding problems
Harness-native ECC operator layer - 67 agents, 278 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Matt Pocock's agent skills for real engineering — grilling, spec/ticket flows, TDD, code review, domain modelling and more. Plug-and-play, not vibe coding.