hatch

hatch is a skill for Claude Code from gtapps/claude-code-hermit. It costs 65 tokens per session (2,083 once invoked), scanned A, original, MIT.

A project setup tool that activates development safety rules for a coding-agent project. It adds instructions to CLAUDE.md and installs a Git push guard, a check that helps control pushes to remote repositories.

In plain words
What is it for?
Use it after setting up the core hermit to activate the development rules, install the strict push-guard profile, and configure companion plug-ins.
Why use it?
It gives the project shared safety guidance and protects Git pushes from being handled too casually. It also checks whether the core setup is already present.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the claude-code-dev-hermit plugin — 4 skills, 1 hook shipped together

Good fit Use it after setting up the core hermit to activate the development rules, install the strict push-guard profile, and configure companion plug-ins.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gtapps/claude-code-hermit/hatch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gtapps/claude-code-hermit --skill hatch
Clone the repo
git clone --depth 1 https://github.com/gtapps/claude-code-hermit

Made for: Claude Code.

Or install claude-code-dev-hermit, the plugin that ships this one along with the rest of its 4 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/hatch/github.svg)](https://agentmods.dev/skills/gtapps/claude-code-hermit/hatch)
Your own site
<a href="https://agentmods.dev/skills/gtapps/claude-code-hermit/hatch"><img src="https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/hatch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hatch

Your own site · 80×15
<a href="https://agentmods.dev/skills/gtapps/claude-code-hermit/hatch"><img src="https://agentmods.dev/badge/skills/gtapps/claude-code-hermit/hatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.02083
Opus 5.5 $0.00026 $0.00833
Sonnet 5.5 $0.00013 $0.00417
Haiku 4.5 $0.00006 $0.00208

Measured 2mo ago against content hash e98fc7f459ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hatch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/claude-code-dev-hermit/skills/hatch/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Activate Dev Hermit

Set up the language-agnostic safety layer for this project. Requires claude-code-hermit core to be initialized first.

Plan

1. Check prerequisites

Check if .claude-code-hermit/config.json exists in the current project.

  • Missing: print this block and stop:

    ## ▶ Next step — type this now
    
        /claude-code-hermit:hatch
    
    I can't run setup wizards for you (they're operator-run by design).
    After it finishes, come back and type `/claude-code-dev-hermit:hatch`.
    
  • Present: run .claude-code-hermit/bin/hermit-run domain-hatch preflight claude-code-dev-hermit and parse the JSON verdict. Branch on action:

    • upgrade-core-package / upgrade-core-applied → relay the remedy string verbatim to the operator and stop.
    • verify → this version (self_version) is already stamped; continue through the wizard, Step 3's block sync is the idempotency guard.
    • full → continue through the wizard.
    • ok: false → relay message and stop.

2. Detect protected-branch candidates and companions

  • Installed plugins: claude plugin list 2>/dev/null or read .claude/settings.json.
  • Base-branch detection: git branch -r --format='%(refname:short)' 2>/dev/null | sed 's|^origin/||'. Collect main, master, develop, development, dev, and trunk as suggested protected branches for Round 1.
  • Read OPERATOR.md if present and check for ## Development Conventions.

3. Update CLAUDE.md / CLAUDE.local.md dev block

Resolve target file: Step 1's preflight already returned target, target_file, target_default and needs_target_question.

If needs_target_question is true, ask with AskUserQuestion (header: "Visibility") — target_default at position 0 with (recommended) in the label: .local files (gitignored — operator-personal) / Committed files (shared with teammates). Then record the choice:

.claude-code-hermit/bin/hermit-run domain-hatch ensure-target claude-code-dev-hermit --target <choice>

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -159 lines scan B → A e98fc7f459ef
  2. 2mo ago Changed ebf6ba4a27f5
  3. 2mo ago Changed · +5 lines c603f09d13c9
  4. 3mo ago First seen · 311 lines · 65 tokens per session scan B fe1405b70d7c

Subscribe to this mod's changes

hatch is a skill published in the GitHub repository gtapps/claude-code-hermit (87 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 2,083 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hatch compared with skills from other repositories

hatch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hatchgtapps/claude-code-hermitSkill87yesterdayMITA65Claude Code
vigil-instrumenttonone-ai/tononeSkill842d agoMITA61Claude Code
pave-envtonone-ai/tononeSkill842d agoMITA57Claude Code
monday-planninggtapps/hermitdSkill87todayMITA18Claude Code
apex-skillifytonone-ai/tononeSkill842d agoMITA41Claude Code
generate-clipDojoCodingLabs/remotion-superpowersSkill1941mo agoMITA32Claude Code
design-system-referencewigtn/wigtn-pluginsSkill45yesterdayApache-2.0A43Claude Code