hatch

hatch is a skill for Claude Code from gtapps/hermitd. It costs 47 tokens per session (1,586 once invoked), scanned A, original, MIT.

A project setup routine that activates development safety rules and a Git push guard. It requires the project's core Hermit setup first and can identify related plugins and protected branches.

In plain words
What is it for?
It helps initialize the development layer, update its settings, install the push guard, and offer companion plugins.
Why use it?
It standardizes the project's safety setup and helps reduce accidental pushes or inconsistent configuration across development work.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the hermitd-dev plugin — 4 skills, 1 hook shipped together

Good fit It helps initialize the development layer, update its settings, install the push guard, and offer companion plugins.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gtapps/hermitd/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/hermitd --skill hatch
Clone the repo
git clone --depth 1 https://github.com/gtapps/hermitd

Made for: Claude Code.

Or install hermitd-dev, 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/hermitd/hatch/github.svg)](https://agentmods.dev/skills/gtapps/hermitd/hatch)
Your own site
<a href="https://agentmods.dev/skills/gtapps/hermitd/hatch"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/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/hermitd/hatch"><img src="https://agentmods.dev/badge/skills/gtapps/hermitd/hatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,586 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.00047 $0.01586
Opus 5.5 $0.00019 $0.00634
Sonnet 5.5 $0.00009 $0.00317
Haiku 4.5 $0.00005 $0.00159

Measured 1mo ago against content hash de3e4a18acab, 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 1mo 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/hermitd-dev/skills/hatch/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 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 hermitd core to be initialized first.

Plan

1. Check prerequisites

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

  • Missing: print this block and stop:

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

    • bootstrap_core / upgrade_core_package / upgrade_core_applied → tell the operator to run the next_steps commands in order, then stop. An older core prints the dashed form of these with a remedy instead: relay remedy and stop.
    • verify → this version (self_version) is already stamped; continue; Keep-current options make re-runs idempotent.
    • full → continue through the wizard.
    • error, or any domain-hatch command in this skill that prints error → tell the operator in plain words what its token means, then stop.

2. Detect protected-branch candidates

  • 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.

3. Ask about remaining settings

Round 1: protected branches

Ask a single AskUserQuestion with header Protected for protected branches (comma-separated, glob patterns OK). Offer at most four options: Keep current (<value>) first and recommended when already configured, the detected candidates joined as one comma-separated option, main, master, and Other for a custom list. Substitute actual values for placeholders before asking.

Round 2: hook profile

git-push-guard defaults to strict. The wizard does not ask which profile to use; it installs strict and offers an opt-out.

Read the full file on GitHub · 131 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. 1mo ago Changed · -15 lines · -5 tokens per session de3e4a18acab
  2. 1mo ago Changed · -4 lines d588e366a5ec
  3. 1mo ago Changed · -26 lines · -11 tokens per session 4bbd42f5b11a
  4. 1mo ago Changed · +2 lines 118122845b76
  5. 1mo ago Changed · +17 lines d55bbc55a8e6
  6. 1mo ago First seen · 157 lines · 63 tokens per session scan A e21c6286d120

Subscribe to this mod's changes

hatch is a skill published in the GitHub repository gtapps/hermitd (87 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,586 once invoked, about $0.0002 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-10-02.

Related

hatch compared with skills from other repositories

hatch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hatchgtapps/hermitdSkill87todayMITA47Claude Code
releasegtapps/claude-code-hermitSkill87yesterdayMITA104Claude Code, Codex
pre-release-reviewgtapps/claude-code-hermitSkill87yesterdayMITA188Codex
commitgtapps/claude-code-hermitSkill87yesterdayMITA90Claude Code, Codex
fleet-releasegtapps/claude-code-hermitSkill87yesterdayMITA96Claude Code, Codex
atlas-changelogtonone-ai/tononeSkill842d agoMITA45Claude Code
pipeline-digestgtapps/claude-code-hermitSkill87yesterdayMITA99Claude Code, Codex