ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 kpeez

subagents

このセッションのサブエージェントをアニメーション表示するペイン。各エージェントの横を Clawd が歩き、種類、タスク、直近のツール呼び出しを表示します。/subagents で開きます

kpeez@kpeez

kpeez/agent-toolbox/tree/main/claude-mods/subagents

翻訳済み

この mod について

agent-toolbox

agent-toolbox は AI コーディングエージェント向けの移植可能な 3 つのプラグインを提供します:

  • SWE — 作業の改善と計画、変更の実装とレビュー、プルリクエストの配送を行う skill。
  • Lab — ソースに基づく調査、再現可能な実験ループ、データ可視化のガイダンス。
  • Uni — 質問、アクティブリコール、理解を深める演習による対話型レッスン。Uni のインストールと使い方を参照してください。

また、claude-mods/ 以下に Claude Code 専用 mod も含まれます:

  • activity — セッションのツール呼び出し、所要時間、失敗を表示するライブペイン。claude plugin install activity@agent-toolbox でインストールし、/activity で開きます。
  • subagents — 各サブエージェントの種類、タスク、直近のツール呼び出し、経過時間を表示する Clawd スプライトのアニメーションペイン。最初のサブエージェントが起動し、画面にサイドペインの余地があると開きます。claude plugin install subagents@agent-toolbox でインストールし、/subagents で表示・非表示を切り替えます。

SWE はマージ済みプルリクエストとコードを記録として扱います。大きな作業は短い計画から開始して新しいセッションへ渡せます。設定済みのミラーリングを使えば Linear に紐づく計画も同期できます。その実装規律は不要なコードに異議を唱え、最終検証前に完成した変更を簡素化します。問題のない作業はそのままにできます。公開はユーザーの許可に従います。

Lab は研究成果物と委譲を拡張しながら、ソース確認と実験の境界を保ちます。どちらのプラグインにもスケジューラーや別のワークフローサービスは必要ありません。

Uni は学習者の試行、説明、復習結果を中心に据えます。必要に応じて、ガイド付き再構成、批評、例、想起、転移を組み合わせます。レビューは呼び出したときに実行されます。長期的なスケジューリングは Anki などの外部ツールに任せられます。

インストール

Claude Code

/plugin marketplace add kpeez/agent-toolbox
/plugin install swe@agent-toolbox
/plugin install lab@agent-toolbox
/plugin install uni@agent-toolbox

Codex CLI

codex plugin marketplace add kpeez/agent-toolbox
codex plugin add swe@agent-toolbox
codex plugin add lab@agent-toolbox
codex plugin add uni@agent-toolbox

skills.sh の skill のみを任意でインストール

npx skills@latest add kpeez/agent-toolbox

これは編集可能な skill だけをインストールします。プラグインエージェントにはプラグインのインストールも必要です。

教育ワークスペース

Uni には、HTML レッスン、参考資料、ミッション、学習記録を備えた永続的な学習ワークスペース用の teach が含まれています。元のワークフローと 4 つの形式テンプレートを維持し、上流の帰属表示を提供します。会話型チュータリングには learn を使い、学習ワークスペースを作成するには teach を明示的に呼び出します。Codex では $uni:teach、Claude Code では /uni:teach です。

以前のインストールでは、このリポジトリの以前の skills/teach ディレクトリを指す ~/.codex/skills/teach または ~/.agents/skills/teach のシンボリックリンクがある場合があります。Uni 更新後は重複検出を避けるため、そのレガシーリンクを削除します。独立して編集した skill ディレクトリは残してください。

委譲

実装 skill は独立した部分を含む大きな作業を swe:orchestrate へルーティングします。skill 選択前に同じ判断をするには、ユーザー単位の AGENTS.md(Codex)または CLAUDE.md(Claude)に次のルールを追加します:

独立して実行できる部分を含む大きな作業では swe:orchestrate を使って委譲する。密に結合した作業は 1 つのエージェントで行う。 独立したレビューはレビュー担当者へ直接送る。

