worktree

worktree is a skill for Claude Code from AnExiledDev/CodeForge. It costs 117 tokens per session (2,033 once invoked), scanned B, original, no licence file.

A skill for using Git worktrees, which are separate working folders linked to different branches of the same repository. It covers creating, managing, and cleaning up those folders.

In plain words
What is it for?
Use it to create a worktree, work on parallel branches, configure shared files, list worktrees, or clean them up.
Why use it?
It helps keep parallel development tasks isolated so changes in one task do not interfere with another. It also explains the files and lifecycle involved.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the skill-engine plugin — 23 skills shipped together

Good fit Use it to create a worktree, work on parallel branches, configure shared files, list worktrees, or clean them up.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anexileddev/codeforge/worktree
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AnExiledDev/CodeForge --skill worktree
Clone the repo
git clone --depth 1 https://github.com/AnExiledDev/CodeForge

Made for: Claude Code.

Or install skill-engine, the plugin that ships this one along with the rest of its 23 skills.

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 worktree

README.md
[![agentmods](https://agentmods.dev/badge/skills/anexileddev/codeforge/worktree/github.svg)](https://agentmods.dev/skills/anexileddev/codeforge/worktree)
Your own site
<a href="https://agentmods.dev/skills/anexileddev/codeforge/worktree"><img src="https://agentmods.dev/badge/skills/anexileddev/codeforge/worktree/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for worktree

Your own site · 80×15
<a href="https://agentmods.dev/skills/anexileddev/codeforge/worktree"><img src="https://agentmods.dev/badge/skills/anexileddev/codeforge/worktree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00117 $0.02033
Opus 5.5 $0.00047 $0.00813
Sonnet 5.5 $0.00023 $0.00407
Haiku 4.5 $0.00012 $0.00203

Measured 1mo ago against content hash 9a324e32dea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

worktree scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**/.claude/settings.local.json
container/.devcontainer/plugins/devs-marketplace/plugins/skill-engine/skills/worktree/SKILL.md · 229 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 229 lines · 117 tokens per session scan B 9a324e32dea8

Subscribe to this mod's changes

worktree is a skill published in the GitHub repository AnExiledDev/CodeForge (10 stars, last pushed 2mo ago), with no licence file. It adds 117 tokens to every session and 2,033 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

release-notes

Draft user-facing release notes from a git log range. Trigger when the user asks for "release notes", "changelog entry", or "what shipped this week" with a git ref range. Output is markdown sections grouped by Features / Fixes / Breaking with PR links.

jnMetaCode/ai-coding-guide · 59 tokens

shipping-a-pr

Use when finished work needs to ship as a pull request, or when creating, syncing, updating metadata, checking status, monitoring CI, or addressing review comments on a PR. Not for reviewing a PR you are not shipping.

JetBrains/thinkrail · 49 tokens

core-workflow

Detailed development workflow patterns, checklists, and standards. Auto-loads for complex tasks, planning, debugging, or when explicit patterns are needed. Contains session protocols, git conventions, security checklists, review-based validation, and communication standards.

travisjneuman/.claude · 52 tokens

debug-systematic

Systematic 4-phase debugging methodology for complex, intermittent, or mysterious issues. Use when investigating bugs, race conditions, or unexplained failures.

travisjneuman/.claude · 33 tokens

auto-claude

Autonomous multi-agent coding with git worktree isolation, QA validation, and memory. Use for complex features requiring autonomous implementation.

travisjneuman/.claude · 30 tokens

conventional-commits

Use when uncommitted changes need to be split into atomic, conventional commits ordered for review. Triggers on "commit this", "make commits", "clean up commits", "commit the changes". In Hedgehog, each Loop step is already meant to be its own commit — this skill matters most when a Correction Protocol fast-forward…

skyf0xx/hedgehog · 88 tokens