git-wt — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited git-wt (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Create a worktree with git wt and work without polluting the main branch. If anything goes wrong, git wt -d cleans it back up.
Pick a branch name from the task description and create the worktree.
git wt <branch-name> --nocd--nocd keeps the current directory in place after creation and only prints the new worktree path to stdout. The worktree is created under .wt/<branch-name>/. Hold on to the printed path as a logical variable WORKTREE_PATH in the agent's context — this is a name used to reference the path in later steps, not a shell environment variable.
Every subsequent operation must happen under WORKTREE_PATH.
$WORKTREE_PATH/src/...cd $WORKTREE_PATH && <command>After the work is done, tell the user:
cd $WORKTREE_PATH && git push -u origin <branch-name> → open a PR)Following the behavior of Claude Code's claude -w, branch cleanup based on whether there are changes.
#### No changes (nothing committed, nothing modified)
Automatically delete the worktree and branch. No user confirmation needed.
git wt -d <branch-name>#### Changes or commits exist
Ask the user whether to keep or delete:
cd $WORKTREE_PATH.# Normal delete (branch already merged)
git wt -d <branch-name>
# Force delete (unmerged changes; only when the user explicitly authorizes)
git wt -D <branch-name>Worktrees are created under .wt/<branch-name>/. A / in the branch name nests the filesystem path further and makes references and operations like git wt -d harder to track. Therefore, use a flat, single-segment name — do not use slashes (avoid feat/...).
Use hyphenated prefixes for the kind of work. Do not name branches after an agent (e.g. codex-); match the task instead (e.g. feat-auth-module, not codex-auth-module).
| Kind | Prefix | Example |
|---|---|---|
| New feature | feat- | feat-add-dark-mode |
| Bug fix | fix- | fix-image-upload-error |
| Refactoring | refactor- | refactor-auth-module |
| Documentation | docs- | docs-update-readme |
| Config / chores | chore- | chore-update-deps |
When spawning multiple sub-agents via the Agent tool, create a separate worktree per branch name. Pass each worktree path explicitly to its agent.
git wt feat-feature-a --nocd # → .wt/feat-feature-a
git wt feat-feature-b --nocd # → .wt/feat-feature-bgit wt command this skill assumes.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.