/tale-mode:seed-gatesfrom Tale Mode
Scans a repo's package.json scripts, CI workflows, and manifests to suggest a .claude/tale-mode.json gate list for tale-mode's Stop-hook loop. Only suggests, never writes or trusts config.
Ships in Tale Mode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Help the user pick the gates for a committed .claude/tale-mode.json — the config tale-mode's
Stop hook enforces during a kickoff phase (once the user trusts its content-hash; see the trust
skill). Your output is a suggestion the user reviews — never silently write the config, and never
touch the trust store.
Read the repo's own definition of "green":
package.json → the scripts block (root first; workspaces if a monorepo).github/workflows/*.yml (or the host's equivalent) — the commands CI actually
runs are the strongest signal of what "passing" means hereMakefile, pyproject.toml/tox.ini, Cargo.toml, go.mod
(→ go test ./...), a repo-local tests/ runner scriptKeep only commands that are hermetic and terminating:
tsc --noEmit), lint, format-check, unit tests, a build
that's reasonably fast, a repo-local test scriptdev, start, serve, --watchTALE_CHECK_TIMEOUT);
a 10-minute suite belongs in CI, not a turn-end gateRun every surviving candidate once from the repo root and record its exit code. A suggested gate that can't run (missing dep, wrong path) — or that always fails — is worse than none: it would trap the loop, and the user would "fix" it by weakening the config. Drop or flag anything that isn't green on the current tree, and say why.
Then present:
.claude/tale-mode.json as a fenced snippet, e.g.
{ "gates": ["npm run -s typecheck", "npm test --silent"] }
(gates is the only key the hook reads — don't add decorative fields)package.json scripts.typecheck, ci.yml:24) and its
verified exit codeOnly write the file if the user says so (writing it is safe in itself — it's inert until trusted —
but it's their repo and their review). Then point them at the two user-only follow-ups you must
NOT do yourself: committing the config, and trusting its content-hash (the trust skill has the
exact commands). Remind them a later edit to the config changes its hash and needs a re-trust.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alicicek/tale-mode --plugin tale-mode6 skills in this plugin
/end-phaseExplicitly end a tale-mode build phase by clearing the phase marker(s) under <project>/.claude/, which stops the Stop-hook's committed-gate enforcement for this repo. Invoke ONLY when the user explicitly asks to end the phase, stop or disarm the tale-mode phase loop, or clean up phase markers — never proactively, and never as a way to escape a failing gate./kickoff-phaseBuild ONE scoped phase of an existing multi-phase plan in a fresh session — re-verify the plan against the live code, interview the user sharply on real forks, then implement only that phase behind plan-mode approval with runnable verification and a fresh-eyes review. Invoke explicitly when starting a phase (the cross-platform form of /tale-mode:kickoff-phase; on Codex, name the plan-file + phase in your prompt). On Claude Code, use the /tale-mode:kickoff-phase command instead of this skill./plan-phasePlan a large, multi-phase feature to a high bar — verify against the code, receipts on every decision, an adversarial fresh-eyes review, and runnable verification gates, decomposed into independently-shippable phases. Invoke explicitly when starting a big multi-session build (the cross-platform form of the /tale-mode:plan-phase command; on Codex, name the task in your prompt). On Claude Code, use the /tale-mode:plan-phase command instead of this skill./tale-modeMake Claude work rigorously on complex or high-stakes tasks instead of one-shotting them. Triggers: "tale mode", "tale on" — or self-activates on hard multi-step work. Enforces staged planning, decisions-with-receipts, verifying claims against the real source (not memory), parallel delegation, an independent adversarial review for high-stakes output, and durable progress notes. Right-sizes itself so trivial work stays fast./trustReference for tale-mode's two user-only opt-in files — the committed-gate trust store (~/.claude/tale-mode-trust) and the Codex cwd-root opt-in (~/.tale-mode-allow-cwd-root) — and their security model. Invoke ONLY when the user explicitly asks how to trust a repo's committed tale-mode gates, about the "content-hash is NOT trusted" notice, or how to enable the autonomous loop on Codex. Do NOT load this proactively, and NEVER write either file yourself — both grants are manual, user-only actions.Other plugins' skills for the same job