プラグインはユーザー指示を編集しません。既存のセッションには以前の指示が残ることがあります。更新後は新しいセッションを使います。

プロジェクトドキュメント

ADR、メモ、調査はデフォルトで .agents/docs/ に置かれます。明示されたプロジェクト設定またはユーザーの上書きに従います。必要に応じてサブディレクトリを作成します。場所は通常のディレクトリでもシンボリックリンクでもよく、追跡対象でも無視対象でもかまいません。セットアップ手順、Vault、生成された AGENTS.md/CLAUDE.md は必要ありません。

計画

計画は <main checkout>/.agents/plans/ にあり、すべての worktree で共有されます。ディレクトリ自身の .gitignore によって git から除外されます。

ABC-123-short-slug.md という名前の計画は、設定済みの host Stop hook により Linear issue ABC-123 のドキュメントへ一方向にミラーできます(plan_sync.py)。Linear personal API key は LINEAR_API_KEY から、なければ ~/.config/swe/linear-api-key(モード 0600、XDG_CONFIG_HOME に従う)から読み取るため、shell の設定は不要です。キーがない場合、または名前に issue key がない場合、計画はローカルに残り、ブロックされません。hook の配送方法はホストによって異なるため、重要な場合は同期状態を確認してください。GitHub にリンクした計画は別の公開経路を設定しない限りローカルに残ります。

新しい autoresearch 実行はプログラム、台帳、ログ、設定、生成図を artifacts/autoresearch/<tag>/ 下に保存します。既存の実行は記録済みパスを保持します。設定済みの vault には完了メモと、メモに埋め込まれた参照図だけが届きます。

レイアウト

  • plugins/swe/ — SWE の skill、エージェント、計画同期 hook。
  • plugins/lab/ — Lab の skill、ランタイムスクリプト、参考資料。
  • plugins/uni/ — チュータリング skill、教育ワークスペースのワークフロー、テンプレート、概念演習、研究ノート。
  • claude-mods/<mod>/ — Claude Code の function-hook mod。mod ごとに 1 プラグインで、Claude のカタログにのみ掲載。
  • .claude-plugin/marketplace.json — Claude marketplace カタログ。
  • .agents/plugins/marketplace.json — Codex marketplace カタログ。

バージョニング

各プラグインのバージョンを両方のマニフェストで手動更新し、値を同一に保ちます(claude-mods/ 下の mod は Claude マニフェストのみ)。

  • plugins/<plugin>/.claude-plugin/plugin.json

  • plugins/<plugin>/.codex-plugin/plugin.json

  • plugins/<plugin>/.claude-plugin/plugin.json

  • plugins/<plugin>/.codex-plugin/plugin.json

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add kpeez/agent-toolbox
claude plugin install subagents
原文 / README

agent-toolbox

agent-toolbox provides three portable plugins for AI coding agents:

  • SWE — skills for sharpening and planning work, implementing and reviewing changes, and shipping pull requests.
  • Lab — source-backed research, reproducible experiment loops, and data-visualization guidance.
  • Uni — interactive lessons with questions, active recall, and exercises that deepen understanding. See Uni installation and usage.

It also provides Claude Code-only mods under claude-mods/:

  • activity — a live pane of the session's tool calls, with durations and failures. Install it with claude plugin install activity@agent-toolbox, then run /activity to open it.
  • subagents — an animated pane of the session's subagents: a Clawd sprite per agent with its type, task, latest tool call, and elapsed time. It opens when the first subagent starts, where the screen has room for a side pane. Install it with claude plugin install subagents@agent-toolbox; /subagents shows or hides it.

SWE treats the merged pull request and the code as the record. Large work can start from a short plan that hands off to a fresh session, with configured mirroring for Linear-linked plans. Its implementation discipline challenges unnecessary code and simplifies the completed change before final verification. Sound work can stay unchanged. Publication follows the user's authorization.

