vibing-worktree-create

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

A command for creating an isolated Git worktree, which is a separate working directory linked to the same repository and branch history.

In plain words
What is it for?
It is for starting a vibing.nvim task in its own branch and directory when work needs to be isolated.
Why use it?
It lets a task have its own branch and files, reducing the risk that parallel coding work overwrites changes in another task.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/shabaraba/vibing.nvim/vibing-worktree-create
Any agent
npx skills add shabaraba/vibing.nvim --skill vibing-worktree-create
Clone the repo
git clone --depth 1 https://github.com/shabaraba/vibing.nvim

Made for: Claude Code, Codex.

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-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/vibing-worktree-create.svg)](https://agentmods.dev/skills/shabaraba/vibing.nvim/vibing-worktree-create)
Your own site
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/vibing-worktree-create"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/vibing-worktree-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 688 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00067 $0.00688
Opus 5 $0.00034 $0.00344
Sonnet 5 $0.00013 $0.00138
Haiku 4.5 $0.00007 $0.00069

Measured 5d ago against content hash a55fe83adbb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

vibing-worktree-create 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 5d 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.

claude-plugin/skills/vibing-worktree-create/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vibing-worktree-create

Git worktrees provide isolated working directories for parallel development. This skill uses plain git commands and this chat's own frontmatter — no bespoke helper script, no metadata file. A worktree's existence on disk is its entire state.

Directory convention

Worktrees created for isolated work go under .vibing/worktrees/<branch-name>/ at the git root — flat, one worktree per directory, nothing else stored alongside it. This convention is also stated in every vibing.nvim chat's system prompt; follow it so git worktree list stays predictable for later listing (see the vibing-worktree-list skill).

Create — "split this off into its own worktree"

  1. Derive a short, English, lowercase, kebab-case branch name from the task being discussed (e.g. "認証セッションのバグを直したい" → fix-auth-session-bug). Confirm it with the user if the mapping isn't obvious — a wrong name is annoying to rename later.

  2. Create the worktree:

    git worktree add -b <branch> .vibing/worktrees/<branch>
    

    If this fails (branch already checked out elsewhere, etc.), the error is self-explanatory — surface it verbatim rather than retrying blindly with a different name.

  3. Edit this chat's frontmatter through the live Neovim buffer, not the file on disk — a brand-new chat (first exchange in a freshly opened buffer) has no file on disk yet, so Read/Edit against a path will simply fail or find nothing. Use the vibing-nvim MCP tools instead, which operate on buffer content regardless of save state:

    1. Call nvim_get_buffer({ bufnr }) with the buffer number from the system prompt's Current vibing.nvim chat buffer number: line to read the current content. Don't reach for nvim_get_info or bufnr: 0 — those give whichever buffer has focus, which may be another one entirely.
    2. Set working_dir: .vibing/worktrees/<branch> (relative to the git root) in the frontmatter block, then call nvim_set_buffer({ bufnr, lines }) with the full updated content.

Read the full file on GitHub · 50 lines

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. 5d ago First seen · 50 lines · 67 tokens per session scan A a55fe83adbb3

Subscribe to this mod's changes

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

add-sponsor

Add, move or remove a sponsor logo in the README and on the install page. Use when a GitHub sponsor reaches the Team or Company tier, when a sponsorship lapses, or when a sponsor sends a new logo asset.

agarwalvishal/claude-chat-exporter · 50 tokens

code-review

Pre-commit code review using code-reviewer agent for bug detection, security analysis, and quality assurance. Manual invocation only. Use before git commits to catch issues early. Blocks commits on REQUESTCHANGES verdict.

arpitnath/claude-capsule-kit · 45 tokens

debug

Systematic debugging using error-detective and debugger agents instead of manual investigation. Triggers automatically on: error, bug, broken, failing, exception, stack trace, test failure. Orchestrates RCA-first approach with parallel agent investigation.

arpitnath/claude-capsule-kit · 50 tokens

deep-context

Build deep codebase understanding using Capsule context, progressive-reader, and specialist agents instead of overwhelming main context. Triggers on: don't have context, understand codebase, learn about, need background. Implements progressive context building.

arpitnath/claude-capsule-kit · 47 tokens

task-router

Decision matrix for choosing optimal approach to any task. Helps Claude decide when to delegate to sub-agents vs. working directly. Use when starting a new task or unsure of best approach.

arpitnath/claude-capsule-kit · 43 tokens

workflow

Systematic task orchestration for complex multi-step tasks. Triggers automatically when detecting: complex task, multi-step work, coordinate, orchestrate, break down. Guides through Understand → Strategy → Plan → Execute → Verify phases for comprehensive systematic approach.

arpitnath/claude-capsule-kit · 51 tokens