worktree-assign

worktree-assign is a skill for Claude Code from ishida-supsys/oretachi. It costs 98 tokens per session (742 once invoked), scanned A, original, MIT.

A worktree assignment guide for creating a Git worktree and sending a coding task to an AI agent. A worktree is a separate working directory that lets a branch be worked on independently.

In plain words
What is it for?
Use it to check repositories and existing worktrees, prepare a task prompt, select an optional workgroup, and launch the work asynchronously.
Why use it?
It helps choose the right repository, avoid duplicate tasks, clarify vague requests, and give the assigned agent enough context to start correctly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to check repositories and existing worktrees, prepare a task prompt, select an optional workgroup, and launch the work asynchronously.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ishida-supsys/oretachi/worktree-assign
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 ishida-supsys/oretachi --skill worktree-assign
Clone the repo
git clone --depth 1 https://github.com/ishida-supsys/oretachi

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ishida-supsys/oretachi/worktree-assign/github.svg)](https://agentmods.dev/skills/ishida-supsys/oretachi/worktree-assign)
Your own site
<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/worktree-assign"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/worktree-assign/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-assign

Your own site · 80×15
<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/worktree-assign"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/worktree-assign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 742 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.00098 $0.00742
Opus 5.5 $0.00039 $0.00297
Sonnet 5.5 $0.00020 $0.00148
Haiku 4.5 $0.00010 $0.00074

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

Security

Grade A, and why

worktree-assign 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.

src-tauri/skills-home/worktree-assign/SKILL.md · 38 lines

What it actually says

worktree-assign スキル

新しい作業を受け取り、ワークツリーを作ってエージェントに割り当てる。

手順

  1. oretachi_list_repository で登録リポジトリと branchNamePattern を確認する。
  2. oretachi_get_worktree_status で、同じ作業のワークツリーが既に無いか確認する。 description やブランチ名が近いものがあれば、新規作成せずそちらを使うようユーザーに提案する。
  3. 作業内容が曖昧なら、着手前に 1〜2 点だけ確認する(対象リポジトリ・スコープ)。
  4. ユーザーが追加先ワークグループを指定している場合のみ、oretachi_list_workgroups で 一覧を取得して該当する name(または id)を確認する。 指定が無ければ引数を省略する。この場合の追加先は UI で現在選択中のワークグループで、 isDefault: true のグループとは限らない。どこに入ったかを断定して報告しないこと。
  5. oretachi_add_task にプロンプトを渡す。oretachi 側が ワークツリー作成 → セットアップスクリプト実行 → エージェント起動まで非同期で行う。 追加先を指定する場合は workgroup_name(表示名)か workgroup_id を併せて渡す。 一致しない名前を渡すとエラーになり、タスクは作成されない。

プロンプトの書き方

oretachi_add_task に渡すプロンプトは、割り当て先のエージェントがそのまま読む指示になる。

  • 対象リポジトリ名を明記する
  • 何を達成すれば完了かを 1 行で書く
  • 既知の制約(触ってはいけない箇所、参照すべきファイル)があれば添える

禁止事項

  • 重複するワークツリーを確認せずに作らない
  • 作業内容が全く不明なまま oretachi_add_task を呼ばない
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 First seen · 38 lines · 98 tokens per session scan A 69962a9b0dd8

Subscribe to this mod's changes

worktree-assign is a skill published in the GitHub repository ishida-supsys/oretachi (2 stars, last pushed 3d ago), licensed MIT. It adds 98 tokens to every session and 742 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

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

ccmanager-config

Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global /.config/ccmanager/config.json. Use when someone wants ccmanager to launch a different agent CLI (codex, gemini, cursor-agent, copilot…), add command presets, run a command on session state changes or worktree…

kbwo/ccmanager · 123 tokens

lov-rename-project

A project-renaming workflow that updates a product or repository name across source files, configuration, and documentation. It produces a reviewable plan and preserves compatibility-sensitive names and references where needed.

lovstudio/skills · 45 tokens

ox-cli-session-review

Audit every session in the project ledger for quality, then offer cleanup and regeneration. Carries the operational knowledge from the 2026-04-25 cleanup (the cache-only invariant and a failure-mode watch-list) that no single ox subcommand backs. Use when the user asks to "review the ledger sessions", "audit session…

sageox/ox · 112 tokens

lov-gh-tidy

Interactive GitHub repo hygiene skill. Lists all open issues, PRs, stale branches, and orphan labels, shows a summary of each with analysis, then asks the user how to handle each item (close, merge, comment, delete, keep). Executes all chosen actions via gh CLI. Use when the user says "清理 GitHub", "tidy repo", "clean…

lovstudio/skills · 95 tokens

ox-cli-pr-header

Emit and paste the SageOx credit line at the TOP of a pull-request description — the human-facing counterpart to the machine SageOx-Session: trailer. Run ox pr header at PR-creation time; it renders a thin, on-brand, dark/light-aware single line linking the session(s), plan(s), and discussion(s) that produced the…

sageox/ox · 138 tokens