Lab keeps source checks and experiment boundaries while scaling research artifacts and delegation to the question. Neither plugin requires a scheduler or a separate workflow service.

Uni keeps the learner's attempts, explanations, and review outcomes central. It combines guided reconstruction, criticism, examples, retrieval, and transfer as needed. Reviews run when invoked. Anki or another external tool can handle long-term scheduling.

Install

Claude Code

/plugin marketplace add kpeez/agent-toolbox
/plugin install swe@agent-toolbox
/plugin install lab@agent-toolbox
/plugin install uni@agent-toolbox

Codex CLI

codex plugin marketplace add kpeez/agent-toolbox
codex plugin add swe@agent-toolbox
codex plugin add lab@agent-toolbox
codex plugin add uni@agent-toolbox

Optional skills.sh skill-only install

npx skills@latest add kpeez/agent-toolbox

This installs editable skills only. Plugin agents still require a plugin installation.

Teaching workspace

Uni includes teach for a persistent learning workspace with HTML lessons, references, a mission, and learning records. It preserves the original workflow and four format templates, with upstream attribution. Use learn for conversational tutoring and explicitly invoke teach to author a learning workspace: $uni:teach in Codex or /uni:teach in Claude Code.

An earlier installation may have a ~/.codex/skills/teach or ~/.agents/skills/teach symlink to this repository's former skills/teach directory. After updating Uni, remove that legacy symlink to avoid duplicate discovery. Preserve any independently edited skill directory.

Delegation

The implementation skill routes substantial work with independent parts to swe:orchestrate. To make the same decision before skill selection, add this rule to your user-level AGENTS.md (Codex) or CLAUDE.md (Claude):

For substantial work with independently executable parts, use swe:orchestrate to delegate them. Keep tightly coupled work with one agent. Send a single independent review directly to the reviewer.

The plugin does not edit user instructions. Existing sessions may retain prior instructions; use a fresh session after updating.

Project documents

ADRs, notes, and research default to .agents/docs/. Follow an explicit project or user override. Create subdirectories as needed; the location may be a regular directory or symlink, tracked or ignored. No setup step, vault, or generated AGENTS.md/CLAUDE.md is required.

Plans

Plans live in <main checkout>/.agents/plans/, shared by all worktrees. The directory keeps itself out of git with its own .gitignore.

A plan named ABC-123-short-slug.md can be mirrored one way to a document on Linear issue ABC-123 by a configured host Stop hook (plan_sync.py). It reads a Linear personal API key from LINEAR_API_KEY, or else from ~/.config/swe/linear-api-key (mode 0600, honoring XDG_CONFIG_HOME), so no shell configuration is needed. Without a key, or without an issue key in the name, plans stay local and nothing is blocked. Hook delivery varies by host; confirm sync state when it matters. GitHub-linked plans remain local unless a separate publication route is configured.

New autoresearch runs keep their program, ledgers, logs, configuration, and generated figures under artifacts/autoresearch/<tag>/. Existing runs retain their recorded paths. A configured vault receives closeout notes and only the reference figures those notes embed.

Layout

  • plugins/swe/ — SWE skills, agents, and the plan-sync hook.
  • plugins/lab/ — Lab skills and their runtime scripts and references.
  • plugins/uni/ — tutoring skills, the teaching workspace workflow, templates, concept exercises, and research notes.
  • claude-mods/<mod>/ — Claude Code function-hook mods, one plugin per mod, listed in the Claude catalog only.
  • .claude-plugin/marketplace.json — Claude marketplace catalog.
  • .agents/plugins/marketplace.json — Codex marketplace catalog.

Versioning

Update each plugin's version manually in both manifests, and keep the values identical (a mod under claude-mods/ has the Claude manifest only):

  • plugins/<plugin>/.claude-plugin/plugin.json
  • plugins/<plugin>/.codex-plugin/plugin.json

関連作品