← All skills
workspace-gc
92 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By agentydragon/ducktape (GitHub) · coding · 11 stars · scanned at commit 0f6c736
Inspect and safely clean stale local dev state: unused Git worktrees, merged branches, orphaned Bazel output bases, unreferenced repo-contents-cache entries. Use for pruning worktrees/branches or reclaiming Bazel disk — drive the `workspace-gc` tool and apply PR judgment to REVIEW items.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. Expected for a coding skill.
Found in 30 places.
Show 17 more
- devinfra/gc/conftest.py, line 34
return subprocess.run(["git", "-C", str(self.path), *args], check=True, capture_output=True, text=True) - devinfra/gc/foreign_clone_gc.py, line 157
except (OSError, subprocess.CalledProcessError) as error: - devinfra/gc/git_repo.py, line 32
INSPECTION_ERRORS = (GitError, pygit2.GitError, KeyError, ValueError, OSError, subprocess.SubprocessError) - devinfra/gc/git_repo.py, line 45
_running_git: set[subprocess.Popen[str]] = set() - devinfra/gc/git_repo.py, line 60
def git(repo: Path, *args: str, check: bool = True) -> subprocess.CompletedProcess[str]: - devinfra/gc/git_repo.py, line 62
with subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) as process: - devinfra/gc/git_repo.py, line 71
raise subprocess.CalledProcessError(process.returncode, command, stdout, stderr) - devinfra/gc/git_repo.py, line 72
return subprocess.CompletedProcess(command, process.returncode, stdout, stderr) - devinfra/gc/github_prs.py, line 34
"gh", "auth", "token", stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.DEVNULL - devinfra/gc/output_base_gc.py, line 628
result = subprocess.run( - devinfra/gc/output_base_gc.py, line 631
stdout=subprocess.PIPE, - devinfra/gc/output_base_gc.py, line 632
stderr=subprocess.DEVNULL, - devinfra/gc/output_base_gc.py, line 636
except OSError, subprocess.CalledProcessError, ValueError, IndexError: - devinfra/gc/test_bazel_output_base_gc.py, line 418
holder = subprocess.Popen( - devinfra/gc/test_bazel_output_base_gc.py, line 426
stdin=subprocess.PIPE, - devinfra/gc/test_bazel_output_base_gc.py, line 427
stdout=subprocess.PIPE, - devinfra/gc/test_github_prs.py, line 28
subprocess.run(["git", "-C", str(repo), "init", "-q"], check=True)
and 10 more places
Connects to the internet
This is disclosed by the author in the skill's SKILL.md or README.
Found in 10 places.
Show 7 more
- devinfra/gc/test_github_prs.py, line 41
def _always_merged(request: httpx.Request) -> httpx.Response: - devinfra/gc/test_github_prs.py, line 43
return httpx.Response(200, json=_merged_nodes_for(request)) - devinfra/gc/test_github_prs.py, line 46
def _refuse_batch_containing(branch: str, refusal: dict) -> Callable[[httpx.Request], httpx.Response]: - devinfra/gc/test_github_prs.py, line 49
def handler(request: httpx.Request) -> httpx.Response: - devinfra/gc/test_github_prs.py, line 51
return httpx.Response(200, json=refusal) - devinfra/gc/test_github_prs.py, line 136
async def handler(request: httpx.Request) -> httpx.Response: - devinfra/gc/test_github_prs.py, line 151
async def handler(request: httpx.Request) -> httpx.Response:
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'workspace-gc' ] || [ -L ~/.agents/skills/'workspace-gc' ]; then echo 'A skill folder named workspace-gc already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/agentydragon/ducktape' "$d" && git -C "$d" checkout --quiet '0f6c7366e360008c0b067bcff173a088d6886981' -- 'devinfra/gc' && mkdir -p ~/.agents/skills && cp -R "$d"/'devinfra/gc' ~/.agents/skills/'workspace-gc' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'workspace-gc' ~/.claude/skills/'workspace-gc' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for agentydragon/ducktape shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/agentydragon/ducktape/)
Score history
| Date | Version | Score |
|---|
| 2026-11-11 | 0f6c736 | 92 |
| 2026-11-08 | b7f2df6 | 95 |