platform: Skill for Claude Code

.agents/skills/using-git-worktrees/SKILL.md

using-git-worktrees is a skill for Claude Code, Codex from tutur3u/platform. It costs 23 tokens per session (287 once invoked), scanned A, a copy of using-git-worktrees, Apache-2.0.

A workflow for Git worktrees, which are separate working folders linked to the same Git repository so multiple branches can be worked on at once.

In plain words
What is it for?
Use it when starting isolated feature work or following an implementation plan that should not disturb the current branch.
Why use it?
It isolates feature work from the current workspace and checks directory choices and safety conditions before creating a worktree.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is tutur3u/platform's own configuration. It tells Claude Code and Codex how to work on platform 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 platform configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tutur3u/platform. 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/tutur3u/platform/main/.agents/skills/using-git-worktrees/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tutur3u/platform

Made for: Claude Code, Codex.

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 using-git-worktrees

README.md
[![agentmods](https://agentmods.dev/badge/skills/tutur3u/platform/using-git-worktrees/github.svg)](https://agentmods.dev/skills/tutur3u/platform/using-git-worktrees)
Your own site
<a href="https://agentmods.dev/skills/tutur3u/platform/using-git-worktrees"><img src="https://agentmods.dev/badge/skills/tutur3u/platform/using-git-worktrees/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 using-git-worktrees

Your own site · 80×15
<a href="https://agentmods.dev/skills/tutur3u/platform/using-git-worktrees"><img src="https://agentmods.dev/badge/skills/tutur3u/platform/using-git-worktrees.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 287 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 88% copy Near-identical to another mod 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.00023 $0.00287
Opus 5.5 $0.00009 $0.00115
Sonnet 5.5 $0.00005 $0.00057
Haiku 4.5 $0.00002 $0.00029

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

Security

Grade A, and why

using-git-worktrees 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 1mo 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.

Origin

This is a copy

88% identical to using-git-worktrees — 228 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/using-git-worktrees/SKILL.md · 25 lines

What it actually says

Isolated Git Worktrees

Use an isolated worktree when concurrent edits, an open PR, or risky branch operations need a separate working directory and index. Inspect status and existing worktrees; preserve user-owned work and use the repository's directory and branch conventions. Otherwise prefer an existing ignored worktree directory, or .worktrees/ when suitable. Verify a project-local directory is ignored before creating it. Do not force-checkout an occupied branch or reset another worktree.

Create the worktree from the intended base with `git worktree add -b

Track the worktree's branch, owned changes, and validation. Integrate through the user-authorized commit/PR/release path. Remove only a clean, completed worktree whose changes are confirmed integrated and whose required delivery checks passed. Preserve unmerged or blocked worktrees and report why they remain.

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. 1mo ago Changed · -193 lines · -12 tokens per session c0d37bb08f55
  2. 1mo ago First seen · 218 lines · 35 tokens per session scan A 4e2aeeb74033

Subscribe to this mod's changes

using-git-worktrees is a skill published in the GitHub repository tutur3u/platform (55 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 287 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to using-git-worktrees, differing in 228 lines, and is treated as a copy.

Related

Other skills, from other repositories

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens

frontend-engineer

!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults" !cat .forgewright/codebase-context.md…

buiphucminhtam/forgewright · 55 tokens

update-skills

Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says "learn!", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.

microsoft/vscode · 51 tokens

sync

Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.

microsoft/vscode · 52 tokens

contrib-pr

Open a high-quality external contributor PR against prisma/orm. Use when the user is an outside contributor (not a Prisma maintainer) and wants to submit a change as a pull request from a fork. Encodes the contribution flow from CONTRIBUTING.md so the resulting PR passes review on the first round.

prisma/orm · 65 tokens

nextjs-pages-router

Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.

trpc/trpc · 67 tokens