---
title: "tree-of-mods"
url: "https://claudemods.dev/ja/builds/tree-of-mods-219a1c"
source: "https://github.com/hacksurvivor/claude-mods/tree/main/mods/tree-of-mods"
source_type: "github"
repo: "https://github.com/hacksurvivor/claude-mods/tree/main/mods/tree-of-mods"
author: "hacksurvivor"
author_handle: "hacksurvivor"
stars: 2
category: "ツール・連携"
categories: ["tools"]
tags: ["claude-code", "github", "marketplace", "mod-manager", "plugin"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add hacksurvivor/claude-mods\nclaude plugin install tree-of-mods@hacksurvivor"
added: "2026-10-05T15:42:00.153Z"
updated: "2026-11-18T08:54:20Z"
locale: "ja"
content_locale: "ja"
---

# tree-of-mods

すべての mod をチャット横の1つのペインにまとめる Claude Code mod です。`/mods` と入力します。

## Description

# Mod のツリー

すべての mod をチャット横の1つのペインにまとめる Claude Code mod です。`/mods` と入力します。

![Mod のツリー：チャット横のペインに、リポジトリのクローン数、ページビュー、状態付きの mod を表示](assets/tree-of-mods.png)

- **自分のもの**：公開済みか自分のコンピューターだけにあるかを問わず、自分で作った mod と、そのテスト、各 mod が行ったことです。GitHub から、リポジトリの 14 日間のクローン数と、公開した各 mod のページビューも取得します。mod をクリックすると詳細と **Publish** が表示されます。Claude に準備を頼み、コミットや push の前で停止します。
- **インストール済み**：marketplace からインストールしたプラグインと、そのバージョン、更新です。
- **更新**：[Updates](../updates) が見つけた内容です。**Update all**、行ごとの **Update**、適応済みコピー用の **Review**、パスワードが必要なもの用の **Copy command** を提供します。
- **On** と **Off**：どの項目も切り替えられます。インストール済みプラグインには `claude plugin enable` と `disable` を使い、自分の mod には設定の `CLAUDE_CODE_PLUGIN_DIRS` を使います。

インストール数は表示しません。Claude Code は作者に報告しないためです。GitHub のクローン数はリポジトリ全体の数字で、自分の分も含みます。

## mod の場所

デフォルトでは、この mod が置かれているフォルダーと、そのリポジトリの GitHub リモートを使います。別の場所を指定するには `~/.claude/tree-of-mods/config.json` に書きます。

```json
{ "modsDir": "~/code/my-mods/mods", "repo": "you/my-mods" }
```

## 要件

- Claude Code 2.1.286 以降（mods）。ペインは Claude デスクトップアプリのチャット横にドッキングします。
- Python 3 と、リポジトリのトラフィックにアクセスできる状態でログインした GitHub CLI（`gh`）。数値の取得に使います。
- Updates タブ用の [Updates](../updates)。

## インストール

Claude Code で実行します。

```
/plugin marketplace add hacksurvivor/claude-mods
/plugin install tree-of-mods@hacksurvivor
/reload-plugins
```

## 実行、読み取り、書き込み

- **実行** `bin/inventory.py` は mod フォルダーと git の状態、インストール済みプラグイン、Updates のレポート、リポジトリの GitHub トラフィック（`gh api`、GET のみ、1時間キャッシュ）を読み取ります。mod のファイルが変わると `claude plugin test` で各 mod のテストを実行します。
- **書き込み** は要求したときだけです。切り替えは `~/.claude/settings.json` を先にバックアップして変更するか、`claude plugin enable` または `disable` を実行します。更新はその更新手順を実行し、Publish は Claude にプロンプトを送ります。
- **送信** GitHub へのトラフィック要求と、開始した更新が話しかけるサービス以外には何も送りません。
- **保持** キャッシュを `~/.claude/tree-of-mods/` に保持します。

[PRIVACY.md](PRIVACY.md) を参照してください。

## ライセンス

Apache-2.0

## Install

```
claude plugin marketplace add hacksurvivor/claude-mods
claude plugin install tree-of-mods@hacksurvivor
```

## Original README

# The Tree of Mods

A Claude Code mod that puts all your mods in one panel beside the chat. Type `/mods`.

![The Tree of Mods: the panel beside the chat with the repo's clones, page views, and your mods with their status](assets/tree-of-mods.png)

- **Yours**: the mods you make, published or only on your computer, with their tests and what each has done. Your repo's clones over 14 days and the page views of each published mod, from GitHub. Click a mod for its details and **Publish**, which asks Claude to prepare it and stops before committing or pushing.
- **Installed**: the plugins you installed from marketplaces, with versions and updates.
- **Updates**: what [Updates](../updates) found, with **Update all**, **Update** per row, **Review** for adapted copies, and **Copy command** for ones that need your password.
- **On** and **Off** switch any of them: installed plugins with `claude plugin enable` and `disable`, your own mods in your settings' `CLAUDE_CODE_PLUGIN_DIRS`.

Install counts aren't shown: Claude Code doesn't report them to authors. GitHub's clones count the whole repository and include your own.

## Where your mods are

By default, the folder this mod sits in and the GitHub remote of its repository. To point it elsewhere, write `~/.claude/tree-of-mods/config.json`:

```json
{ "modsDir": "~/code/my-mods/mods", "repo": "you/my-mods" }
```

## Requirements

- Claude Code 2.1.286 or later (mods). The panel docks beside the chat in the Claude desktop app.
- Python 3, and the GitHub CLI (`gh`) signed in with access to your repo's traffic, for the numbers.
- [Updates](../updates), for the Updates tab.

## Install

In Claude Code:

```
/plugin marketplace add hacksurvivor/claude-mods
/plugin install tree-of-mods@hacksurvivor
/reload-plugins
```

## What it runs, reads and writes

- **Runs** `bin/inventory.py`, which reads your mods folder and its git state, your installed plugins, the Updates report, and GitHub's traffic numbers for your repo (`gh api`, GET only, cached for an hour). It runs each mod's tests with `claude plugin test` when its files changed.
- **Writes** only when you ask: a switch changes `~/.claude/settings.json` (backed up first) or runs `claude plugin enable` or `disable`; an update runs that update's steps; Publish sends Claude a prompt.
- **Sends** nothing to anyone but GitHub (the traffic requests) and the services an update you start talks to.
- **Keeps** its cache in `~/.claude/tree-of-mods/`.

See [PRIVACY.md](PRIVACY.md).

## License

Apache-2.0
