Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
写操作前检查 target repo worktree、dirty baseline、session binding 与 provider health evidence。
$ npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace worktree-provider-guard --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/nucleus/skills/worktree-provider-guard .claude/skills/worktree-provider-guard && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "worktree-provider-guard" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guard into .claude/skills/worktree-provider-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktree-provider-guard", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guardType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace worktree-provider-guard --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/nucleus/skills/worktree-provider-guard .agents/skills/worktree-provider-guard && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "worktree-provider-guard" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guard into .agents/skills/worktree-provider-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktree-provider-guard", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace worktree-provider-guard --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/nucleus/skills/worktree-provider-guard .cursor/skills/worktree-provider-guard && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "worktree-provider-guard" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guard into .cursor/skills/worktree-provider-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktree-provider-guard", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/protect-my-hair/nucleus-marketplace.git --path plugins/nucleus/skills/worktree-provider-guard--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace worktree-provider-guard --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/nucleus/skills/worktree-provider-guard .gemini/skills/worktree-provider-guard && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "worktree-provider-guard" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guard into .gemini/skills/worktree-provider-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktree-provider-guard", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install protect-my-hair/nucleus-marketplace worktree-provider-guardInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/nucleus/skills/worktree-provider-guard .github/skills/worktree-provider-guard && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "worktree-provider-guard" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guard into .github/skills/worktree-provider-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktree-provider-guard", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace worktree-provider-guard --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/nucleus/skills/worktree-provider-guard .opencode/skills/worktree-provider-guard && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "worktree-provider-guard" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/worktree-provider-guard into .opencode/skills/worktree-provider-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "worktree-provider-guard", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
worktree-provider-guard写操作前检查 target repo worktree、dirty baseline、session binding 与 provider health evidence。
Worktree Provider Guard is an agent skill from protect-my-hair/nucleus-marketplace. 写操作前检查 target repo worktree、dirty baseline、session binding 与 provider health evidence。
Its SKILL.md is about 240 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/nucleus-provider-health-report.schema.json` and `assets/nucleus-worktree-provider-guard-report.schema.json`).
It sits in Development, covering Git worktrees. The repository describes itself as: Nucleus — Claude Code / Codex 工作流插件,确保 AI 编码产出结构可信、边界可审计、过程可追溯. The licence is MIT.
Read from SKILL.md and the folder at commit 3c82085. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Worktree Provider Guard loads about 239 tokens when it runs, and up to ~553 if it reads all its reference files. Until then it costs about 28 tokens; SKILL.md has 51 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from protect-my-hair/nucleus-marketplace at commit 3c82085, republished under its MIT licence (© protect-my-hair). 51 words, ~239 tokens.
.claude/skills/worktree-provider-guard/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.在任何会写 docs/features/**、tests/**、源码或混合路径的 Nucleus workflow 前运行。
该 Skill 只读检查 git/worktree/status/provider/session evidence,只把 guard report、provider health report 和 result package 写入 .nucleus/runs/<workflowRunId>/**。它不创建 worktree、不切分支、不 stash/reset/clean、不修改 provider 配置。
到达 guard-human-review 前,必须按 workflow 的 subagentPreReview 调度独立 reviewer 子代理;未取得“材料可提交人工审查”预审结论时,不得请求人工评审通过。
最小命令:
python3 skills/worktree-provider-guard/scripts/worktree_provider_guard.py check \
--repo-root <target-repo> \
--context <context-json> \
--write-intent autoProvider health 只接受同 run 的结构化 evidence:session-binding-report、codex-hook-json、claude-hook-json、pms-connector、adapter-health。approved-write 不把 doctor.py --host all stdout 当 provider health。
© protect-my-hair, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (scripts, references, assets) in plugins/nucleus/skills/worktree-provider-guard of protect-my-hair/nucleus-marketplace.
Open the folder on GitHubat commit 3c82085
Worktree Provider Guard next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Worktree Provider Guard this skillprotect-my-hair/nucleus-marketplace | 164 | — | ~239 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Migrate Core Code to Submodulestinyhumansai/openhuman | 42k | — | ~2.6k | Automated safety check: Pass | GPL-3.0 | |
| Finishing A Development Branchfarm-fe/farm | 5.6k | 35 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Git Worktree Cleanuplobehub/lobehub | 83k | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Keep Codex Fastvibeforge1111/keep-codex-fast | 1.6k | — | ~3.1k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
tinyhumansai/openhuman
Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.
farm-fe/farm
A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…
lobehub/lobehub
Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.
vibeforge1111/keep-codex-fast
A skill your agent uses when Codex feels slow or bloated, when local sessions/logs/worktrees/config have grown over time, or when a user wants safe maintenance for Codex Desktop/CLI state.
jamiepine/voicebox
Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.
protect-my-hair/nucleus-marketplace
Collects prior Nucleus task evidence into a candidate-only delivery closure package and PR/MR draft text, blocking if any feature's design, review or verification evidence is missing.
protect-my-hair/nucleus-marketplace
Validates the context file for a Nucleus V2 workflow run, discovers standalone context from explicit input, and writes a blocked result when required context is missing.
protect-my-hair/nucleus-marketplace
Collects, freezes and validates a Nucleus V2 session binding report that records the native Claude Code or Codex session ID, transcript path and hash.
protect-my-hair/nucleus-marketplace
Builds the result.json file for a Nucleus V2 workflow run from its context, gates, blockers and step status, and exits non-zero when the run is blocked.
protect-my-hair/nucleus-marketplace
Checks whether a defect report has enough context to be accepted, then drafts candidate-only root-cause evidence for human review without confirming causes or changing code.
protect-my-hair/nucleus-marketplace
Combines the evidence from completed Nucleus workflow steps into a final evidence report and result package, without scheduling steps, updating trackers or opening pull requests.
Categories
写操作前检查 target repo worktree、dirty baseline、session binding 与 provider health evidence。. Worktree Provider Guard is an agent skill from protect-my-hair/nucleus-marketplace.
Worktree Provider Guard fits situations like: tasks that involve Git worktrees.
Run `npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a claude-code`. Or copy the skill folder (plugins/nucleus/skills/worktree-provider-guard in protect-my-hair/nucleus-marketplace) into .claude/skills/worktree-provider-guard in your project. Claude Code loads it when a task matches its description.
Run `npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a codex`. Or copy the skill folder (plugins/nucleus/skills/worktree-provider-guard in protect-my-hair/nucleus-marketplace) into .agents/skills/worktree-provider-guard in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add protect-my-hair/nucleus-marketplace --skill worktree-provider-guard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/worktree-provider-guard, .gemini/skills/worktree-provider-guard, .github/skills/worktree-provider-guard and .opencode/skills/worktree-provider-guard in your project.
Going by SKILL.md and its folder, Worktree Provider Guard needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Worktree Provider Guard is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 239 tokens (SKILL.md is roughly 956 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 314 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Worktree Provider Guard: Finishing a Development Branch (obra/superpowers, 297k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Finishing A Development Branch (farm-fe/farm, 5.6k stars) and Git Worktree Cleanup (lobehub/lobehub, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
protect-my-hair (a GitHub user) maintains it in protect-my-hair/nucleus-marketplace, which has 164 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on July 23, 2026.
Source: protect-my-hair/nucleus-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.