- name
SKILL.md
File skill tetap berada di repositori penerbit.
Tempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add coreyhaines31/makerskills --skill castmate -a cursor -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add coreyhaines31/makerskills --skill castmate -a claude-code -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add coreyhaines31/makerskills --skill castmate -a codex -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add coreyhaines31/makerskills --skill castmate -a grok -yKirim pesan yang disalin di chat Grok Bot. Bot mengambil SKILL.md ini dari GitHub dan menambahkannya ke skill yang dipakai bersama oleh semua Bot Anda.
Install this skill: https://github.com/coreyhaines31/makerskills/tree/HEAD/skills/castmateDari penerbit
You are the host agent. Castmates are other AI coding CLIs installed on this machine. A small script, scripts/castmate.py in this skill's folder, runs them. You decide who gets cast, write the prompt, read what comes back, and tell the user what it means.
Adapted from counselors by Aaron Francis (MIT). Discovery, prompt writing, and synthesis moved from code into this workflow, and the model list moved into config so it doesn't go stale.
python3 <skill-dir>/scripts/castmate.py list # castmates, groups, install + read-only status
python3 <skill-dir>/scripts/castmate.py test codex fable # each must reply "OK"
python3 <skill-dir>/scripts/castmate.py run -c codex-sol-high,fable-high -f prompt.md --json
<skill-dir> is this skill's install folder. In Claude Code it is the skill's base directory.
Before the first cast in a session, run castmate.py test on the castmates you plan to use. It takes 5–15 seconds. list only shows that a CLI is installed, not that it's logged in or that the account has the model. If nothing is installed, or a test fails, set the user up first. references/cli-setup.md is the setup guide. Walk through it rather than reciting it:
--write to --cwd.! codex login in the prompt). Then restart the agent if PATH or the shell profile changed.castmate.py test <castmate>. Use gemini-flash for a first Gemini check, since not every key has gemini-argon. On failure, relay the hint: line it prints and the matching guide section.GEMINI_API_KEY in their shell profile and restart the agent, or enter it in gemini directly. If they already tried Google sign-in, the key alone won't work until the saved oauth-personal auth type is switched. Use the one-liner in the guide's Gemini step 2. If a key does get pasted, say so, tell them to rotate it, and point to the guide's rotation steps.Mention the gotchas that apply before they hit them. Gemini CLI no longer accepts Google sign-in on personal accounts. Antigravity's installer edits shell profiles, and its read-only mode is best-effort.
CONFIG=${MAKERSKILLS_CONFIG:-$HOME/.config/makerskills}/castmate
$CONFIG/config.json uses the same shape as references/tools.json and is merged on top of it. Add a castmate alias, a group, or a new CLI adapter here.$CONFIG/casting.local.md holds the user's own "use X for Y" rules. Read it before references/casting.md.$CONFIG/runs/ is the default output folder, one subfolder per run.A new model needs no config at all. -c codex:gpt-5.7@high or -c claude:some-new-model passes the model ID straight to the CLI. Offer to save an alias in config.json once it proves useful:
{"castmates": {"sol7": {"tool": "codex", "model": "gpt-5.7", "effort": "high", "note": "GPT-5.7, high"}},
"groups": {"review": ["fable-high", "sol7"]}}
If the request is vague, default to fan-out with two castmates. A named castmate plus a task ("ask codex to…") means delegate.
castmate.py list. Show the user the castmates that matter for this job, not the whole table.$CONFIG/casting.local.md (if present), then references/casting.md. Recommend a cast with a one-line reason for each.unverified adapters and best-effort read-only levels before dispatching. If an adapter has never been tested here, run castmate.py test <name> first.
enforced means the CLI's own sandbox or permission settings stop file writes, shell commands, MCP tools, and repo-level config such as hooks. Claude, Codex, and Gemini have been tested against a repo that plants hooks and MCP servers.best-effort means the castmate is asked to stay read-only, but repo or user config can still give it more access. Don't cast best-effort castmates on code the user didn't write (a cloned repo, a contributor's PR) without saying so first.--write runs, and name the working directory.Groups expand to their members, so show the expanded list. If the user names a group that doesn't exist, say so and don't guess.
Use references/prompt-template.md: the Delegate template for delegate mode, and the Review template for fan-out and rounds. For a focused hunt, paste a preset from references/presets/ into the Instructions section.
git status and git diff, and up to 5 related files found by search. Reference files by path. Don't paste their contents. Castmates read files themselves.-f -.python3 <skill-dir>/scripts/castmate.py run -c <castmates> -f <prompt-file> [--write] [--cwd <repo>] [--timeout 540] --json
still running: … (pid, elapsed) line every 30 seconds on stderr; pass those along when the user asks or a run goes long.ps -p <pid>) and tell the user. Don't wait silently.--write takes exactly one castmate. Before running it, check that the working tree is committed or stashed, so the castmate's changes form a clean diff.
--cwd, using its workspace sandbox. Claude, Gemini, Antigravity, and the others run with the user's full file access and are only asked to stay in --cwd. Say this when you confirm a non-Codex write run.--write, or a bad path.run.json marks them aborted with their partial output.--out must be a new or empty folder. A read-only run refuses an --out inside --cwd, so it can't write into the tree it reviews. Without --out, each run gets a unique folder under $CONFIG/runs/.run.json in the output folder lists each castmate's status, durationS, words, outputFile, stderrFile, and the exact command.
success: read outputFile.timeout: outputFile holds partial output. Use it, labeled as partial.error or empty: if the report has a hint, relay it first; it names the fix and the cli-setup.md section. Otherwise read stderrFile. Common causes are an expired login, a model the account can't use, or a flag a newer CLI version renamed. Report it and carry on with the rest. Antigravity returns empty whenever headless mode denies one of its tool calls, even after a long run, and drops the whole answer. If that happens, rerun with a narrower prompt or cast someone else.Delegate. Review the castmate's work before calling it done. For --write, read git diff, run the project's tests and lint, and report what changed, what passed, and anything that looks off. You are accountable for code you hand back, whoever wrote it. For a read-only answer, relay it, and correct anything you can check that is wrong.
Fan-out and rounds. Synthesize; don't just concatenate:
## Castmate review: [topic]
**Cast:** codex-sol-high, fable-high (read-only) · [N] succeeded, [N] failed
**Agree on:** [the key points castmates reached independently]
**Disagree on:** [each position and its reasoning]
**Risks flagged:** [anything one castmate raised that others missed]
**Blind spots:** [what no castmate covered that seems important]
**Recommendation:** [your call, weighing their evidence instead of counting votes]
Reports: [output folder]
Then offer the top 2–3 actions. If the user wants to act, plan before editing.
The host runs the rounds itself. Each round is one castmate.py run call into its own new folder (--out <run>/round-N, outside the reviewed repo).
references/prompt-template.md, with the prior outputs inlined (the most recent 8, about 1,500 words each).Each round costs as much as a full fan-out. State the expected total (rounds × castmates × minutes) before starting.
When a castmate is notably good or bad at a kind of job, offer to append a dated line to $CONFIG/casting.local.md. Ask before writing. That file is how casting improves over time.
A CLI that isn't listed can be added in $CONFIG/config.json with no code change. Copy a similar entry from references/tools.json. Its fields:
binary, args (before the mode args), and argsAfter (last).prompt: stdin, or arg together with {prompt} in argsAfter.model and effort flag templates.readOnly, with a level of enforced or best-effort, plus args and/or env. Claim enforced only after a planted repo hook and MCP server fail to run. Overrides in config.json merge key by key, so {"readOnly": {"env": {...}}} keeps the shipped args.write args.output: last_message with {last_message}, for CLIs that write their final answer to a file.Leave "verified": false until castmate.py test passes.
When you want to pull in the right AI model for the right job: hand a task to another agent CLI (Codex, Claude, Gemini, Grok, Amp, OpenCode, Cursor, Kiro, Antigravity), or send one prompt to several a
---name: castmatedescription: When you want to pull in the right AI model for the right job: hand a task to another agent CLI (Codex…---# skills/castmate/SKILL.mdRingkasan umum
When you want to pull in the right AI model for the right job: hand a task to another agent CLI (Codex, Claude, Gemini, Grok, Amp, OpenCode, Cursor, Kiro, Antigravity), or send one prompt to several at once for independent opinions, then synthesize. Delegate mode gives one castmate the job, optionally with write access ('have codex write the migration'). Fan-out mode runs read-only reviews in parallel. Rounds mode lets castmates build on and challenge each other's findings. Calls the official CLIs you already have installed and logged in (Gemini CLI needs an API key on personal accounts); no MCP. Triggers on '/castmate,' 'ask codex,' 'have gemini do this,' 'get a second opinion,' 'what would other models say,' 'fan this out,' 'cross-check this with another model,' 'delegate this to codex.' Advisor personas for founder questions go to maker-council. Personal models, casting rules, and run outputs live in ~/.config/makerskills/castmate/.
FAQ
Unduh skills/castmate/SKILL.md dari penerbit, atau salin path-nya dan buka repositori. PlugMCP hanya mendaftar skill ini dan tidak meng-host filenya.
Penerbit menyimpannya di https://github.com/coreyhaines31/makerskills.
Claude, Cursor, Codex, dan Grok Build bisa membaca SKILL.md yang Anda tambahkan dari repositori penerbit. Grok Bot memasangnya saat Anda mengirim tautan folder GitHub skill tersebut di chat.