dot-ai-worktree-prd

dot-ai-worktree-prd is a skill for Claude Code from vfarcic/dot-ai. It costs 32 tokens per session (418 once invoked), scanned B, original, MIT.

A workflow that creates a separate Git worktree for work on a product requirements document, or PRD. A worktree is another working copy of the same repository, allowing the PRD work to use its own branch and files.

In plain words
What is it for?
Use it when starting work on a numbered PRD, with or without already knowing its title, and when you need the resulting branch and worktree path.
Why use it?
It isolates PRD changes from the current checkout and gives the branch a descriptive name. It can also copy local settings needed by the new worktree.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it when starting work on a numbered PRD, with or without already knowing its title, and when you need the resulting branch and worktree path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vfarcic/dot-ai/dot-ai-worktree-prd
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 vfarcic/dot-ai --skill dot-ai-worktree-prd
Clone the repo
git clone --depth 1 https://github.com/vfarcic/dot-ai

Made for: Claude Code.

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 dot-ai-worktree-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/vfarcic/dot-ai/dot-ai-worktree-prd/github.svg)](https://agentmods.dev/skills/vfarcic/dot-ai/dot-ai-worktree-prd)
Your own site
<a href="https://agentmods.dev/skills/vfarcic/dot-ai/dot-ai-worktree-prd"><img src="https://agentmods.dev/badge/skills/vfarcic/dot-ai/dot-ai-worktree-prd/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 dot-ai-worktree-prd

Your own site · 80×15
<a href="https://agentmods.dev/skills/vfarcic/dot-ai/dot-ai-worktree-prd"><img src="https://agentmods.dev/badge/skills/vfarcic/dot-ai/dot-ai-worktree-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, 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 Agent Snooping · line 35
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
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.00032 $0.00418
Opus 5.5 $0.00013 $0.00167
Sonnet 5.5 $0.00006 $0.00084
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade B, and why

dot-ai-worktree-prd 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (create.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

cp .claude/settings.local.json [worktree_path]/.claude/settings.local.json
.claude/skills/dot-ai-worktree-prd/SKILL.md · 51 lines

What it actually says

Create Git Worktree for PRD

Create a git worktree with a descriptive branch name based on the PRD title.

Workflow

Step 1: Identify the PRD

Infer the PRD number from the current conversation. Look for references like "PRD 353", "PRD #353", or "prd-353".

If not found, ask the user: "Which PRD should I create a worktree for? (e.g., 353)"

Step 2: Create the Worktree

If the PRD title is already known from conversation context, pass both number and title:

bash .claude/skills/dot-ai-worktree-prd/create.sh [number] "[title]"

Otherwise let the script look it up from prds/:

bash .claude/skills/dot-ai-worktree-prd/create.sh [number]

Step 3: Copy Local Settings

Copy .claude/settings.local.json from the main repo to the new worktree so local settings (which are not tracked in git) are available:

cp .claude/settings.local.json [worktree_path]/.claude/settings.local.json

If the source file doesn't exist, skip this step silently.

Step 4: Handle Result

  • If SUCCESS=true: report the branch name, worktree path, and suggest cd [worktree_path]
  • If ERROR=true: show the errors to the user and ask how to proceed

Guidelines

  • Descriptive names: Branch names describe the feature, not just the PRD number
  • Base on main: Always branches from main for new feature work
  • Clean names: The script keeps branch names concise and URL-safe
Files

What ships with it

1 file 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. 3mo ago First seen · 51 lines · 32 tokens per session scan B 583237f66c8e

Subscribe to this mod's changes

dot-ai-worktree-prd is a skill published in the GitHub repository vfarcic/dot-ai (339 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 418 once invoked, about $0.0001 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-30.

Related

dot-ai-worktree-prd compared with skills from other repositories

dot-ai-worktree-prd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dot-ai-worktree-prdvfarcic/dot-aiSkill3393d agoMITB32Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k4d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k2d agoMITA51Claude Code
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex