tamirs-superpowers
CLAUDE.md2 starsChanged 4 months agoMITView on GitHub
Claude Code and Claude Desktop specifics for contributors. Everything that is not Claude-specific lives elsewhere — start with AGENTS.md, which is the shared entrypoint into core/ and rules/. This file adds only what is true of the Claude platform's two surfaces. When this file and a canonical rule disagree, the canonical rule wins. A multi-platform agent plugin (skills, agents, hooks, MCP stubs) shipped to six supported surfaces across five platforms: Claude (Claude Code, Claude Desktop), Codex (Codex CLI), Cursor (Cursor…
- Deletes or force-pushes
- Commits and pushes
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/commit-conventions.mdcCursor rule
- .cursor/rules/cross-platform-handoff.mdcCursor rule
- .cursor/rules/dev-files-workspace.mdcCursor rule
- .cursor/rules/gh-cli-preference.mdcCursor rule
- .cursor/rules/github-repository-policy.mdcCursor rule
- .cursor/rules/git-worktree-agent-workflow.mdcCursor rule
- .cursor/rules/hooks-guide.mdcCursor rule
- .cursor/rules/plugin-structure.mdcCursor rule
- .cursor/rules/plugin-version-bump.mdcCursor rule
- .cursor/rules/skill-frontmatter.mdcCursor rule
- .cursor/rules/skill-quality-standards.mdcCursor rule
- .cursor/rules/skills-guide.mdcCursor rule
- .cursor/rules/user-facing-script-standards.mdcCursor rule
- run-tamirs-superpowersSkill
- field-notebook-uiSkill
- diagnose-refusalSkill
- targeted-debugSkill
- decisionSkill
- deliver-devSkill
- orchestrate-devSkill
- plan-devSkill
- pr-devSkill
- start-devSkill
- switch-devSkill
- worker-devSkill
- changelog-reviewSkill
- dark-terminal-docSkill
- docs-reviewSkill
- platform-syncSkill
- mcp-builderSkill
- mcp-paginationSkill
- cleanupSkill
- github-policySkill
- multi-agent-repoSkill
- repo-scaffoldSkill
- repo-standardsSkill
- capture-configSkill
- find-skillSkill
- notify-setupSkill
- retroSkill
- session-reportSkill
- skill-creatorSkill
- usage-captureSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
When this file and a canonical rule disagree, the canonical rule wins.
- Very specific: line 19
Do not assume these exist on other providers — check core/capabilities/platforms.json before relying on any of them, and degrade explicitly …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — tamirs-superpowers
Claude Code and Claude Desktop specifics for contributors. Everything that is not Claude-specific lives elsewhere — start with AGENTS.md, which is the shared entrypoint into core/ and rules/. This file adds only what is true of the Claude platform's two surfaces.
When this file and a canonical rule disagree, the canonical rule wins.
What this repo is
A multi-platform agent plugin (skills, agents, hooks, MCP stubs) shipped to six supported surfaces across five platforms: Claude (Claude Code, Claude Desktop), Codex (Codex CLI), Cursor (Cursor IDE), Gemini (Gemini CLI), and OpenCode (OpenCode CLI). No build step, no package.json, no compiled output — Markdown, JSON, and Bash.
Claude Code and Claude Desktop are one distribution, not two formats: the same .claude-plugin/plugin.json, the same skills/, the same agents/. They are two surfaces of one platform: what differs is the runtime (installation path, no CLI flags, and the capability rows Desktop has never had measured), documented in docs/user/install/claude-desktop.md.
Commands
See AGENTS.md for the full list. make validate before every push.
Claude-only capabilities
Do not assume these exist on other providers — check core/capabilities/platforms.json before relying on any of them, and degrade explicitly per core/policies/safety.md.
- Subagents (
Agenttool) — parallel worker execution, measured on Claude Code; not exercised on Desktop. Other providers run tasks sequentially or through their own mechanism. Since Claude Code 2.1.243,/tasksand the agent detail dialogs also show which model and effort level each subagent ran on — useful for spot-checkingorchestrate-dev/worker-devfan-outs without instrumenting anything here. The same release fixed background subagents not waking when their last background Bash task finished; if a fanned-out worker previously seemed to hang after its shell command completed, that was a host bug, not this repo's orchestration. Since Claude Code 2.1.246, a subagent that stops because it hit its ownmaxTurnslimit now returns its output markedpartialwith a hint to continue it viaSendMessage— this repo's own handoff vocabulary (completed/partial/failed/blocked, seeworker-dev) already treatspartialas "decide, never quietly integrate around it," so amaxTurns-truncated worker now surfaces the same way a worker that self-reportspartialdoes — no orchestrator change needed, but worth knowing the label can now come from the host, not just from the worker's own handoff file. Since Claude Code 2.1.247, a subagent whose first model call 404s no longer dies outright — it now falls back through the session's own fallback model chain with a detailed error, the same reliability class of fix as the two above; a fanned-outworker-devtask that previously looked like a hard failure on a transient model-routing error may now simply continue on a fallback model instead. Since Claude Code 2.1.251,CLAUDE_CODE_SUBAGENT_MODELsets only the default subagent model instead of overriding every spawn: an agent definition's ownmodel:field (everyagents/*.mdhere pins one explicitly, e.g.model: sonnet) and an explicit per-spawn model now take precedence over it. Before this fix, a user or CI environment exportingCLAUDE_CODE_SUBAGENT_MODELcould silently run every specialist agent on the wrong model regardless of its frontmatter pin; that can no longer happen. Since Claude Code 2.1.257,CLAUDE_CODE_SUBAGENT_MODEL_FORCEis the deliberate opposite: set it and every subagent runs onCLAUDE_CODE_SUBAGENT_MODEL(or the main model) regardless of anagents/*.mdfrontmattermodel:pin or an explicit per-spawn model — the 2.1.251 guarantee above holds only when_FORCEis unset. Nothing in this repo sets it; it is documented here so a user or CI environment that does set it understands why a specialist agent is suddenly running on an unexpected model. Since Claude Code 2.1.259, two related bugs are fixed: auto mode no longer runs an unsupported model when an agent's frontmattermodel:field names one, and interactive sessions no longer silently ignore that same field — both are exactly theagents/*.mdmodel:pin this repo relies on (see the 2.1.251/2.1.257 notes above), so this closes latent unreliability in a mechanism already documented here rather than requiring any change to it. Since Claude Code 2.1.265, resuming a foreground-spawned subagent no longer rewrites its tool list or system prompt and no longer breaks prompt-cache reuse — aworker-devtask that gets resumed mid-fan-out previously risked a silent tool-surface drift or a full re-cache cost on resume; neither can happen now. The same release fixed agent teammates and resumed subagents movingSubagentStarthook context out of the prompt prefix — this repo does not currently wire aSubagentStarthook (hooks/hooks.jsondeclaresSessionStart,SessionEnd,PreToolUse,PostToolUse,Stop,StopFailure,SubagentStop,UserPromptSubmit,Notification,DirectoryAdded,WorktreeCreateandWorktreeRemove, notSubagentStart), so the fix changes nothing here today but is worth knowing before anyone adds one. Also since 2.1.265, a forked skill's kickoff prompt and text turns now stream as progress events instead of arriving silently — this repo ships exactly one forked skill,targeted-debug(context: fork,agent: Explore), so its fan-out is now visible turn-by-turn rather than looking idle until it returns. Since Claude Code 2.1.271, agent frontmatter (and--agentsJSON) gainedomitClaudeMd, letting a custom or plugin subagent run without the user/project/localCLAUDE.mdfiles loading (managed policy files still load). Reviewed against all tenagents/*.mdhere and deliberately left unset: every one of them already loads its own canonical contract explicitly via a relative link tocore/roles/*.mdandcore/policies/*.mdrather than depending onCLAUDE.mdfor that, but each still relies on the target project's ownCLAUDE.mdfor the domain conventions a role judges against —implementermatching house style,security-reviewerknowing a project's declared security posture, and so on. SettingomitClaudeMd: truewould cut every one of them off from exactly the context they need, so this is recorded as reviewed-and-declined, not silently skipped. Since Claude Code 2.1.274, a sub-agent's progress summary is no longer replaced by a runaway multi-paragraph reply — directly relevant to this plugin's own handoff vocabulary (completed/partial/failed/blocked, seeworker-dev) and anyorchestrate-devfan-out that reads a worker's summary back to decide what happened, since a runaway reply previously risked obscuring exactly the status line that vocabulary depends on. The same release fixedclaude agents(the standalone CLI subcommand, distinct from the in-sessionAgenttool) losing--model/--effort/--permission-mode/--allow-dangerously-skip-permissions/--agentafter an auto-update — no script here shells out toclaude agentsdirectly, so this is not exercised by anything in the repo, but it is relevant to a contributor invoking one of the tenagents/*.mdfrom that CLI subcommand by hand with an explicit flag. Also reviewed and not applicable: a fix for a subagent withmodel: "opus"leaving the wrong session model behind on Bedrock/Vertex/Foundry — everyagents/*.mdhere pinsmodel: sonnet, and this repo targets direct Claude Code/Desktop sessions, not a Bedrock/Vertex/Foundry gateway. Since Claude Code 2.1.277, the deprecatedTaskOutputtool is removed — grepped everyagents/*.mdtools:line and every skill/hook/doc in this repo forTaskOutput; zero references, so nothing here relied on it. Since Claude Code 2.1.278, Auto mode for API/Enterprise/Bedrock/Vertex/Foundry/gateway users defaults to a server-side classifier instead of billing the classifier as normal usage (opt-out viaCLAUDE_CODE_AUTO_MODE_SERVER=0on Bedrock/Vertex/Foundry/gateways) — reviewed and not applicable, same as every other Bedrock/Vertex/Foundry/gateway item above. Since Claude Code 2.1.280, Claude Opus 5.5 is the default Opus model — reviewed and not applicable, since every one of the tenagents/*.mdhere pinsmodel: sonnetexplicitly (see the 2.1.251/2.1.257/2.1.259 notes above), so a change to whatopusresolves to changes nothing this plugin spawns. - Project instructions (
CLAUDE.md/AGENTS.md) — Claude Code loads a project'sCLAUDE.mdfor house rules and conventions; Claude Desktop, Cursor, Codex and OpenCode readAGENTS.mdinstead (this repo's ownCLAUDE.mdline 1 is@AGENTS.md, importing the portable file rather than duplicating it — see Skill frontmatter on Claude andAGENTS.md). Since Claude Code 2.1.277, a project with noCLAUDE.mdat all now has Claude Code read itsAGENTS.mdinstead, configurable under "Project instructions" in/config. This repo's own root always ships both files, andrepo-scaffold/multi-agent-repoalways scaffold both together for any new target repo they generate (see the Root file checklist inrepo-scaffold), so no project this toolkit touches or creates is ever missing aCLAUDE.mdfor the fallback to actually engage on — reviewed and recorded as not applicable, not silently skipped. It is still worth knowing before recommending this toolkit's specialistagents/*.md(each of which reads the target project's ownCLAUDE.mdfor domain conventions, see theomitClaudeMdnote above) against a third-party repo that ships only anAGENTS.md: since 2.1.277, that repo's instructions now load automatically where they previously would not have. - Hooks —
hooks/hooks.jsonis loaded by Claude Code and the Codex CLI only; Cursor loads a separate Cursor-format bundle,platforms/cursor/hooks.json(see below); Gemini CLI and OpenCode CLI have their own or none. Why Cursor does not, verified 2026-09-23: Cursor can import Claude Code hooks, and the setting that enables it (Settings -> Agents -> Third-Party Imports, "Include Third-Party Plugins, Skills, and Other Configs") is on by default - but it reads them from exactly three paths,.claude/settings.local.json,.claude/settings.jsonand~/.claude/settings.json, and never from a plugin's ownhooks.json. So Cursor gets none of this plugin's hooks through the Claude-format file. Since plugin 4.7.0 (#221) it gets them through a Cursor-format bundle instead:.cursor-plugin/plugin.jsondeclares"hooks": "./platforms/cursor/hooks.json", wiringenforce-worktree-edits.shandguard-sensitive-files.shtopreToolUse/beforeShellExecutionandcursor-agent-tools-guard.shtopreToolUse/postToolUse. The bundle sits at a non-default path deliberately: Cursor's discovery otherwise falls back tohooks/hooks.json, the Claude-format file it cannot read, and an undeclared component binds to that wrong default rather than disabling itself. (.cursor/hooks.jsonin this repo is a third, separate thing — a project-root file with one advisorybeforeShellExecutionhook for contributors working on this repo in Cursor; Cursor reads it because it is the open project, not because the plugin was installed.) Cursor's published mapping also covers 8 Claude events, of which this repo wires 6 (PreToolUse,PostToolUse,UserPromptSubmit,Stop,SessionStart,SessionEnd); the other 4 this repo wires -Notification,DirectoryAdded,WorktreeCreate,WorktreeRemove- have no Cursor equivalent at all. #179's E1 tracked the Cursor-native bundle and shipped in 4.7.0. The blocker recorded here — that Cursor's edit-tool names andtool_inputshape were undocumented, so a guard wired against Claude'sEdit/Writenames might match nothing and silently allow every write while appearing installed — was resolved by measuring rather than by documentation: Cursor'spreToolUseusestool_nameRead/Write/Shellwithtool_input.file_path, the same field Claude uses, andwrite-targets.pyalready treatedShelllikeBash. The guards run unmodified. Verified end to end oncursor-agent2026.07.17-3e2a980: a write to.github/workflows/ci.ymlwas blocked with the guard's own reason reaching the agent and the file unchanged, while an ordinary write succeeded — so the guard is selective, not blanket. Extending coverage to Cursor-only events beyond those three is #179's E8. Since Claude Code 2.1.247, hook and background-task error output that previously could overflow the conversation with a "Prompt is too long" error, or leak memory unboundedly on repeated output-file write failures, is fixed host-side — relevant here given the volume of hooks this plugin wires (26 scripts acrossPreToolUse/PostToolUse/SessionStart/SessionEnd/UserPromptSubmit/StopFailure/worktree events), though no hook here needed a change: none of them write to an unbounded log file themselves. Since Claude Code 2.1.251,SessionStartpayloads for a resumed or forked session can also carryseconds_since_last_response/context_tokens(staleness) andprompt_cache_likely_expired/estimated_cache_write_usd(estimated re-cache cost);hooks/session-init.shnow adds a one-lineadditionalContextnote when the resumed cache has likely expired, so that shows up before the first request re-caches rather than being inferred afterward from an unexplained cost/latency spike. The same release addedPreModelSwitch/PostModelSwitchhook events (block, confirm, or annotate a model switch) — not wired here, since nothing in this repo's orchestration currently needs to gate or observe a model switch; noted for Tamir's judgment rather than wired speculatively. Since Claude Code 2.1.259, a blockingStophook no longer discards the turn's reasoning or forces a prompt-cache miss on the next turn — relevant givenhooks/check-done.shruns onStopandhooks/handoff-reminder.sh,hooks/release-agent-claims.shandhooks/session-end.shonSessionEnd, though none of them block by design (they inform; they never gate), so this removes a host-side cost/latency tax this repo was already avoiding rather than one it was paying. The same release also fixes worktree isolation refusing hook-created worktrees on some machines, and worktree-isolated sessions wrongly refusing Bash loops,xargspipelines, and launcher-wrapped commands —hooks/worktree-create.shcreates every worktree here andhooks/enforce-worktree-edits.shgates everyEdit/Write/MultiEdit/NotebookEditinside one, so both fixes land squarely on this repo's core-safety-invariant hooks; there was no repo-side workaround for either to remove, just fewer false-positive refusals going forward. Since Claude Code 2.1.281,claude plugin validatewarns when a shell-form hook leaves${CLAUDE_PLUGIN_ROOT}unquoted, because the command splits on a plugin path containing a space; it fired on all 27hooks/hooks.jsoncommands here, so every one is now writtenbash "${CLAUDE_PLUGIN_ROOT}"/hooks/x.sh(docker-guard.pywas already quoted) and the same release'smcp_tool-hook wait-for-connect fix and/batch-under-a-WorktreeCreate-hook support are noted but need no change (nomcp_toolhooks are wired, andhooks/worktree-create.shis such a hook, so/batchnow also runs where that hook provides the agent worktrees).StopFailureis wired as of plugin 4.5.0 with"matcher": "rate_limit"->hooks/rate-limit-handoff.sh. The matcher is a documented error-type value (alongsideoverloaded,authentication_failed,billing_error,server_errorand others), so the hook fires on rate-limit exhaustion specifically and stays silent for every other API failure. It emitssystemMessage, nothookSpecificOutput.additionalContext, for the same reasonhandoff-reminder.shdoes: the turn has already failed, so there is no model turn left to read injected context, and the person who needs the message is the user. It exists becauseswitch-devwas invoked zero times across 953 sessions - the moment you need a handoff is the moment you cannot ask for one. Since Claude Code 2.1.260,permissions.blockReadsOutsideWorkingDirectorieson macOS no longer hides the user's git config from sandboxed git, nor a worktree-isolated sub-agent's own checkout — this repo does not set that permission itself (it was reviewed and left out ofplatforms/claude/settings.d/in an earlier cycle as a personal auto-mode preference, not a plugin default), but the fix directly benefits worktree isolation for anyone who enables it alongsidehooks/worktree-create.sh/hooks/enforce-worktree-edits.sh. Since Claude Code 2.1.268,PermissionRequesthooks now fire in--print(headless) mode — not exercised here, sincehooks/hooks.jsonwires noPermissionRequestevent — andCLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MSnow actually extends aSessionEndhook that declares no per-hooktimeoutof its own (previously still cancelled at 1.5 seconds regardless of the env var); everySessionEndhook this repo ships (session-end.sh,handoff-reminder.sh,release-agent-claims.sh) already sets an explicit per-hooktimeoutinhooks/hooks.json, so this fix changes nothing here today, but matters before anyone adds aSessionEndhook without one. The same release also fixed/mcp//pluginserver details,claude mcp list/get, and MCP login errors showing a secret resolved from a${VAR}placeholder in an MCP config — this repo's.mcp.jsonpasses thegithubserver its token through${user_config.github_token}in the server'senv(since 4.11.0;scripts/github-mcp.shitself reads nothing off the machine, because the plugin directory's policy forbids a plugin forwarding a credential it found there), which is exactly the kind of resolved secret the fix keeps those surfaces from printing. And a respawned in-process teammate no longer picks up tools or a system prompt from a same-named agent file in an untrusted folder — this repo'sagents/*.mdlive inside the trusted, versioned plugin checkout, so not a scenario this repo's own orchestration creates, but relevant to anyone fanning outorchestrate-dev/worker-devfrom a workspace that also contains untrusted agent definitions. Since Claude Code 2.1.261, resuming a session no longer loses hook output that was produced around parallel tool calls — relevant given the volume of hooks this plugin wires, though nothing here needed a workaround: no hook depended on output surviving a resume mid-parallel-call. The same release improved the host's dangerous-rmconfirmation prompt to also catchrm -rfinvoked on a positional parameter (e.g.f="$1"; rm -rf "$f") rather than only a literal path — this is a built-in confirmation shown to the user before the tool call runs, independent ofPreToolUsehooks, so it does not change whathooks/enforce-worktree-edits.shorhooks/guard-sensitive-files.shsee; it is a second, host-side layer that now covers a shell pattern those hooks' PreToolUse matching does not specifically target. Since Claude Code 2.1.269, aPreToolUsedeny rule and the write-path check behindEdit()now also apply to a file a Bashteecommand writes — previously atee-based write could slip past a deny rule matched only against the editing tools — and aBash(tee:*)allow rule is now scoped the way its glob implies instead of over-matching. This closes, at the host-permission layer, precisely the gaphooks/guard-sensitive-files.sh's own header comment names and was built to cover independently: that hook keys on write targets, not the tool doing the writing, viahooks/lib/write-targets.py's dedicatedteeargument parsing, so it never depended on this host-level check being correct.platforms/claude/settings.d/permissions-allow.jsonandpermissions-ask.jsondeclare noBash(tee:*)rule of either kind, so neither bug was ever exposed here — the host now simply agrees with what this repo's own hook already enforced. The same release fixed a deny/ask permission rule beginning with a bare!leaking beyond the settings source that declared it (a lone!is now ignored); reviewed against every rule in both permission files — none starts with!. And the attribution-reminder text that appends aCo-Authored-Bytrailer no longer overrides a project'sCLAUDE.md/memory instruction against adding one — this repo's own instruction (see Commit trailer, below) asks for the trailer, so the two policies were never in conflict, but a downstream fork that opts out via its ownCLAUDE.mdwill now actually have that honored. Since Claude Code 2.1.270 (a regression in 2.1.269, fixed the next day): read-only git commands in Bash no longer unexpectedly ask for permission after a session has been running for a while — relevant becausepermissions-allow.jsondeliberately pre-allows several git commands (git add,git commit,git push,git tag,git remote add,git init) specifically to avoid this class of friction; nothing here needed a workaround, but a session that hit the regression mid-cycle would have seen exactly the prompt this pre-allow list exists to prevent. Since Claude Code 2.1.271, a stale.git/config.lockleft behind after a sandboxed Bash command failed to start no longer breaksgit checkout -b,git push -uorgit configfor the rest of the session (Linux) — directly relevant, sincepermissions-allow.json's pre-allowedgit push */git remote add */git initandhooks/worktree-create.sh'sgit worktree add -Bboth run through the same sandboxed Bash surface this bug affected; no repo-side workaround existed, so a session that hit it on Linux previously had to restart to regain reliable git access, and now doesn't. The same release fixed Claude starting a second copy of a background command (such as a watch loop) that was still running after the conversation was compacted — relevant to a longorchestrate-dev/worker-devfan-out that compacts mid-run with a background task in flight; host-side fix, nothing here to change. And cross-session messages held by the receiving session's permission-mode policy no longer vanish without a trace: a headless sender now gets a delivery notice, and aSendMessageresult no longer implies the message was read — this extends the cross-sessionSendMessagereliability work already tracked indocs/user/cross-platform-workflow.md, see that file for the dated note. Claude Code 2.1.272 was bug-fixes-and-reliability-only, per the official changelog — nothing to record. Claude Code 2.1.273 reverts a 2.1.268 change that had started checkingRead/Editdeny rules on Bash lines the permission checker cannot fully analyze (eval,env -C, and similar): such a line now prompts for approval again instead of being silently denied. Neitherpermissions-allow.jsonnorpermissions-ask.jsonhere name aneval/env -Crule pattern, so this changes generic host behavior, not anything this repo declares — reviewed and found not applicable. - Mods (Claude Code 2.1.287+) —
mod/register.tsxis a module of function hooks the engine runs in-process, named by themoduleskey of the samehooks/hooks.jsonthe settings hooks live in, with its$.statecontract atmod/types/index.d.ts(manifesttypes). It is additive: every bash hook stays canonical because a mod runs on Claude Code and the Claude Desktop Code tab only (its hooks also run underclaude -p/VS Code/cloud, nothing it draws does;allowManagedModsOnlyand--safe-modedrop it while settings hooks keep running). It does what bash hooks cannot: draws the live orchestration state (/objective, an objective pane, worker count on the spinner, compact task rows), reacts to the rate-limit windowssession.measurepushes after every turn with a handoff-reminder band atrate_limit_warn_percent(the momentswitch-devis needed and cannot be asked for —rate-limit-handoff.shonly fires after the turn died), draws the statusline figures on Desktop where no status line exists, optionally classifies long prompts against the skill names (semantic_skill_suggest, off by default), adds a DoD line under answers that wrote files, folds a working-state snapshot into compaction, and enforces this file's commit trailer on the attribution text where a repo declares one. Validated byclaude plugin validate .claude-plugin/plugin.json(the.form validates only the marketplace manifest and never reads the mod) andclaude plugin test .(make test-mods, 21 tests, both in CI);make typecheck-modstype-checks against the build'sclaude-code.d.tswhere one is present. Themoduleskey is also read by the Codex CLI through.codex-plugin/plugin.json; whether Codex ignores it is unverified and recorded incore/capabilities/platforms.json. Full design, the per-feature fallback table and the validator's rules (helpers taking$must be top-level functions; one unmatched registration per event):docs/engineering/architecture/mods.md. The same release added the opt-in built-incc-plugin-you-should-knowside-agent mod and made/diffandAGENTS.mdloading built-in mods — reviewed, nothing here to change. Since 2.1.285,claude plugin configure <plugin>shows and sets a plugin'suserConfigvalues from the shell — the way to set the two mod options outside/config. - MCP —
.mcp.jsondeclares one stdio server (github, viascripts/github-mcp.sh). Since Claude Code 2.1.265, an MCP server declared"type": "http"with only legacy HTTP+SSE support now auto-falls-back to that transport instead of never connecting — this repo's own server isstdio, so the fix changes nothing here, but it is worth knowing before adding or recommending anhttp-type server in a downstream.mcp.json. Since Claude Code 2.1.274,CLAUDE_CODE_MCP_STARTUP_WAIT_MSextends how long the host waits for a slow-starting MCP server before giving up on it — worth setting ifscripts/github-mcp.sh's Docker fallback path (docker run ... ghcr.io/github/github-mcp-server stdio) is slow to start on your machine, e.g. after a cold image pull; this is not set as a repo default, since the right wait time is workstation-dependent, not something the plugin can know in advance. The same release switched Bedrock/Vertex/Foundry and telemetry-disabled sessions to MCP client v2 by default — not applicable here, since this repo targets direct Claude Code/Desktop sessions rather than a Bedrock/Vertex/Foundry gateway. Since Claude Code 2.1.280,CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTHbounds how much of an MCP tool's description the host reads — reviewed against this repo's one MCP server (github) and, same asCLAUDE_CODE_MCP_STARTUP_WAIT_MSabove, not set as a repo default since the right bound is workstation/model-dependent; documented here as an available knob. - Output styles —
output-styles/evidence.mdships one style,Evidence, discovered from the defaultoutput-styles/path (no manifest field needed). It setskeep-coding-instructions: true, because the default offalsestrips Claude Code's own software-engineering instructions, and deliberately omitsforce-for-plugin, which would override the user's ownoutputStylewhenever this plugin is enabled. Opt in with/output-style Evidence. Claude Code only — no other supported surface reads output styles. - Statusline — wired via
.claude-plugin/plugin.jsonsettings.statusLine→scripts/statusline.sh. Claude Code only — Desktop has no terminal chrome to render into. Test with piped JSON:echo '<session-json>' | bash scripts/statusline.sh— it blocks forever on unpiped stdin. Since Claude Code 2.1.251, the payload can also carryrate_limits.spend_limit(behind a Claude apps gateway with a spend limit configured); the statusline renders it as a fourth line using the exact same only-when-present pattern as the existing 7-day line, so nobody outside a gateway with a spend limit configured sees any change. Aprompt_cacheblock (warm,hit_ratio,misses,recache_tokens_if_cold) renders as a fifth line under the same rule — a host that does not report it prints nothing rather than a misleading0%, and the cold-rebuild token cost is shown only while the cache is actually cold. Schema and colour thresholds:docs/engineering/statusline.md. Monitor— wraps a long-running Bash watch loop with per-line notifications.skills/dev-workflow/pr-dev/references/ci-monitor-loop.md's CI-rollup wrapper is the one place this repo calls it, withtimeout_ms: 1800000(30 minutes) and nopersistentflag. Since Claude Code 2.1.271, every Monitor watch now always carries a deadline — at most 30 minutes (10 in single-prompt-pruns) — and Claude is notified to re-arm it, replacing the old no-timeoutpersistentoption entirely; this repo's one documentedMonitorcall was already inside that ceiling and never setpersistent, so nothing here needed to change. The same release added per-commandallowed_domainstoBash,PowerShellandMonitorin auto mode with sandboxing (only the hosts a command needs are reviewed and opened for it) — reviewed againstplatforms/claude/settings.d/: noPowerShellrules ship here, noBashrule is network-scoped beyondgh/git's own auth, and no doc here recommends running this plugin under auto mode with sandboxing, so there is noallowed_domainslist to declare.EnterWorktree— automates worktree creation under.claude/.worktrees/<name>. That is the legacy layout; it stays supported and is never orphaned, but new objectives use.agent-worktrees/<objective>/perrules/dev/git-worktree-agent-workflow.md.resolve-worktree.shunderstands both.- Plugin state —
${CLAUDE_PLUGIN_DATA}is a per-plugin directory the host exports to hook processes and MCP/LSP subprocesses; it survives plugin updates, unlike~/.claude/cache/.hooks/lib/plugin-state.shresolves it with a mandatory fallback, becausehooks/hooks.jsonis loaded by the Codex CLI too and Codex exports no such variable — a hook that assumes it writes to the filesystem root. Session state and the shared pip/poetry cache deliberately stay where they are. Project memory —
.claude/memory/(versioned backup, reviewable in PRs) mirrored into a per-project transcript directory (auto-loaded each session). Keep them in sync; commit new memory files to.claude/memory/. The transcript directory name is normally derived from the clone's absolute path (-Users-<you>-Projects-tamirs-superpowers), which shifts per machine/username and breaks if the clone moves. Since Claude Code 2.1.234,CLAUDE_CODE_PROJECT_DIR_NAMEoverrides that derivation — pin it (e.g. in~/.zshrc/~/.bashrc, or per-session) for a stable, machine-independent name:export CLAUDE_CODE_PROJECT_DIR_NAME=tamirs-superpowersRestoring memory on a new machine prefers the pin when set, falling back to the derived path otherwise — the fallback assumes the standard
~/Projects/tamirs-superpowersclone location, so set the pin explicitly on any other layout (headless/Linux checkouts, a different parent directory, a different username than the one Claude derived from):MEMORY_DIR=~/.claude/projects/${CLAUDE_CODE_PROJECT_DIR_NAME:--Users-$(whoami)-Projects-tamirs-superpowers}/memory mkdir -p "$MEMORY_DIR" && cp .claude/memory/* "$MEMORY_DIR/"
Claude Code CLI baseline
Root .claude-code-version is a machine-readable pin for the Claude Code host CLI version this repo's narrative docs are written against — not to be confused with plugin-version.json, which is this plugin's own release version and has nothing to do with which claude build a contributor or CI runner has installed. It exists because the two prose sources that track host-version-gated behavior — this file's "Claude-only capabilities" section and core/capabilities/platforms.json's since/notes fields — never state a single current baseline in one machine-readable place; a script or a future review pass had to reverse-engineer "the highest version mentioned in prose" to find one.
The detailed, evidence-backed version of the same claim — validated_against (last live-CLI run) vs. reviewed_through/latest_known (changelog read, no live run required) as two distinct fields, plus the full per-release verification notes — lives in docs/engineering/build-and-release/platform-targets.json's targets.claude_code block; .claude-code-version is a thin, always-current mirror of that block's three version fields for a consumer that wants one file at a known root path rather than a JSON-path lookup. Treat platform-targets.json as authoritative on any disagreement and update .claude-code-version to match.
This deliberately does not repeat the .codex-version/.cursor-version pattern uncritically. Those two root files are documented as unread, hand-maintained drift risk (docs/engineering/refactor/file-inventory.md §2.3/§6.12: "read by no script at all," "orphan truth"). .claude-code-version is referenced here specifically so it is not silently orphaned the same way; no script parses it yet, which is the same gap those two have, and closing it — a small scripts/check-platform-version-pins.sh, or folding all three root pins into check-platform-targets.sh — is a reasonable follow-up rather than something this pass invents unasked.
Anthropic's plugin directory
The directory tracks the tag claude, not master. release.yml builds the Claude-only subset of this tree (scripts/build-claude-dist.sh: no tests, docs/engineering, evals, fixtures, platform mirrors or symlinks, around 420 files) from each release tag, commits it with the previous generated commit as parent, tags it v<version>-claude and moves claude onto it. Nobody develops on that tree; every change lands here and is rebuilt. make check-claude-dist (part of make validate, and CI's claude-dist job) holds the built tree to the directory's rules so a change that would block or hold the listing fails on the pull request. The source rules the directory imposed and that now hold everywhere: every credential is a sensitive userConfig option and nothing shipped reads one off the machine (github_token, pushover_token, pushover_user); no bare Bash or Skill in any allowed-tools; the mod writes every $ call at its call site, hands $ to no helper and runs no process; privacyPolicyUrl, documentationUrl and supportUrl in the manifest, with PRIVACY.md naming everything that leaves the machine. The mod makes no network call (its Pushover post went in 4.11.1; the Notification hook is the one Pushover path) and the distribution ships a listing icon in listing/ (a folder nothing else names: an image any script can reach is held as unread code), no CHANGELOG.md, no docs/engineering/ and no other platform's docs, because the scanner reads prose about what the plugin used to do as what it does; no shipped shell script uses eval, and no shipped file pairs a URL host with a credential-looking identifier ($PWD and TARGET_KEYS included) because the scanner holds the pair. tests/test-claude-dist.sh plants each of those shapes and asserts the check catches it. Design, tag ruleset, rollback and the resubmission steps: docs/engineering/build-and-release/directory-distribution.md.
Marketplace cache
The installed copy lives under ~/.claude/plugins/cache/tamirs-marketplace/tamirs-superpowers/<version>/. Claude uses the manifest version as the update cache key — pushing commits without a bump does not reach installed users. After a release:
/plugin marketplace update tamirs-marketplace
/plugin update tamirs-superpowers@tamirs-marketplace/reload-plugins reloads the local cache only; it never fetches from GitHub. For local development, symlink the cache directory at your clone or run with --plugin-dir — never hand-edit files under the cache. Full mechanics, including the version-glob failure mode: rules/dev/plugin-version-bump.md. Since Claude Code 2.1.265, --plugin-dir also accepts a folder of plugins — each child folder with a manifest loads, and the set hot-reloads while running. This repo ships a single plugin, so the existing single-plugin --plugin-dir . form still applies unchanged; the folder form only matters to a contributor who develops this plugin alongside another local plugin in a shared parent directory, in which case pointing --plugin-dir at that parent picks up both. Since Claude Code 2.1.268, installing, enabling or disabling a plugin through the interactive /plugin menu takes effect as soon as the menu closes — /reload-plugins is no longer needed afterward. That is specifically about the menu flow, not about hand-editing plugin files during local development: hooks/plugin-reload-reminder.sh still reminds you to run /reload-plugins after editing plugin.json/hooks.json/marketplace.json under a --plugin-dir symlink, and that reminder is unaffected. The same release added --json to claude plugin install/uninstall/update/enable/disable (one machine-readable result line: command, outcome, plugin, scope, message, failureCode) and errorDetails/noteDetails to claude plugin list --json rows — scripts/update.sh and scripts/uninstall.sh now request --json from claude plugin update/uninstall and print the returned message/failureCode on failure, falling back to the previous generic instruction only if the CLI predates 2.1.268 or the output does not parse as JSON. It also fixed plugin/marketplace errors printing a token or password embedded in a git source URL, and hardened marketplace entry-path containment against a backslash bypass — both host-side, and this plugin's marketplace.json source is a plain https://github.com/... URL with no embedded credential, so neither was ever exposed here. Since Claude Code 2.1.269, plugin archives extracted for a session are no longer readable by other local users, no longer leave world-writable bits, and no longer leave stale files behind a re-extraction — host-side hardening of the extraction step itself, with nothing in this plugin's manifest or install path to change. Since Claude Code 2.1.271, claude plugin install/claude plugin update accept --accept-command <sha256> to confirm exactly the command a previous --json run displayed, instead of the blanket -y. Reviewed against scripts/update.sh's and scripts/uninstall.sh's existing claude plugin update/uninstall ... --json calls (added for the 2.1.268 --json diagnostics above): neither script passes -y or hits an interactive confirmation today, so there is no blanket-accept behavior here for --accept-command to tighten — not adopted this cycle, recorded rather than silently skipped. Since Claude Code 2.1.275, /plugin install <plugin> --marketplace <source> installs from a named marketplace in one step; reviewed against the two-step /plugin marketplace add + /plugin install sequence this file and docs/user/install/claude-code.md both document and left as a Future opportunity rather than rewritten this cycle, since the two-step form still works and every existing doc reference assumes it. The same release added syncing of skills and plugins enabled on a user's claude.ai account into their terminal sessions, opt-out per-kind via the syncClaudeAiSkills: false / syncClaudeAiPlugins: false settings — worth knowing if a name collision ever shows up between a synced claude.ai skill and one of this plugin's 29 SKILL.md names, since the opt-out is how you would resolve it. It also fixed plugin/marketplace messages leaking a secret embedded in a URL (host-side; this plugin's marketplace.json source is a plain credential-free https://github.com/... URL, so nothing here was ever exposed) and fixed claude plugin marketplace update deleting the local marketplace copy on a failed fetch — directly relevant to the /plugin marketplace update tamirs-marketplace step documented just above, since a flaky fetch previously risked wiping the installed cache instead of leaving it untouched; no repo-side workaround existed for that, and none is needed now. Since Claude Code 2.1.280, a skill whose name collides with another skill's on manifest.json is no longer wrongly trashed — the host previously moved ~/.claude/skills/<name> to .trash/ on that collision. This directly closes the data-loss shape of the 2.1.275 name-collision risk noted above: a claude.ai-synced skill sharing a name with one of this plugin's 29 SKILL.md names could previously get one of the two trashed outright, not just shadowed; the syncClaudeAiSkills: false opt-out documented above is still the way to avoid the collision in the first place, but a collision that does happen is no longer destructive. The same release fixed installed_plugins.json losing its recorded commit info after a GitHub-repo plugin update — this plugin installs exactly that way (a plain https://github.com/... marketplace source), so an install's recorded commit now survives /plugin update tamirs-superpowers@tamirs-marketplace where it previously could be dropped; host-side fix, nothing here to change.
The version itself is edited in one place, plugin-version.json, then propagated with bash scripts/check-version-truth.sh --sync. Never hand-edit .claude-plugin/plugin.json's version.
Security note (2.1.267): Claude Code hardened marketplace entry-path handling against a backslash bypass of its symlink/containment check (mirroring an equivalent 2.1.265 fix for plugin paths). This is a host-side fix in Claude Code's marketplace-loading code, not something Tamircohen28/tamirs-marketplace or this repo's manifest can trigger or needs to change — recorded here because this plugin ships through a marketplace listing, so the hardening is directly protective of its distribution path even though no action is required on this side.
Skill frontmatter on Claude
Every SKILL.md validates against the portable schema, core/schemas/skill-frontmatter.json. Claude Code's own frontmatter fields are a documented extension of that schema — they add Claude behavior (invocation gating, tool allowlists, model hints) and are validated when present. They are not a universal requirement, and a skill is not invalid for omitting a field no other provider understands. Authoring rules: rules/dev/skill-quality-standards.md. Never hand-write a SKILL.md — use skill-creator.
Twenty-nine of this repo's SKILL.md files set the Claude-only effort: field (low/medium/high); no agents/*.md sets it. Before Claude Code 2.1.267, effort: frontmatter on a custom command, skill or subagent was silently ignored on a model with a pinned default effort — every effort: value shipped here could have been a no-op on such a model, with no error surfaced. The fix makes the frontmatter authoritative again; no repo-side change is needed, but it is worth knowing that these values may not have taken effect before upgrading past it. The same release added maxEffortLevel, an org/user-configured ceiling on /effort — this repo does not set one (it is a host/account setting, not a plugin default), but a user or CI environment with a low maxEffortLevel will silently cap a skill's effort: high (deliver-dev, orchestrate-dev, plan-dev, pr-dev, start-dev, switch-dev, worker-dev, cleanup, github-policy, multi-agent-repo, repo-scaffold, repo-standards, retro, platform-sync) to whatever ceiling is set, the same way CLAUDE_CODE_SUBAGENT_MODEL_FORCE overrides an agents/*.md model: pin (see the 2.1.257 note above) — worth knowing rather than assuming a requested effort level was honored.
Eval suite. Since Claude Code 2.1.269, claude plugin eval runs a plugin's own eval suite (evals/**/case.yaml or prompt.md + graders/*.md) against the plugin and reports scored, reproducible results. This repo ships one in evals/: eight cases covering a single flow, skill-creator, each run with and without the plugin so the headline number is the uplift (Δ). It is a different harness from the per-skill evals/evals.json/trigger-evals.json pairs under skills/toolkit/skill-creator/evals/, which are that skill's own trigger-accuracy format (scripts/run_eval.py); the two coexist and are not interchangeable. Three things to know before running it. Write, Edit and Bash cannot be granted by a case's allowed_tools or by a skill's own allowed-tools frontmatter — only the operator's --allow-tools grants them, and that grant reaches both arms, which is what keeps Δ honest. Pass --judge-model sonnet: the default judge is haiku and marks correct-but-differently-formatted answers wrong. And never point a case at a path under .claude/ — it is protected in the run sandbox, every write to it is denied, and the result looks exactly like the plugin failing (it cost this suite a full calibration cycle to find). The suite's own calibrated findings, including a real Δ −0.25 regression on fix-weak-description and a context: fork gap that fails in both arms, are recorded in evals/README.md.
Invocation tiers (Claude-specific)
The two flags are independent — not a package deal:
user-invocable: false— blocks the user typing/skill-name. Other skills, sub-agents and workflows can still call it via theSkilltool. This alone is what an internal companion wants.disable-model-invocation: true— blocks context-based auto-triggering and sub-agent invocation. It is a much heavier flag than it looks.
| Tier | user-invocable | disable-model-invocation | Examples |
| User + auto-trigger (default) | true | false | plan-dev, start-dev, pr-dev, switch-dev, repo-standards, cleanup, retro |
| Explicit-only (slash, no auto) | true | true | (none — see below) |
| Internal companion | false | false | docs-review, mcp-pagination, changelog-review |
No skill is Explicit-only today. switch-dev was, and the gate cost the repo the skill's whole point: it is what an agent should reach for when a session hits a rate limit mid-objective, which is precisely when the user is not in a position to type /switch-dev, and the gate also made it unreachable from orchestrate-dev/worker-dev — so an orchestrated run that hit a limit could not hand off and simply died. Zero invocations across 953 sessions was the measured result.
Gating warning: disable-model-invocation: true also blocks subagent and workflow orchestration — a subagent invoking a skill is model invocation, so a gated skill cannot be fanned out across subagents. Gate only a skill that must never run autonomously. Prefer putting safety inside the skill: cleanup stays model-invocable with confirmation gates, a dry-run, and a script that only touches provably-safe targets; retro stays model-invocable because it only proposes changes and never writes without approval.
Internal-only skills today: changelog-review, docs-review, mcp-pagination. All three carry user-invocable: false and disable-model-invocation: false — hidden from the slash surface, still reachable from repo-standards and mcp-builder when those run under orchestration. docs-review mutates files, so it confirms before its first write when no parent skill invoked it; that confirmation is the safety, not a gate.
Surface skills at the moment they apply
Canonical, with the trigger table and the reasoning behind it: AGENTS.md. The rule applies unchanged on Claude Code and Claude Desktop — it is written down precisely because skill_auto_invocation cannot be relied on everywhere, so a surface where auto-invocation does work is not exempt from it.
Commit trailer
Claude sessions append:
Co-Authored-By: Claude <noreply@anthropic.com>Format and scopes are in AGENTS.md.
Remote and headless Claude sessions
Same validation commands as the cloud runbook in AGENTS.md. Hooks in hooks/hooks.json apply in Claude Code sessions only; a remote session without hook support must not assume worktree hooks ran. Since Claude Code 2.1.260, /reload-plugins also works in headless (-p/SDK) sessions and appears in the Desktop/SDK command lists — previously interactive-only. Relevant to any headless automation, including this repo's own nightly platform-sync review, that dev-installs the plugin via --plugin-dir or a cache symlink and needs to pick up a local change without an interactive terminal. Since Claude Code 2.1.269, /output-style [name] can list or switch output styles over Remote Control and in cloud/headless sessions too — an interactive convenience with nothing for this repo's manifest to adopt, noted here only because this section is where a headless-only capability gets recorded. The same release fixed two other headless/remote paths that do not apply to this repo today: organization plugins distributed via managed settings not loading in headless sessions (this plugin is installed by a user running /plugin marketplace add + /plugin install, not pushed via an org's managed settings), and a synced plugin's MCP servers not reconnecting when a remote session resumes (the one server this plugin declares, github, is its own stdio server bundled with the plugin, not a separately "synced" one) — both are recorded here in case a future distribution model for this plugin ever does route through either mechanism. Since Claude Code 2.1.271, fast mode is available in Claude Code Remote sessions (cloud and self-hosted runners): the host's fast-mode setting or /fast typed in the session applies where the organization allows it — an interactive/account-tier convenience with nothing for this repo's manifest to adopt, noted here because this section is where a headless/remote-only capability gets recorded.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

