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.
Clean up completed Git branches and worktrees for this repository both locally and on GitHub.
$ npx skills add jtenniswood/espcontrol --skill clean-complete-branches -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jtenniswood/espcontrol clean-complete-branches --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/jtenniswood/espcontrol.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/clean-complete-branches .claude/skills/clean-complete-branches && 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 "clean-complete-branches" agent skill from https://github.com/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branches into .claude/skills/clean-complete-branches/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-complete-branches", 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/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branchesType 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 jtenniswood/espcontrol --skill clean-complete-branches -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jtenniswood/espcontrol clean-complete-branches --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtenniswood/espcontrol.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/clean-complete-branches .agents/skills/clean-complete-branches && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "clean-complete-branches" agent skill from https://github.com/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branches into .agents/skills/clean-complete-branches/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-complete-branches", 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 jtenniswood/espcontrol --skill clean-complete-branches -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jtenniswood/espcontrol clean-complete-branches --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtenniswood/espcontrol.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/clean-complete-branches .cursor/skills/clean-complete-branches && 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 "clean-complete-branches" agent skill from https://github.com/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branches into .cursor/skills/clean-complete-branches/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-complete-branches", 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/jtenniswood/espcontrol.git --path .agents/skills/clean-complete-branches--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 jtenniswood/espcontrol --skill clean-complete-branches -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jtenniswood/espcontrol clean-complete-branches --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtenniswood/espcontrol.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/clean-complete-branches .gemini/skills/clean-complete-branches && 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 "clean-complete-branches" agent skill from https://github.com/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branches into .gemini/skills/clean-complete-branches/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-complete-branches", 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 jtenniswood/espcontrol clean-complete-branchesInstalls 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 jtenniswood/espcontrol --skill clean-complete-branches -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jtenniswood/espcontrol.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/clean-complete-branches .github/skills/clean-complete-branches && 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 "clean-complete-branches" agent skill from https://github.com/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branches into .github/skills/clean-complete-branches/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-complete-branches", 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 jtenniswood/espcontrol --skill clean-complete-branches -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jtenniswood/espcontrol clean-complete-branches --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtenniswood/espcontrol.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/clean-complete-branches .opencode/skills/clean-complete-branches && 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 "clean-complete-branches" agent skill from https://github.com/jtenniswood/espcontrol/tree/main/.agents/skills/clean-complete-branches into .opencode/skills/clean-complete-branches/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-complete-branches", 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.
clean-complete-branchesClean up completed Git branches and worktrees for this repository both locally and on GitHub.
Clean Complete Branches is an agent skill from jtenniswood/espcontrol. Clean up completed Git branches and worktrees for this repository both locally and on GitHub. Use when the user asks to remove complete, completed, merged, stale, finished, or done branches, delete merged GitHub branches, tidy local worktrees, prune completed PR branches, or clean up branches and worktrees after pull requests have merged.
Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml` and `scripts/clean_complete_branches.py`).
It sits in Development, covering Git worktrees, Pull requests and Git workflow. It works with GitHub and Git. The repository describes itself as: Esphome based smart home control panel.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 72cf82c. 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:
gitpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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.
Clean Complete Branches loads about 820 tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 344 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.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 344 words (~820 tokens).
“Clean up branch work safely after pull requests are complete. This skill covers:”
SKILL.md and 2 other files (scripts) in .agents/skills/clean-complete-branches of jtenniswood/espcontrol.
Open the folder on GitHubat commit 72cf82c
Clean Complete Branches 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 |
|---|---|---|---|---|---|---|
| Clean Complete Branches this skilljtenniswood/espcontrol | 1.1k | — | ~820 | Automated safety check: Pass | Custom licence | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Create Pull Request with Work Item IDmakeplane/plane | 61k | — | ~824 | Automated safety check: Pass | AGPL-3.0 | |
| Creating Description For Gh PRredis/jedis | 12k | — | ~838 | 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.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
pascalorg/editor
Opens or refreshes a pull request on pascalorg/editor from the current branch, describing only what the branch's commits and diff actually contain.
jtenniswood/espcontrol
Clean up local branch worktree folders for this repository after their branches or pull requests have merged to main.
jtenniswood/espcontrol
Flash EspControl display firmware from this repository using ESPHome.
jtenniswood/espcontrol
Review a new or open pull request for this repository with an adversarial security and quality lens.
jtenniswood/espcontrol
Create and safely publish a new GitHub release for this repository through a verified draft build, then confirm the related GitHub Actions run.
jtenniswood/espcontrol
Review every open pull request authored by the user in this repository and address actionable unresolved review feedback.
jtenniswood/espcontrol
Research-only technical debt scan for this EspControl repository.
Categories
Clean up completed Git branches and worktrees for this repository both locally and on GitHub. Clean Complete Branches is an agent skill from jtenniswood/espcontrol. Clean up completed Git branches and worktrees for this repository both locally and on GitHub.
Clean Complete Branches fits situations like: the user asks to remove complete; delete merged GitHub branches; tidy local worktrees; prune completed PR branches.
Run `npx skills add jtenniswood/espcontrol --skill clean-complete-branches -a claude-code`. Or copy the skill folder (.agents/skills/clean-complete-branches in jtenniswood/espcontrol) into .claude/skills/clean-complete-branches in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jtenniswood/espcontrol --skill clean-complete-branches -a codex`. Or copy the skill folder (.agents/skills/clean-complete-branches in jtenniswood/espcontrol) into .agents/skills/clean-complete-branches 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 jtenniswood/espcontrol --skill clean-complete-branches -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clean-complete-branches, .gemini/skills/clean-complete-branches, .github/skills/clean-complete-branches and .opencode/skills/clean-complete-branches in your project.
Going by SKILL.md and its folder, Clean Complete Branches needs Python for the scripts in its folder and the command-line tools its instructions call (git and python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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.
Clean Complete Branches has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 820 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Clean Complete Branches: Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars) and Create Pull Request with Work Item ID (makeplane/plane, 61k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jtenniswood (a GitHub user) maintains it in jtenniswood/espcontrol, which has 1,091 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 11, 2026.
Source: jtenniswood/espcontrol on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.