vibing-worktree-attach

vibing-worktree-attach is a skill for Claude Code from shabaraba/vibing.nvim. It costs 77 tokens per session (333 once invoked), scanned A, original, MIT.

A way to attach the current vibing.nvim chat to an existing Git worktree. A worktree is a separate folder connected to the same Git repository, useful for working on another branch in isolation.

In plain words
What is it for?
Listing available worktrees and switching the chat to an existing worktree for a feature, fix, or other branch.
Why use it?
It lets you continue the conversation in the code folder you choose without creating another worktree. This helps keep the chat and the intended branch aligned.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the vibing-nvim plugin — 12 skills, 1 agent shipped together

Good fit Listing available worktrees and switching the chat to an existing worktree for a feature, fix, or other branch.

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

Made for: Claude Code.

Or install vibing-nvim, the plugin that ships this one along with the rest of its 12 skills, 1 agent.

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 vibing-worktree-attach

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/vibing-worktree-attach"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/vibing-worktree-attach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 333 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.00077 $0.00333
Opus 5.5 $0.00031 $0.00133
Sonnet 5.5 $0.00015 $0.00067
Haiku 4.5 $0.00008 $0.00033

Measured 16d ago against content hash c40fbc9e9a56, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vibing-worktree-attach 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 16d 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.

agent-plugin/skills/vibing-worktree-attach/SKILL.md · 28 lines

What it actually says

vibing-worktree-attach

Git worktrees provide isolated working directories for parallel development. This skill points this chat's own working_dir frontmatter at an already-existing worktree — it never creates one (see the vibing-worktree-create skill for that) and never runs git worktree add.

Attach — "what worktrees are there? — let's go into the auth one"

Works the same whether this is a brand-new chat's first exchange or mid-conversation in an existing one.

  1. Surface candidates (see the vibing-worktree-list skill):

    git worktree list --porcelain
    
  2. Once the user picks one, follow step 4 of the vibing-worktree-create skill to point this chat's own working_dir frontmatter at the chosen worktree's path via the vibing-nvim MCP tools — the worktree already exists, so there's no git worktree add step to run first, and there's no new chat buffer to open (the current conversation continues, and its next turn already runs in the chosen worktree).

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. 16d ago Changed c40fbc9e9a56
  2. 1mo ago First seen · 28 lines · 77 tokens per session scan A 0f1105f1115b

Subscribe to this mod's changes

vibing-worktree-attach is a skill published in the GitHub repository shabaraba/vibing.nvim (13 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 333 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

nav-pilot

Dispatch a Navigator task doc to Pilot as a labeled GitHub issue. Use when user says "dispatch TASK-XX to Pilot", "hand off to Pilot", "send to Pilot", or "queue for Pilot". One-way handoff (Navigator authors the spec, Pilot executes autonomously).

qf-studio/navigator · 62 tokens

dex-rollback

Rewind one receipt-backed Dex adoption through the frozen lifecycle service. Use when the user says 'undo the update', 'go back', 'that broke something after updating'. Not for applying an update; use dex-update.

davekilleen/Dex · 49 tokens

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-ultimate-guide · 86 tokens

security-pipeline

Use when security verification is needed - pre-commit security checks, vulnerability scanning, STRIDE threat analysis. Integrates with /handoff-verify --security and /commit-push-pr. CWE Top 25 based.

sangrokjung/claude-forge · 48 tokens

land-and-deploy

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

FlorianBruniaux/claude-code-ultimate-guide · 24 tokens

git-ai-archaeology

Analyze AI config evolution in a git repo. Use when mapping AI adoption history, finding when configs were first introduced, charting commit velocity by month, or identifying maturity phases in a project's AI tooling.

FlorianBruniaux/claude-code-ultimate-guide · 47 tokens