bump-core-req
Updates the minimum core version requirement for a fleet plugin in all three canonical places: `required_core_version` and `requires["claude-code-hermit"]` in…
Spawn a background Claude Code helper in its own git worktree, watch it until idle, and relay its report to the operator. Use when the operator says "spawn a helper", "spawn-session", "run this in a background session", or names `/spawn-session`.
$ npx -y skills add gtapps/claude-code-hermit --skill spawn-session --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/spawn-sessionContext preview
The summary Claude sees to decide when to auto-load this skill.
Spawn a background Claude Code helper in its own git worktree, watch it until idle, and relay its report to the operator. Use when the operator says "spawn a helper", "spawn-session", "run this in a background session", or names `/spawn-session`.
name: spawn-session description: Spawn a background Claude Code helper in its own git worktree, watch it until idle, and relay its report to the operator. Use when the operator says "spawn a helper", "spawn-session", "run this in a background session", or names `/spawn-session`.
Launch a background Claude Code session in its own git worktree, subscribe to its idle notice, and relay the report through `/claude-code-hermit:watch`.
/claude-code-hermit:spawn-session <prompt-or-/skill> [--name <n>] [--model <m>] [--effort <e>] [--conversation <key>] [--background <abs-file>]
From `<abs>`, the project root, that composes:
claude --bg --worktree <n> --name <n> [--permission-mode <p>] [--remote-control <n>] [--model <m>] [--effort <e>] '<prompt>'
`--remote-control <n>` is present when `config.json`'s `remote` is `true` and absent otherwise; `--model` and `--effort` only when the operator passed them. The helper never reads or writes `tasks/`; the resident records progress and results after validating REPORT sender and generation.
Four limits sit on that command:
`config.json`, `compiled/` only). Any file the helper must Read is passed as an absolute path in the prompt, spelled as an `@<abs-path>` mention so Claude Code injects it at launch.
nothing checks it out), so the helper inherits none of this hermit's permission rules. `--permission-mode <p>` from `config.json`'s `permission_mode` is what keeps it in this session's permission class, which is also what lets its idle notice reach here rather than being held for an operator who is not watching. `config.json` accepts one value the CLI has no choice for, `default`, so it and `null` and an absent key all mean: leave the flag off entirely and let the helper take the box default. `scripts/hermit-start.ts` resolves `default` and `null` the same way; match that rather than inventing a second answer. It does not agree on an absent key, which it reads as `auto` rather than as no flag. `bypassPermissions` is the one value that does not pass through: it becomes `--permission-mode auto` because a helper has no approval surface of its own, and `auto` is the only mode that stays unattended behind a gate.
so replace every `'` with `'\''` before composing. Anything after the closing quote is a second command the operator never asked for.
mode they run in. On `auto`, the shipped default, the classifier decides and no prompt reaches them on any channel. On `acceptEdits` or `manual` the native approval is relayed to their DM and is allow-once, so every spawn asks again. On `bypassPermissions` there is none. Say what is about to be spawned before running it either way: it is the only thing that makes the launch legible when an approval does arrive, and the only record when none does.
Use only the launch options documented here. Never add bypass flags, tool preapprovals, or settings overrides to widen the helper's permissions. If launch or execution is blocked, report the blocker; do not retry through a script, alternate invocation, or weaker permission mode.
1. Parse `--name`, `--model`, `--effort`, `--conversation`, and `--background` from the invocation. `--background` must name an existing absolute file; append it to the prompt as an `@<abs-path>` mention. Remaining text is the prompt. Empty prompt: stop with a one-line ask for the work to run.
and any `<plugin>:` namespace, lowercase, replace every non-`[a-z0-9]` run with `-`, keep the first five nonempty tokens joined by `-`, cap the slug at 40 characters, trim any leading or trailing `-`, then append `-` plus the full epoch (`date +%s`). The trim is what keeps a prompt like `#220 fix the parser` from producing a name the launch command reads as a flag. The epoch is not truncated because `claude --worktree <n>` silently reuses an existing `.claude/worktrees/<n>`, its branch and uncommitted state included, and those directories are never pruned, so a repeated name is a wrong-branch start with no error. If no token survives the slug is `session`, which is what makes the fallback `session-<epoch>`. Example: `/tackle-issue PROP #220` becomes `tackle-issue-prop-220-1788889689`.
helper takes the box defaults.
2. Resolve `<abs>` with `git rev-parse --show-toplevel` rather than reading the Bash tool's working directory, which persists across calls and can sit in a subdirectory. Then run `git rev-parse --verify HEAD` in `<abs>`; on failure, refuse with one line before composing any launch: this repo has no commits; make an initial commit, then retry. Claude Code branches a worktree from HEAD, so an unborn HEAD makes the background launch report success and then crash-loop on worktree creation. Read `<p>` from `<abs>/.claude-code-hermit/config.json` (`permission_mode`), dropping the flag for `default`, `null` or an absent key, mapping `bypassPermissions` to `auto` (Four limits), and passing every other value through unchanged. Read `remote` from the same config and include `--remote-control <n>` only when the key is present and `true`; `false`, `null` and an absent key all leave the flag off, which is the resident session's own answer for that config. Append this sentence to the operator's prompt:
`The hermit project is at <abs>; its state lives in <abs>/.claude-code-hermit/. Resolve any project-relative .claude-code-hermit/ rea
If you know Claude Tag, the idea will feel familiar: hand Claude work through a channel, such as Discord, Telegram, or your custom integration, and get results back there.
Repo: gtapps/claude-code-hermit
Updates the minimum core version requirement for a fleet plugin in all three canonical places: `required_core_version` and `requires["claude-code-hermit"]` in…
Changelog and commit — lightweight motion for day-to-day plugin dev work in the monorepo. One commit per plugin scope; CHANGELOG and staging routed by detected…
Documentation-drift audit for the plugin monorepo. Audits either each scoped plugin's unreleased changelog claims or its latest shipped release from the…
Explain in plain language what a fix, feature, PR, or plan will actually change for downstream hermits and the operators chatting with them — a before/after…
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…
Daily release-pipeline digest with a change gate — reports which plugins are pending release, whether main's CI is green, which branches went stale, and GitHub…