本文へ移動
cccskills
無料GitHub で公開

subagent-setup

Configure and synchronize multi-harness subagents (Claude Code, Google Antigravity, OpenCode, ChatGPT Codex CLI) with optional per-harness model overrides and single source of truth in .aos/pipeline.json.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.9 KB
  • scripts/setup-subagents.mjs8.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Skill: subagent-setup — Multi-Harness Subagent Configuration

Manages and synchronizes autonomous subagent roles across all four supported execution harnesses:

  1. Claude Code (.claude/agents/*.md)
  2. Google Antigravity (~/.gemini/config/agents/*.json)
  3. OpenCode (.opencode/agents/*.md)
  4. ChatGPT Codex CLI (.codex/agents/*.toml & .codex/agents/*.md)

Single Source of Truth: .aos/pipeline.json (compatible with AO Orchestrator Pipeline Wizard).


1. Models

AOS pins no model. Agents inherit the session model on every harness. A model is written only when .aos/pipeline.json sets one for that role and harness, as a free-form string passed through verbatim. Shape, per-harness examples and the aos-doctor format check: docs/agent-models.md.


2. CLI Usage

View Current Pipeline Status

node skills/global_config/subagent-setup/scripts/setup-subagents.mjs --show

Initialize Default Pipeline Configuration

node skills/global_config/subagent-setup/scripts/setup-subagents.mjs --init-default

Update a Specific Role

# Example: Set Reviewer to an external CLI harness with a lightweight model
node skills/global_config/subagent-setup/scripts/setup-subagents.mjs \
  --set-role reviewer --harness codex --model <model-id>

# Example: Set Shipping to OpenCode with Free Tier
node skills/global_config/subagent-setup/scripts/setup-subagents.mjs \
  --set-role godmode_shipping --harness opencode --model <model-id>

# Example: Enable or Disable a Role
node skills/global_config/subagent-setup/scripts/setup-subagents.mjs --set-role godmode_media_eventtech --enable
# Role keys are the agent slugs with "-" as "_"; the old short keys (shipping, ui_ux, ...) are still accepted and rewritten.

Synchronize to All Harnesses

node skills/global_config/subagent-setup/scripts/setup-subagents.mjs --sync

3. Integration with aos-project-init & AO Orchestrator

  • AO Orchestrator (Port 3101): The Pipeline Wizard (Schritt 3 von 4: Agenten & Rollen) directly reads and writes .aos/pipeline.json.
  • aos-project-init: Offers subagent configuration during project interview, with no model pinned by default.

4. Running an installed copy

The script imports the AOS installer.js module. In a repo checkout it finds it by relative path. An installed copy (~/.agents/skills/subagent-setup/scripts/) has no repo around it: set AOS_HOME to the AOS package folder (the one that contains installer.js), or install @hybridlabor-api/aos globally. Without either it exits with code 2 and lists the paths it tried.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Reference for how BDB structures autonomous software engineering work — the seven-node dispatcher graph (Architect, TechLead, UI/UX, Engineering, Media/EventTech, Reviewer, Shipping) that /startcycle-graph actually runs. Use when you need the high-level lifecycle framing without inventing your own process.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

Harness patterns for coding agents — memory, permissions, context engineering, delegation, skills, hooks, bootstrap.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

agenttrail: live map of a multi-agent build in the browser: which plan component is being worked on, by which agent or harness, what is done and what is stuck. Use when a multi-agent pipeline starts (/startcycle, /startcycle-graph, /teamwork-preview) or after a plan-canvas approve, when the user asks to see what the agents are doing ("live map", "build board", "who is running now"), or by yourself whenever a multi-agent run is under way — no user prompt needed.

日本語の概要は準備中です。原文の説明を表示しています。

hybridlabor-api/aos62026年10月12日 更新

hybridlabor-api のスキルをすべて見る

このスキルの問題を報告する