ai-agent-board: Skill for Claude Code

.squad/skills/squad-worktree-lifecycle/SKILL.md

squad-worktree-lifecycle is a skill for Claude Code, Codex from DanWahlin/ai-agent-board. It costs 19 tokens per session (205 once invoked), scanned A, original, MIT.

A skill for safely managing Git worktrees and merges for an AI-agent board. A Git worktree is a separate working directory connected to the same repository, useful for isolated branches.

In plain words
What is it for?
Use it when creating or cleaning up worktrees, rewriting repository paths, merging local branches, or creating pull requests.
Why use it?
It reduces the risk of mixing agent changes, rewriting paths incorrectly, or leaving behind worktrees after an unsafe or failed merge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is DanWahlin/ai-agent-board's own configuration. It tells Claude Code and Codex how to work on ai-agent-board itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agent-board configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DanWahlin/ai-agent-board. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DanWahlin/ai-agent-board/main/.squad/skills/squad-worktree-lifecycle/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DanWahlin/ai-agent-board

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for squad-worktree-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/danwahlin/ai-agent-board/squad-worktree-lifecycle.svg)](https://agentmods.dev/skills/danwahlin/ai-agent-board/squad-worktree-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/danwahlin/ai-agent-board/squad-worktree-lifecycle"><img src="https://agentmods.dev/badge/skills/danwahlin/ai-agent-board/squad-worktree-lifecycle.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 205 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00205
Opus 5 $0.00010 $0.00102
Sonnet 5 $0.00004 $0.00041
Haiku 4.5 $0.00002 $0.00020

Measured 8d ago against content hash 3b0e57ccf1c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

squad-worktree-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.squad/skills/squad-worktree-lifecycle/SKILL.md · 29 lines

What it actually says

Context

Use for changes to worktree creation, path rewriting, merge-local, PR creation, cleanup, or agent session repo paths.

Patterns

  • Neo owns runtime/worktree mechanics; Cypher reviews path safety; Switch verifies behavior.
  • Preserve the per-repo mutex for operations that checkout/merge branches.
  • Auto-abort merge conflicts and surface explicit errors.
  • Clean up worktrees only after successful merge or PR flow.

Examples

  • A merge-local change needs conflict behavior evidence and branch-safety review.
  • A path rewrite hook change needs proof tools cannot escape the intended worktree.

Anti-Patterns

  • Do not change branches inside an active worktree unexpectedly.
  • Do not normalize paths with string replacement alone when filesystem resolution is required.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 29 lines · 19 tokens per session scan A 3b0e57ccf1c2

Subscribe to this mod's changes

squad-worktree-lifecycle is a skill published in the GitHub repository DanWahlin/ai-agent-board (57 stars, last pushed 14d ago), licensed MIT. It adds 19 tokens to every session and 205 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

python-release

Handle Python SDK release, build, bump, packaging metadata, PyPI client pin, uv.lock, nox/build workflow, and publish verification changes. Use for Python release process work or dependency pin bumps; do not use for ordinary Python feature implementation.

ComposioHQ/composio · 53 tokens

fanout

Run independent subtasks in parallel — one git worktree and one implementation sub-agent per task, each opening its own PR — then cross-review every PR. polly never merges; the human does.

omnigent-ai/omnigent · 43 tokens

fork-fleet

Fork divergence monitor - tracks where the fleet's active forks diverge in CODE (unique commits, new/modified skills) and CONFIG (enable/var/model/schedule vs upstream), gated on real change.

aeonfun/aeon · 45 tokens