cuecards: Skill for Claude Code

.agents/skills/vc-merge-worktree/SKILL.md

vc:merge-worktree is a skill for Claude Code from opencue/cuecards. It costs 44 tokens per session (295 once invoked), scanned A, original, MIT.

A workflow helper for merging a completed Git worktree branch back into the main checkout and cleaning up the finished worktree.

In plain words
What is it for?
Use it to verify the worktree, merge its branch, remove the worktree, delete the merged local branch, and prune stale worktree records.
Why use it?
It reduces mistakes when combining changes from a separate working directory and removing its branch afterward.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is opencue/cuecards's own configuration. It tells Claude Code how to work on cuecards itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cuecards configures →

Reuse

Borrowing it

Nothing to install: this file belongs to opencue/cuecards. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/opencue/cuecards/main/.agents/skills/vc-merge-worktree/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/opencue/cuecards

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 vc:merge-worktree

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencue/cuecards/vc-merge-worktree.svg)](https://agentmods.dev/skills/opencue/cuecards/vc-merge-worktree)
Your own site
<a href="https://agentmods.dev/skills/opencue/cuecards/vc-merge-worktree"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/vc-merge-worktree.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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.
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.00044 $0.00295
Opus 5 $0.00022 $0.00148
Sonnet 5 $0.00009 $0.00059
Haiku 4.5 $0.00004 $0.00030

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

Security

Grade A, and why

vc:merge-worktree 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 3d 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.

.agents/skills/vc-merge-worktree/SKILL.md · 32 lines

What it actually says

Merge Worktree

Use this skill for safe worktree merge and cleanup. Skip RIPER-5 mode routing for this operational task.

Workflow

  1. Confirm the current path is a worktree, not the main checkout.
  2. Run git status --short and stop if there are uncommitted changes.
  3. Capture the current branch and worktree path.
  4. Locate the main checkout with git worktree list.
  5. Switch to the main checkout and update main if the user wants latest remote changes included.
  6. Merge the worktree branch into main.
  7. If merge succeeds, remove the worktree with git worktree remove <path>.
  8. Delete the local branch with git branch -d <branch>.
  9. Run git worktree prune.
  10. Report the merge result and whether a push is still needed.

Safety

  • Never run from main or master.
  • Never delete a branch before a successful merge.
  • Stop on conflicts and explain the exact recovery state.
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. 3d ago First seen · 32 lines · 44 tokens per session scan A a8af1e8e6ff2

Subscribe to this mod's changes

vc:merge-worktree is a skill published in the GitHub repository opencue/cuecards (5 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 295 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

atomic-git-discipline

Compressed commit message and PR body generator. Cuts noise from both while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious; PR bodies state only what the diff can't show, 120 words max. Use when user says "write a commit", "commit message", "generate…

damusix/atomic-claude · 106 tokens

repo-hygiene

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository for small, certain docs/test/code hygiene issues and fix them as one batched branch.

QwenLM/qwen-code · 48 tokens

docs-update-from-diff

Review local code changes with git diff and update the official docs under docs/ to match. Use when the user asks to document current uncommitted work, sync docs with local changes, update docs after a feature or refactor, or when phrases like "git diff", "local changes", "update docs", or "official docs" appear.

QwenLM/qwen-code · 75 tokens

moai-workflow-worktree

Git worktree management for parallel SPEC development with isolated workspaces, automatic branch registration, and seamless MoAI-ADK integration. Use when setting up parallel development environments.

modu-ai/moai-adk · 41 tokens

safe-extraction

Apply when extracting code from a large monolith file into submodules. Covers barrel re-exports, internals DI seam proxy patterns, CI invariant allowlist updates, and cross-file test verification. Prevents CI failures, broken imports, and test regressions from code extraction.

ZaxbyHub/opencode-swarm · 60 tokens

memstack-security-git-guard

Use when the user says 'git-guard', 'check git protection', 'is this repo protected', 'verify gitleaks', 'set up git hooks', 'install git-guard', or wants to confirm a repo blocks secrets and internal files before commit. This is an installer and verifier, NOT a scanner (gitleaks does the actual scanning). Do NOT use…

cwinvestments/memstack · 92 tokens