Install
$ agentstack add skill-connorgriffin-skills-spin-worktree ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Spin an isolated worktree
Keep the ordinary checkout as the control checkout and create one worktree per task. The bundled helper refuses to update a dirty control checkout.
By default worktrees live under ${AGENT_WORKTREE_ROOT:-~/worktrees}:
~/worktrees//
Workflow
- Resolve the control repository and pass it explicitly with
--repo. - Resolve this installed skill's directory.
- Run one of the commands below.
- Report the exact path and use it as the working directory.
- Do not remove the worktree automatically. Cleanup belongs to task closeout
after merge.
New issue branch:
python3 /scripts/spin-worktree.py \
--repo /path/to/repository \
--issue 317 \
--slug rescue-context
Existing pull-request branch, discovered with GitHub CLI:
python3 /scripts/spin-worktree.py \
--repo /path/to/repository \
--pr 321
Existing branch:
python3 /scripts/spin-worktree.py \
--repo /path/to/repository \
--branch codex/issue-316 \
--name pr321
Use --dry-run to inspect commands. Override defaults with --worktree-root, --remote, --base, or --branch-prefix.
Guardrails
- Use one worktree path and branch per task.
- Never switch branches in another agent's active worktree.
- Do not reuse an existing target path unless inspection proves it belongs to
the same task.
- New issue work updates the remote and starts from its current default branch
unless --base is supplied.
- Existing local branches do not require a remote.
- Pull-request discovery requires authenticated
gh. A same-repository head
is fetched when needed. A fork head fails with the exact fork and branch to configure, rather than pretending it exists under origin.
--nameaccepts one relative directory leaf, never a path.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ConnorGriffin
- Source: ConnorGriffin/skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.