cc-master: Skill for Claude Code

.claude/skills/worktree-discipline/SKILL.md

worktree-discipline is a skill for Claude Code from nemori-ai/cc-master. It costs 328 tokens per session (4,684 once invoked), scanned A, original, no licence file.

A skill that defines rules for keeping development work isolated in Git worktrees. A worktree is a separate working directory connected to the same Git repository, useful for keeping parallel changes apart.

In plain words
What is it for?
Use it when starting work in this repository, choosing solo or parallel work, or managing multiple worktrees.
Why use it?
It helps prevent unrelated branches or parallel tasks from interfering with each other's files and state.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is nemori-ai/cc-master's own configuration. It tells Claude Code how to work on cc-master 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 cc-master configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nemori-ai/cc-master. 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/nemori-ai/cc-master/main/.claude/skills/worktree-discipline/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nemori-ai/cc-master

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 worktree-discipline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nemori-ai/cc-master/worktree-discipline"><img src="https://agentmods.dev/badge/skills/nemori-ai/cc-master/worktree-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 328 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,684 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 unknown 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.00328 $0.04684
Opus 5 $0.00164 $0.02342
Sonnet 5 $0.00066 $0.00937
Haiku 4.5 $0.00033 $0.00468

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

Security

Grade A, and why

worktree-discipline 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 10d 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/skills/worktree-discipline/SKILL.md · 129 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 10d ago First seen · 129 lines · 328 tokens per session scan A 27c6d907dc19

Subscribe to this mod's changes

worktree-discipline is a skill published in the GitHub repository nemori-ai/cc-master (12 stars, last pushed 1mo ago), with no licence file. It adds 328 tokens to every session and 4,684 once invoked, about $0.0016 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

dockerized-service-release-deployment-workflow

Create a Dockerized-service release contract with clean GitHub Actions builds, main-anchored tags, immutable digest manifests, published-release deployments, production approval, health checks, and exact-digest rollback.

gaelic-ghost/socket · 49 tokens

coordinate-worktrees-and-threads

Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker will inspect or modify repository state outside the coordinator's worktree.

gaelic-ghost/socket · 44 tokens

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

worktrees

Manage Git worktrees as OMO safe isolated coding lanes for complex, risky, or parallel work.

alvinunreal/oh-my-opencode-slim · 23 tokens

atmos-hooks

Atmos hooks: lifecycle events, hook kinds, command/store/git/security hooks, step/steps hooks, when: conditions, scoping and overrides, toolchain integration, --skip-hooks, and Atmos Pro/local output.

cloudposse/atmos · 46 tokens

atmos-pro

Atmos Pro setup and workflows: settings.pro, GitHub OIDC, affected and inventory uploads, stack locks, pro commit, workflow dispatch, merge queues, and drift detection.

cloudposse/atmos · 38 tokens