hatch

hatch is a skill for Claude Code from gtapps/hermitd. It costs 63 tokens per session (2,203 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: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,203 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.00063 $0.02203
Opus 5.5 $0.00025 $0.00881
Sonnet 5.5 $0.00013 $0.00441
Haiku 4.5 $0.00006 $0.00220

Measured 3d ago against content hash d55bbc55a8e6, 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 3d 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 · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 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:

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

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

Write the block.

.hermit/bin/hermitd-run domain-hatch sync-block hermitd-dev

Read the full file on GitHub · 174 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. 3d ago Changed · +17 lines d55bbc55a8e6
  2. 11d 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 (79 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 2,203 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-10-02.

Related

Other skills, from other repositories

release

Bump a plugin's version, write a detailed changelog entry for the upgrade skill to consume, and commit+push. Takes a plugin slug argument identifying which plugin under plugins/ to release. Use this skill whenever the user says "release", "version bump", "cut a release", "changelog and push", or finishes a set of…

gtapps/claude-code-hermit · 104 tokens

fleet-release

Use this skill whenever the user wants to release, ship, prep, or cut versions for two or more plugins together on the current branch. Trigger on phrasings like "release both plugins", "ship them together", "release all changed plugins", "fleet release", "multi-plugin release", "release in order", or "release…

gtapps/claude-code-hermit · 96 tokens

atlas-changelog

Maintain per-repo and cross-repo changelogs — append structured entries after agent work. Use when asked to "log this change", "update changelog", "what changed", "change history".

tonone-ai/tonone · 45 tokens

release-status

Use this skill to answer "what's ready to ship?", "where does the release pipeline stand?", "any plugins awaiting tag?", or "give me a pipeline overview". Shows plugin versions, tags, commits ahead, unreleased changes, and core compatibility. Read-only.

gtapps/claude-code-hermit · 57 tokens

apex-status

CTO-level project status from git and codebase state. Use when asked "where are we", "project status", "what's done", or at the start of a work session.

tonone-ai/tonone · 42 tokens

secrets-scan

Scans git-tracked files for leaked secrets. Triggers - secrets scan, find credentials, leaked keys, security audit.

kochetkov-ma/claude-brewcode · 30 tokens