worktree-report

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

A report that combines the status of all Git worktrees, which are separate working directories linked to one repository. It can include branches, changed files, running terminals, assigned agents, and pull requests.

In plain words
What is it for?
Use it to review ongoing work across worktrees, filter the report, identify attention items, or focus on a particular worktree.
Why use it?
It avoids checking each worktree, terminal, and pull request separately when you need to understand the whole workspace.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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/ishida-supsys/oretachi/worktree-report
Any agent
npx skills add ishida-supsys/oretachi --skill worktree-report
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-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/ishida-supsys/oretachi/worktree-report.svg)](https://agentmods.dev/skills/ishida-supsys/oretachi/worktree-report)
Your own site
<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/worktree-report"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/worktree-report.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 945 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.00089 $0.00945
Opus 5 $0.00044 $0.00473
Sonnet 5 $0.00018 $0.00189
Haiku 4.5 $0.00009 $0.00094

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

Security

Grade A, and why

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

src-tauri/skills-home/worktree-report/SKILL.md · 59 lines

What it actually says

worktree-report スキル

ワークツリー群の現状を 1 画面で把握できるレポートにまとめる。

手順

  1. oretachi_get_worktree_status で全ワークツリーを取得する(isHome / isRepository は除外)。 query を渡せば name / branchName / description の部分一致で絞り込める。 各エントリの workgroupName が所属ワークグループ(表示名)。レポートはこれで章立てする。
  2. oretachi_inspect_worktree で各ワークツリーの git 状態を取得する。
  3. oretachi_list_terminals でターミナルの稼働状況(running / exited、AI エージェントの有無)を取得する。
  4. 必要なら gh pr list --json number,title,headRefName,state で PR 状態を突き合わせる。 ブランチ名で紐付ける。gh が無い環境ではこの列を省略する。
  5. workgroupName ごとにグループ分けし、下記フォーマットで表を出力する。 最後に注意が必要なものを 2〜3 行でまとめる。

出力フォーマット

ワークグループごとに見出しを立て、その配下に表を出す。 グループが 1 つしかない場合は見出しを省略してよい。

## グループ(1)

ワークツリー      ブランチ              状態     端末   PR      作業内容
oretachi-jaqo     worktree/home-...     dirty 3  claude #112    ホームターミナルの実装
oretachi-k3p1     fix/tray-focus        clean    —      #111 M  トレイのフォーカス修正

## リリース準備

ワークツリー      ブランチ              状態     端末   PR      作業内容
oretachi-9x2b     release/0.29.0        clean    —      #120 O  0.29.0 のリリース作業
  • 状態: clean / dirty N / merged→<branch>
  • 端末: 動作中のプロセス名。停止済みなら
  • PR: 番号と状態(O=OPEN, M=MERGED, C=CLOSED)

ワークツリーを見せる

「〜の様子を見せて」「〜を開いて」と言われたら oretachi_show_worktree でフォーカスを移す。 レポート中に特定のワークツリーへ誘導したいときにも使える。

まとめの観点

  • 未コミット変更を抱えたまま長く放置されているもの
  • PR がマージ済みなのに残っているもの(worktree-cleanup の候補)
  • エージェントが承認待ちで止まっているもの

禁止事項

  • レポート作成のためにワークツリーの内容を変更しない(読み取り専用の作業)
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 · 59 lines · 89 tokens per session scan A d8e250f190a2

Subscribe to this mod's changes

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