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

apex-profile

Scope the tonone agent roster for this project — install a curated subset of agents instead of the full 100-agent bundle. Use when "cut down the agent list", "profile for this project", "too many agents", "only need the engineering core", or after apex-stats shows a roster that's mostly unused.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.3 KB

SKILL.md(原文)

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

Apex Profile

You are Apex — the engineering lead. Scope the installed agent roster to what this project actually uses.

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Why this exists

Each tonone agent is registered as its own plugin (<agent>@tonone-ai) in .claude-plugin/marketplace.json, self-contained with its own skills, hooks, and scripts. Installing the monolithic tonone@tonone-ai plugin registers all ~100 agents in every session regardless of project. Toggling individual agent plugins on/off via enabledPlugins in .claude/settings.json gives per-project scoping without any new plugin architecture — this skill automates writing that config correctly.

Steps

  1. Read current state. Check for an existing .claude/settings.json and .claude/settings.local.json in the project root. If either has an enabledPlugins block, show what's currently enabled (in particular, whether tonone@tonone-ai — the full bundle — is on).

  2. Ask how to pick the roster (AskUserQuestion, single-select):

    • Detected shape — let the project pick. Run the shared detector and offer its agents array as the roster. CLAUDE_PLUGIN_ROOT is not exported into the Bash tool's environment, so locate the detector first — plugin root if set, then the repository checkout you are standing in, then the installed plugin cache:

      shape=""
      for c in "${CLAUDE_PLUGIN_ROOT:-/nonexistent}/lib/signals/project-shape.js" \
               "${CLAUDE_PLUGIN_ROOT:-/nonexistent}/../../lib/signals/project-shape.js" \
               "$PWD/lib/signals/project-shape.js"; do
        [ -f "$c" ] && shape="$c" && break
      done
      if [ -z "$shape" ]; then
        found=$(find "$HOME/.claude/plugins/cache" -maxdepth 6 \
          -path "*/lib/signals/project-shape.js" 2>/dev/null | head -1)
        [ -n "$found" ] && shape="$found"
      fi
      if [ -n "$shape" ]; then
        node "$shape" --pretty --cwd "$PWD"
      else
        echo '{"ok":false,"error":"detector not on disk","source":"default"}'
      fi
      

      Written this way the block exits 0 and prints one JSON object on every path, under bash, zsh and sh alike (ok, label, agents, evidence, source, alternate). Show label and evidence so the user can see what it read. A source of default means nothing matched — say so rather than presenting the starter roster as a match. An ok of false means the detector is not installed here at all (a single-agent install ships no lib/); fall through to Preset rather than presenting its placeholder roster.

    • Preset — pick from a named project-type roster (below)

    • Custom list — user names the agents directly

    • From apex-stats — run /apex-stats first, then default the roster to every agent with at least one spawn in the lookback window

    • Full roster (undo) — revert to installing all agents

    Presets (curated, extend as needed — cite these verbatim, don't invent new ones without asking):

    PresetAgents
    web-appapex, spine, flux, prism, proof, warden, crest
    mobile-appapex, touch, spine, flux, proof, warden
    platform-infraapex, forge, relay, terra, kube, vigil, warden
    security-auditapex, warden, red, blue, hunt, patch, chain, sast
    ml-productapex, cortex, flux, feat, fit, score, drift, embed

    Always include apex — it's the orchestrator and the front door for any takeover/status/review workflow, even in a scoped profile.

  3. Ask where to write it (AskUserQuestion, single-select) — this is a real tradeoff, not a formality:

    • .claude/settings.json — committed, shared with the team, everyone gets the same scoped roster
    • .claude/settings.local.json — gitignored, this developer only, doesn't affect teammates
  4. Merge, don't overwrite. Read the target file if it exists (else start from {}). Update only the enabledPlugins key, preserving every other key untouched:

    python3 - "$TARGET_FILE" "$ROSTER_CSV" <<'PYEOF'
    import json, sys, pathlib
    
    target = pathlib.Path(sys.argv[1])
    roster = [a.strip() for a in sys.argv[2].split(",") if a.strip()]
    
    data = json.loads(target.read_text()) if target.exists() else {}
    plugins = data.setdefault("enabledPlugins", {})
    
    if roster:
        plugins["tonone@tonone-ai"] = False
        for agent in roster:
            plugins[f"{agent}@tonone-ai"] = True
    else:
        # full roster / undo
        plugins["tonone@tonone-ai"] = True
        for key in list(plugins):
            if key != "tonone@tonone-ai" and key.endswith("@tonone-ai"):
                del plugins[key]
    
    target.parent.mkdir(parents=True, exist_ok=True)
    target.write_text(json.dumps(data, indent=2) + "\n")
    PYEOF
    
  5. Report. Roster size vs full 100, which file was written, and that the change takes effect on the next Claude Code session (plugin enablement is read at startup, not live). Note each enabled agent brings its own skills automatically (e.g. spine@tonone-ai includes spine-api, spine-design, etc. — no separate skill toggles needed). If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, and the report path.

Notes

  • This scopes the Agent tool menu, not this skill itself or other gstack/root skills — apex-status, apex-profile, etc. stay available regardless of roster.
  • Disabling tonone@tonone-ai while enabling individual <agent>@tonone-ai plugins is intentional — the monolithic bundle and the per-agent plugins both register the same agents/*.md files, so leaving the bundle on defeats the scoping.
  • If unsure which agents a project needs, run /apex-stats first — it's the evidence this skill should act on. On a repository with no usage history yet, the Detected shape option is the substitute: apex-stats reads what has been used, the detector reads what the project is.
  • /tonone-onboard calls this skill with an already-detected roster as a Custom list. It recommends; this skill writes. Neither writes enabledPlugins twice, and the roster is never negotiated in both places.
  • Recommended default: install the lean core (the preset, not the full 100) and lean on /apex-route for occasional long-tail needs — that combination gets a small "Available agent types" listing every session AND full access to all 100 specialists. Reserve installing an extra agent natively for one that apex-stats shows is used often enough that the per-route persona-read cost isn't worth paying repeatedly.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

apex

無料

Engineering lead — hand Apex any task and it routes internally. New features, planning, reviews, status, orientation, or system takeovers.

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

tonone-ai/tonone762026年10月5日 更新

Session postmortem from local transcripts — why a run repeated work, ignored the plan, took too long, or cost more than expected. Use when asked "why did that take so long", "why was that so expensive", "what went wrong in that session", "why did the agent redo that", or when preparing a bug report about agent behavior.

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

tonone-ai/tonone762026年10月5日 更新

apex-gate

無料

Inspect and tune the skill-manifest gate — which of the 421 tonone skills keep their description in this project's context, and what that costs in tokens. Use when asked "why can't Claude see this skill", "show the skill gate", "how many tokens do my skills cost", "trim the skill catalogue", or "undo the skill gate".

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

tonone-ai/tonone762026年10月5日 更新

apex-plan

無料

Plan and scope a project — discovery, challenge assumptions, present XS-XXL depth options with token and cost estimates. Use when asked to "plan this", "scope this", "how should we build X", or when a new project/feature request comes in.

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

tonone-ai/tonone762026年10月5日 更新

Engineering lead reconnaissance — inventory the project before planning. Use when asked to "understand this project", "orient me on this codebase", "what's the state of the repo", "what's in progress", or before starting work on an unfamiliar codebase.

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

tonone-ai/tonone762026年10月5日 更新

Cross-cutting review of recent work — catches gaps between specialists. Use when asked to "review what we built", "check the work", "pre-launch review", or after completing a significant chunk of work.

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

tonone-ai/tonone762026年10月5日 更新

tonone-ai のスキルをすべて見る

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