Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skillsnpx agentmods add skills/seaworld008/commonly-used-high-value-skills/git-worktree-managerWrote 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.
[](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/git-worktree-manager)<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/git-worktree-manager"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/git-worktree-manager/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.
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/git-worktree-manager"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/git-worktree-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 30 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 64 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 65 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 111 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01254 |
| Opus 5.5 | $0.00012 | $0.00502 |
| Sonnet 5.5 | $0.00006 | $0.00251 |
| Haiku 4.5 | $0.00003 | $0.00125 |
Grade A, and why
git-worktree-manager 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Worktree Manager
Tier: POWERFUL
Category: Engineering
Domain: Parallel Development & Branch Isolation
Overview
Use these manual templates to isolate branches, runtime configuration and local services across worktrees.
Core Capabilities
- Worktree lifecycle — create, list, switch and clean up worktrees
- Port allocation — select unused ports for the services each worktree runs
- Environment setup — use project examples or managed test configuration
- Docker Compose overrides — adapt the port mapping for each stack
- Conflict Prevention — detect and warn about shared resources, database names, and API endpoints
- Cleanup & Pruning — safe removal with stale branch detection and uncommitted work warnings
When to Use This Skill
- Running multiple Claude Code sessions on different features simultaneously
- Working on a hotfix while a feature branch has uncommitted work
- Reviewing a PR while continuing development on your branch
- Parallel CI/testing against multiple branches
- Monorepo development with isolated package changes
Worktree Creation Workflow
Step 1: Create Worktree
# Create worktree for a new feature branch
git worktree add ../project-feature-auth -b feature/auth
# Create worktree from an existing remote branch
git worktree add ../project-fix-123 origin/fix/issue-123
# Create worktree with tracking
git worktree add --track -b feature/new-api ../project-new-api origin/main
Step 2: Environment Setup
Prepare runtime configuration only for a task that needs it.
-
Use the project's example configuration or inject scoped test credentials through its existing mechanism. Copy real credentials only when the user explicitly authorizes the files and destination.
-
If execution needs dependencies, use the project's package manager and locked install command within the worktree.
-
For local services, check availability and allocate distinct ports. Example assignments:
Main worktree: localhost:3000 (dev), :5432 (db), :6379 (redis) Worktree 1: localhost:3010 (dev), :5442 (db), :6389 (redis) Worktree 2: localhost:3020 (dev), :5452 (db), :6399 (redis)
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.
- 11d ago Changed 45cb9f144569
- 12d ago Changed · -11 lines 18bc86ccc542
- 2mo ago Changed · -28 tokens per session a7659ca434d8
- 2mo ago First seen · 173 lines · 58 tokens per session scan A 4e9cf18ab41a
git-worktree-manager is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (75 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 1,254 once invoked, about $0.0001 per session on Opus 5.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-09-03.
git-worktree-manager compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-worktree-managerseaworld008/Commonly-used-high-value-skills | Skill | 75 | yesterday | MIT | A | 30 | Claude Code, Codex |
| upgrading-core-dependenciesJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 59 | Claude Code, Codex |
| shipping-a-prJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| reviewing-a-prJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 56 | Claude Code, Codex |
| omh-github-issue-intakerlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 25 | Claude Code |
| omh-commit-pr-authoringrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 19 | Claude Code |
| omh-git-workflowrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 23 | Claude Code |