AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Spin Worktree

skill-connorgriffin-skills-spin-worktree · by ConnorGriffin

Create an isolated Git worktree for issue, pull-request, branch, or parallel agent work without editing the control checkout. Use when starting task work from fresh remote state, avoiding a dirty or shared checkout, or preparing a dedicated worktree for another agent.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-connorgriffin-skills-spin-worktree

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-connorgriffin-skills-spin-worktree)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
14d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Spin Worktree? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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

  1. Resolve the control repository and pass it explicitly with --repo.
  2. Resolve this installed skill's directory.
  3. Run one of the commands below.
  4. Report the exact path and use it as the working directory.
  5. 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.

  • --name accepts 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.