Conventional Git
samber/cc-skills
Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects.
Safely audit and remove Git worktrees linked to closed GitHub or GitLab issues.
$ npx skills add aiskillstore/marketplace --skill clean-closed-issue-worktrees -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aiskillstore/marketplace clean-closed-issue-worktrees --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/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/haoranyu/clean-closed-issue-worktrees .claude/skills/clean-closed-issue-worktrees && 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-closed-issue-worktrees" agent skill from https://github.com/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktrees into .claude/skills/clean-closed-issue-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-closed-issue-worktrees", 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/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktreesType 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 aiskillstore/marketplace --skill clean-closed-issue-worktrees -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aiskillstore/marketplace clean-closed-issue-worktrees --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/haoranyu/clean-closed-issue-worktrees .agents/skills/clean-closed-issue-worktrees && 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-closed-issue-worktrees" agent skill from https://github.com/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktrees into .agents/skills/clean-closed-issue-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-closed-issue-worktrees", 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 aiskillstore/marketplace --skill clean-closed-issue-worktrees -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aiskillstore/marketplace clean-closed-issue-worktrees --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/haoranyu/clean-closed-issue-worktrees .cursor/skills/clean-closed-issue-worktrees && 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-closed-issue-worktrees" agent skill from https://github.com/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktrees into .cursor/skills/clean-closed-issue-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-closed-issue-worktrees", 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/aiskillstore/marketplace.git --path skills/haoranyu/clean-closed-issue-worktrees--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 aiskillstore/marketplace --skill clean-closed-issue-worktrees -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aiskillstore/marketplace clean-closed-issue-worktrees --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/haoranyu/clean-closed-issue-worktrees .gemini/skills/clean-closed-issue-worktrees && 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-closed-issue-worktrees" agent skill from https://github.com/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktrees into .gemini/skills/clean-closed-issue-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-closed-issue-worktrees", 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 aiskillstore/marketplace clean-closed-issue-worktreesInstalls 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 aiskillstore/marketplace --skill clean-closed-issue-worktrees -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/haoranyu/clean-closed-issue-worktrees .github/skills/clean-closed-issue-worktrees && 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-closed-issue-worktrees" agent skill from https://github.com/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktrees into .github/skills/clean-closed-issue-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-closed-issue-worktrees", 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 aiskillstore/marketplace --skill clean-closed-issue-worktrees -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aiskillstore/marketplace clean-closed-issue-worktrees --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/haoranyu/clean-closed-issue-worktrees .opencode/skills/clean-closed-issue-worktrees && 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-closed-issue-worktrees" agent skill from https://github.com/aiskillstore/marketplace/tree/main/skills/haoranyu/clean-closed-issue-worktrees into .opencode/skills/clean-closed-issue-worktrees/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clean-closed-issue-worktrees", 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-closed-issue-worktreesSafely audit and remove Git worktrees linked to closed GitHub or GitLab issues.
Clean Closed Issue Worktrees is an agent skill from aiskillstore/marketplace. Safely audit and remove Git worktrees linked to closed GitHub or GitLab issues. Use when scanning worktrees, verifying issue/PR/MR state, estimating space savings, or cleaning completed work.
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/evidence-schema.md` and `references/harness-detection.md`).
It sits in Development, covering Git worktrees. It works with GitHub and GitLab. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is MIT.
2 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 755bc35. 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 Closed Issue Worktrees loads about 2.1k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 1,040 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 noted patterns worth knowing about, such as sudo or a known installer.
- `.env*`, keys, databases, credentials, uploads, local configuration, and unknown ignored paths require review and explAutomated 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 aiskillstore/marketplace at commit 755bc35, republished under its MIT licence (© aiskillstore). 1,040 words, ~2,059 tokens.
.claude/skills/clean-closed-issue-worktrees/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Clean completed worktrees through a mandatory scan-confirm-execute protocol. Match the language of all user-facing questions, reports, warnings, and results to the user's current language. Preserve commands, paths, branch names, and provider field names verbatim.
Resolve relative resource paths in this file from the skill directory. Before invoking the bundled script, resolve scripts/worktree_cleanup.py to an absolute path so the command does not depend on the target repository's working directory.
rm -rf, git worktree remove --force, git branch -D, unresolved variables, globs, or inferred paths.Identify the repository named by the supplied GitHub/GitLab URL and match it to an exact local remote. Do not assume the remote is origin or the default branch is main/master. If matching is ambiguous, ask the user.
Before browser use, look for a purpose-built provider skill, connector, or MCP. Then try an already authenticated gh/glab, then the official read-only API for public repositories. Use a browser MCP or built-in browser only as the last fallback. If all routes fail, ask the user for access or a closed-issue export. Read provider-access.md when selecting or using a provider route.
Extract candidate issue numbers from local branch names and closing commit messages, then verify each exact item against the provider. Do not treat the first page or first 100 results as exhaustive. Respect explicit filters in the supplied list URL.
Query harness task/session state when tools expose it. Read harness-detection.md for Codex, Claude Code, and unknown harness handling.
Run the local inventory script from a directory outside every removal candidate:
python3 <skill-root>/scripts/worktree_cleanup.py scan \
--repo /absolute/path/inside/repository \
--baseline <matched-remote>/<default-branch> \
--json-out "$TEMP_DIR/scan.json" \
--stdout noneClassify every registered worktree:
closed (or the direct PR/MR is merged), the worktree is clean and unlocked, the harness task is proven inactive or not managed, risky ignored paths are absent, and HEAD is retained by a local/remote ref or the baseline.Report exact paths, issue/PR/MR links and states, branch/detached state, dirty status, harness status, commit retention, ignored-path risks, per-worktree size, and the total estimated reclaimable space. Call directory-size totals estimated reclaimable space, not exact filesystem savings.
Ask one decision at a time when material choices are missing, provide a recommended answer, and look up discoverable facts instead of asking. For the final confirmation, identify the exact batch and state the default recommendation to retain branches.
Strong evidence is one of:
1459-fix-name or issue-1459-name;Closes #1459, provided the worktree has not been reused by another task.Directory numbers, title similarity, ordinary Ref #1459, multiple matches, or a mismatched repository are not strong evidence.
git status can be clean while ignored files would still be deleted. The script reports ignored top-level paths without reading their contents.
node_modules, .venv, dist, build, target, and coverage are considered regenerable and contribute to the space estimate..env*, keys, databases, credentials, uploads, local configuration, and unknown ignored paths require review and explicit approval.Do not enter this phase until the user has seen Phase 1 results and explicitly selected exact targets and branch behavior.
Read evidence-schema.md. Create the normalized selection and plan only in a system temporary directory. Do not add them to the target repository.
If a selected detached HEAD has no retaining ref, offer a backup branch first. Creating it is a separate write and must be included in the user's explicit approval. Use worktree-cleanup/backup-YYYYMMDD-<short-sha> and never overwrite an existing ref.
Create the immutable plan. The script refuses locally unsafe selections:
python3 <skill-root>/scripts/worktree_cleanup.py create-plan \
--repo /absolute/path/inside/repository \
--selection "$TEMP_DIR/selection.json" \
--output "$TEMP_DIR/plan.json"Immediately before execution, re-query every exact issue/PR/MR and harness task state. Abort if an issue reopened, a PR/MR is no longer authoritative, or a task became active.
Execute only with the exact plan_id shown in the confirmation. The script rechecks the whole batch before the first mutation and aborts if HEAD, branch, dirty state, ignored paths, retaining refs, baseline, lock state, registration, path resolution, or repository identity changed:
python3 <skill-root>/scripts/worktree_cleanup.py execute \
--plan "$TEMP_DIR/plan.json" \
--confirm-plan <exact-plan-id> \
--delete-plan-on-successWhen branch deletion was explicitly selected, require a baseline and permit only git branch -d. Squash/rebase branches with unique commits remain preserved unless the user separately approves a backup workflow.
Verify that removed directories and Git registrations are gone, retained branches/backups exist, protected worktrees are unchanged, and report the estimated space reclaimed plus any failures. Delete temporary artifacts after success; export Markdown/JSON only when the user requests a saved audit record.
Never treat prunable as permission. Report it separately. The bundled script intentionally refuses prunable metadata; use a separate exact, user-confirmed recovery or prune workflow after verifying the closed issue and missing directory.
The bundled script requires Python 3.9+ and Git. Provider and harness access remains outside the script so the same skill can run in Codex, Claude Code, and other agent environments without reading credential stores or browser cookies.
© aiskillstore, 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 7 other files (scripts, references) in skills/haoranyu/clean-closed-issue-worktrees of aiskillstore/marketplace.
Open the folder on GitHubat commit 755bc35
Clean Closed Issue Worktrees 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 Closed Issue Worktrees this skillaiskillstore/marketplace | 430 | — | ~2.1k | Automated safety check: Notes | MIT | |
| Conventional Gitsamber/cc-skills | 228 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Greplooponyx-dot-app/onyx | 32k | 4 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Check PRonyx-dot-app/onyx | 32k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Visual Reviewai-dynamo/dynamo | 8.3k | — | ~4.5k | Automated safety check: Pass | Apache-2.0 | |
| Pre-Release PR Triagejamiepine/voicebox | 57k | — | ~3.1k | Automated safety check: Pass | MIT |
samber/cc-skills
Conventional Commits v1.0.0 branch naming, worktree naming, and commit message standards for GitHub and GitLab projects.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
onyx-dot-app/onyx
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.
ai-dynamo/dynamo
Create self-contained interactive HTML code-review dashboards from GitHub or GitLab pull requests, checked-out branch diffs, or supplied unified diffs, with correctness and safe-to-merge scores…
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.
amElnagdy/review-skills
Two-model debate review of a GitHub PR, GitLab MR, Azure DevOps PR, or local working tree, posted as inline comments or printed.
aiskillstore/marketplace
Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).
aiskillstore/marketplace
Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.
aiskillstore/marketplace
Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.
aiskillstore/marketplace
Modern file and content search using fd, ripgrep (rg), and fzf.
aiskillstore/marketplace
Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.
aiskillstore/marketplace
Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.
Categories
Safely audit and remove Git worktrees linked to closed GitHub or GitLab issues. Clean Closed Issue Worktrees is an agent skill from aiskillstore/marketplace. Safely audit and remove Git worktrees linked to closed GitHub or GitLab issues.
Clean Closed Issue Worktrees fits situations like: scanning worktrees; verifying issue/PR/MR state; estimating space savings; cleaning completed work.
Run `npx skills add aiskillstore/marketplace --skill clean-closed-issue-worktrees -a claude-code`. Or copy the skill folder (skills/haoranyu/clean-closed-issue-worktrees in aiskillstore/marketplace) into .claude/skills/clean-closed-issue-worktrees in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aiskillstore/marketplace --skill clean-closed-issue-worktrees -a codex`. Or copy the skill folder (skills/haoranyu/clean-closed-issue-worktrees in aiskillstore/marketplace) into .agents/skills/clean-closed-issue-worktrees 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 aiskillstore/marketplace --skill clean-closed-issue-worktrees -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-closed-issue-worktrees, .gemini/skills/clean-closed-issue-worktrees, .github/skills/clean-closed-issue-worktrees and .opencode/skills/clean-closed-issue-worktrees in your project.
Going by SKILL.md and its folder, Clean Closed Issue Worktrees 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 notes only (mentions a .env file), nothing it rates as a warning. 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 Closed Issue Worktrees is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.2k 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 2.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Clean Closed Issue Worktrees: Conventional Git (samber/cc-skills, 228 stars), Greploop (onyx-dot-app/onyx, 32k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Visual Review (ai-dynamo/dynamo, 8.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.
Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.