Claude Code hook

Hatch3r

Open-source CLI + editor plugin (Claude Code, Cursor, GitHub Copilot): one command installs 29 agents, 53 skills, 67 rules, 30 commands, 7 hooks & MCP integrations into any repo. Audited each release across 24 governance domains.

26 stars 7 forksHooks Plugin marketplace Source

Install

Add the plugin marketplace
/plugin marketplace add hatch3r/hatch3r

Run inside Claude Code, then /plugin to pick what to install from it.

Install
npx hatch3r init --default  # recommended: zero-prompt setup with the standard profile

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/hatch3r/hatch3r.git

From the README

hatch3r

Crack the egg. Hatch better agents.

hatch3r is an open-source CLI and editor plugin (Claude Code + Cursor) that installs a tool-agnostic agentic coding setup into any repository. Audited each release across 24 governance domains and generated for 3 platform adapters (Claude Code, Cursor, GitHub Copilot). One command gives you the full set of agents, skills, rules, commands, hooks, and MCP integrations -- optimized for your coding tool of choice (live counts in governance/inventory.json ). Selective init installs only what you need based on your project type and team size.
v1.9.0 scope cut: As of 1.9.0 hatch3r supports only Claude Code, Cursor, and GitHub Copilot. Twelve adapters were removed in a hard cut; canonical content is now read from the bundled npm package (no .agents/ materialization in user repos), and the manifest moved to .hatch3r/hatch.json. See CHANGELOG.md for the full breaking-change list and migration notes.

Quick Start

Requires Node.js 22.13+.

--default generates a working standard-profile setup with no questions — the fastest path to a configured repo. The interactive init detects your repo, infers your project context (greenfield/brownfield, solo/team), then walks platform → repo identity → content profile (minimal/standard/full/custom) → tools → CLI-tools picker, and generates everything. MCP is not prompted — opt in with --mcp or npx hatch3r mcp setup later. The platform (GitHub, Azure DevOps, or GitLab) is auto-detected from your git remote either way. Run into issues? See Troubleshooting.

Migrating from Cursor, Copilot, Windsurf, legacy .cursorrules, or a root AGENTS.md? Carry your existing rules across with npx hatch3r init --import  (--import auto imports every format in one pass) — they land under .hatch3r/overrides/rules/ (.md…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
TypeScript
License
MIT
Last updated
25 September 2026
Topics
agenticagentsaiclaudeclaude-codeclicoding-assistantcopilotcursordeveloper-toolsframeworkmcp

FAQ

What is Hatch3r?

Open-source CLI + editor plugin (Claude Code, Cursor, GitHub Copilot): one command installs 29 agents, 53 skills, 67 rules, 30 commands, 7 hooks & MCP integrations into any repo. Audited each release across 24 governance domains. It is a hook for Claude Code, from hatch3r/hatch3r on GitHub.

How do I install Hatch3r?

Run npx hatch3r init --default # recommended: zero-prompt setup with the standard profile, then follow the setup in the README.

Is Hatch3r popular?

hatch3r/hatch3r has 26 GitHub stars and 7 forks. It was last updated on 25 September 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.