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 2mo 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 2mo 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. 2mo ago Changed c40fbc9e9a56
  2. 3mo 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 yesterday), 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

vibing-worktree-attach compared with skills from other repositories

vibing-worktree-attach next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vibing-worktree-attachshabaraba/vibing.nvimSkill13yesterdayMITA77Claude Code
contributing-to-awesome-claudeJSONbored/awesome-claudeSkill3082d agoMITA209Claude Code
nav-pilotqf-studio/navigatorSkill35819d agoMITA62Claude Code
dex-rollbackdavekilleen/DexSkill5255d agoMITA49Claude Code, Codex
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A41Claude Code
pr-triageFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A73Claude Code
git-worktree-cleanFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A19Claude Code