agentleFS
HighwayofLifeHighwayofLife/agent-kaizen/skills/roster/SKILL.md

roster

Skill1 starsChanged 32 days agoMITView on GitHub

Find out which AI models and subscriptions you actually have, research what each is best at, and set up agents, routing, fallbacks and escalation ladders that use their strengths.

  • Reads credentials

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Not in Claude Code?: Read docs/hosts.md in the plugin root first.

    line 11

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build your agent roster: who does what, with fallbacks and escalation

Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT. Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.

The best routing depends on what you have. For example, a vendor with strong web search can be your research agent, and a long-context model can take very long documents. Codex can take most coding off your Claude usage, and a local model can do bulk text transforms for free. None of that matters if you don't have the subscription. This skill:

  • finds out what you have;
  • researches each model's strengths from current sources;
  • optionally tests the models on your own repo;
  • builds agents, dispatch scripts, a routing table with fallbacks and escalation, and per-vendor instructions.

Changes: creates agents, scripts and instruction sections, after you approve each part. With re-evaluate, it re-checks an existing roster and proposes changes only.

Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. The mode comes from the skill argument (propose, safe, auto or yolo), else docs/kaizen/config.json, else agent-kaizen.json in your Claude config dir ($CLAUDE_CONFIG_DIR or ~/.claude), else propose. In safe and auto, read every "wait for my OK" below as: apply it yourself if the mode allows (backup, verify, roll back on failure, ledger row), otherwise list it as a proposal. Hard stops always ask. At most maxChangesPerRun changes (default 3). End with a summary of what was applied, skipped and rolled back.

In this skill, <Claude config dir> means $CLAUDE_CONFIG_DIR or ~/.claude, and <Codex home> means $CODEX_HOME or ~/.codex.

Task

Build (or, with "re-evaluate", re-check) my agent roster. Work in phases and stop for my
OK at the end of each phase.

Phase 1: discover what I have. Never print, copy or store secret values.
- Look for agent and model CLIs on PATH and report their versions (claude, codex, gemini,
  agy, grok, cursor-agent, aider, opencode, ollama, llm, gh copilot, and any others you
  find).
- Check each one's sign-in status with its own status command, where one exists.
- List which API-key environment variables are SET, by name only, with exactly this command
  (it prints names, never values):
  env | sed -En 's/^([A-Za-z0-9_]*(API_KEY|TOKEN|SECRET)[A-Za-z0-9_]*)=.*/\1/p' | sort
  Never run env, printenv or grep on the environment in a way that prints values, and never
  read .env files.
- List local models (ollama list), configured MCP servers, and my existing agents
  (<Claude config dir>/agents, .claude/agents).
- Then ask me to confirm and complete the list in one question, covering each provider's
  plan or tier, its known limits (5-hour windows, weekly caps, quotas), whether I want it
  used, and anything you couldn't detect. Ask which pool I most want to protect (for
  example "keep Claude usage for orchestration").

Phase 2: research strengths, as of today.
- For each model I will use, gather from primary sources (official model pages, docs,
  pricing, rate limits, changelogs), plus recent independent benchmarks and practitioner
  reports, with a source URL and date for every claim:
  - strengths and weaknesses: coding, refactoring, front-end and visual work, image
    understanding, web research, long context, planning, review, speed;
  - context window, price or quota, and tool support;
  - any headless or non-interactive mode, and its sandbox and read-only options.
- Write docs/kaizen/model-roster.md: a capability matrix (model × task type, rated
  strong/ok/weak with a confidence level and sources), the pools and their limits, and
  the date. Mark benchmark claims as leads, not facts.

Phase 3 (optional, ask me first): bake-off on my own repo. This sends repo code to each
vendor: list which vendors would see it and get my OK for each one.
- Pick 2–3 small, representative tasks from this repo (a bounded fix, a test to write, a
  code question) and run each candidate model on them in a throwaway git worktree.
- Measure the results: checks pass or fail, wall time, tokens or quota used, review
  findings. My repo beats generic benchmarks. Put the results in model-roster.md.

Phase 4: design the routing.
- A routing table: task shape → primary agent/model/effort → fallback (same tier, other
  vendor) → escalation (next tier up). Cover at least: lookups and reading, single-claim
  verification, mechanical edits, feature work, hard bugs, planning (small, routine,
  complex), code review, security review, visual or UI work, image review, research,
  long-document analysis, produced documents, bulk text transforms.
- Rules:
  - cheapest capable model first;
  - retry once with a sharper brief and more effort before moving up a tier;
  - the reviewer comes from a different vendor than the author;
  - cap the top tier per session;
  - on a quota or rate-limit error, stop routing to that pool for the session and use
    the fallback;
  - spread bulk work to the pools with the most headroom.
- Show the table and ladders and wait for my OK.

Phase 5: build it.
- For each external CLI, prefer a dispatch script over a relay agent:
  - it runs the CLI headless in the safest mode that works (read-only for reviewers and
    researchers, sandboxed for coders);
  - it runs the checks outside the sandbox and prints a short report.
  Use the bundled codex-dispatch / codex-review scripts as the pattern.
- Create a thin agent only where an isolated context really helps. Give it
  `omitClaudeMd: true`, a tools allowlist, the right model and effort, and a one-line
  description that says when to use it and when not to.
- Write each vendor's own instruction file (for example <Codex home>/AGENTS.md, or the
  equivalent for other CLIs) from templates/codex-AGENTS.md: short, with the same
  red lines.
- Add the routing table, ladders and pool rules to <Claude config dir>/CLAUDE.md (keep it compact;
  long detail goes in <Claude config dir>/orchestrator/routing-details.md).
- Map every new agent to a role in .claude/agent-context/roles.conf, if I use the
  subagent-context hook.
- Back up everything you touch first. Keys stay in the environment or the CLI's own login,
  never in a file that could be committed.

Phase 6: verify and record.
- Smoke-test each agent and script with a tiny read-only task, and report pass or fail.
- Add a ledger row per vendor or agent added (docs/kaizen/LEDGER.md), with how the next
  audit will show whether it helps (per-pool usage, per-agent cost and success rate). Include metric command and review date using `${CLAUDE_PLUGIN_ROOT}/skills/start/SKILL.md`.
- Remind me that /agent-kaizen:models and /agent-kaizen:cycle re-check the roster
  periodically.

Bundled resources

  • Pattern scripts: ${CLAUDE_PLUGIN_ROOT}/scripts/codex-dispatch, ${CLAUDE_PLUGIN_ROOT}/scripts/codex-review and ${CLAUDE_PLUGIN_ROOT}/scripts/README.md.
  • Agent templates: ${CLAUDE_PLUGIN_ROOT}/templates/agents/*.md. Role context: ${CLAUDE_PLUGIN_ROOT}/templates/agent-context/.
  • Routing table skeleton: ${CLAUDE_PLUGIN_ROOT}/templates/global-CLAUDE.md (the Routing section). An example of a multi-vendor roster: ${CLAUDE_PLUGIN_ROOT}/docs/what-we-learned.md ("Routing and models").

Record the check

Only when this interactive run completed the check and delivered its result, run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled checks record --for . roster as one plain command. Do not record a skipped, declined or failed check, or any scheduled or propose-only run. If the command fails, report the failure; do not edit the state file by hand.

Done when

docs/kaizen/model-roster.md exists with sourced strengths, and every routing row has a primary, a fallback and an escalation rung. Each new agent or script passed a smoke test, and the ledger has a row for each.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.