setup
Skill1 starsChanged 7 days agoMITView on GitHub
Install Agent-kit for a user, or change their setup. Interviews them one question at a time, writes local/MODELS.md, local/routing.json, local/PREFS.md and optionally local/crew.json, runs the installer and verifies. Use when the user says "setup", "set up Agent-kit", "install Agent-kit", or wants to change their models, auditor, chat style, image route or bots.
- Reads credentials
192 other projects use a version of this.
Adopted by
Most recently taken up by
- kachofugetsu09/akashic-agenttheir own version, first seen Nov 30, 2026
- siberiacancode/agent-skillstheir own version, first seen Nov 29, 2026
- JCodesMore/youtube-for-ai-agentstheir own version, first seen Nov 29, 2026
- microsoft/Employee-Self-Service-Agent-Developer-Kittheir own version, first seen Nov 29, 2026
- cubetes/coaichtheir own version, first seen Nov 29, 2026
- blotato/contentskillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use add-discord, add-slack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
- +10 more from microsoft
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- anthropics/knowledge-work-plugins★ 37ksame name
- garrytan/gbrain★ 34ksame name
- nanocoai/nanoclaw★ 31ksame name
- gavrielc/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.4ksame name
- pytorch/executorch★ 5.2ksame name
- aws/agent-toolkit-for-aws★ 3.6ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
182 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 5 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Global rule files: Read ~/.claude/CLAUDE.md, ~/.gemini/GEMINI.md and ~/.codex/AGENTS.md.
- Very specific: line 16
Secrets: Never open .env files, credential files or tokens.
- Very specific: line 21
keep it: add it to local/PREFS.md, where it wins over the kit rules.
- Distinctive: line 26
Ask one question per message.
- Distinctive: line 28
Use the harness's question tool if it has one.
- Distinctive: line 48
Image route (optional): Do you want app icons, logos, illustrations and mascots made by Codex (ChatGPT sign-in)?
- Distinctive: line 57
If you cannot ask interactively (for example, a headless run), stop and ask for all the answers in one message.
- Very specific: line 68
local/MODELS.md: Start from the chosen preset in rules/MODELS.example.md. - Distinctive: line 76
Keep the two in sync: Every later setup change rewrites both files from the new answers.
- Very specific: line 77
local/PREFS.md: Use the format below. - Very specific: line 80
Create local/ if it is missing.
- Very specific: line 92
Ask the user to open a new thread and say boot.
- Very specific: line 125
verifier: Leave it out. Hosts use verifier, then auditor, then advisor, in that order.
“Common” is measured: kept by at least 6 in 10 of the 168 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup
The shared rules stay as they are. Each user's choices go in local/ in the kit, which git ignores. Kit folder: ~/Desktop/Agent-kit.
1. Read first (no questions yet)
- The kit. Is it at
~/Desktop/Agent-kit? If not, followINSTALL.mdstep 1. - Existing setup. If
local/MODELS.md,local/routing.jsonorlocal/PREFS.mdexists, this is a change, not a first install. Show the current choices, ask what to change, and skip the rest. Iflocal/MODELS.mdexists butlocal/routing.jsondoes not (a setup from before the JSON file), build the JSON from the table and ask only about what the table does not say. - Global rule files. Read
~/.claude/CLAUDE.md,~/.gemini/GEMINI.mdand~/.codex/AGENTS.md. Text outside theagent-kit:start/agent-kit:endmarkers belongs to the user. - Skill folders. List
~/.claude/skills/,~/.gemini/config/skills/and~/.agents/skills/. Note any folder with the same name as a kit skill. - Tools. Note which tools are present (those folders, or the CLIs on PATH).
- Secrets. Never open
.envfiles, credential files or tokens.
2. Report clashes
Show one short list, or say "no clashes" in one line.
- A user rule that contradicts the kit. A rule clashes if following it would break a GLOBAL rule or a kit default, including chat style and language. For example "always commit to main" or "reply in formal English". Ask the user to choose:
- keep it: add it to
local/PREFS.md, where it wins over the kit rules; - drop it: suggest the edit to their file, and let them make it.
- keep it: add it to
- A skill folder with a kit skill's name. The installer skips it. Ask the user to choose: rename theirs, or go without the kit skill.
3. Interview
- Ask one question per message.
- Offer multiple choice when you can. Put the recommended option first, mark it "(recommended)" and give one line on why.
- Use the harness's question tool if it has one.
- Skip a question that step 1 already answered, and say what you found.
- Tools. Which do you use: Claude Code, Antigravity, Codex, Gemini CLI? Inside T3 Code or on their own? This sets the installer's harness list.
- Models and accounts. Which providers and plans do you have? Is there a second account for workers? Several accounts on one provider (for example five Antigravity accounts in T3 Code)? Then offer an account pool: workers use them in turn and move on when one hits its limit. In T3 Code, read the account ids from
orchestrator_capabilitiesinstead of asking. Ask for labels only, never tokens. Routing. Pick a preset from
rules/MODELS.example.md:- A: one vendor (pick this when the user wants one vendor only; the auditor, if any, is a same-vendor model in a fresh context);
- B: one vendor plus an outside auditor (recommended when they can run a model from a second vendor, for example Gemini through Antigravity or GPT through Codex; a second account with the same vendor does not count);
- C: mixed vendors.
Then confirm the model for each layer.
- Auditor. Which model, and when?
- high-stakes work only, run async (recommended);
- every feature;
- never.
- Chat. Which style: plain and short (default), caveman, or detailed? Which language or languages? (Default: English, even when the user writes in another language.)
- Lead effort.
- xhigh for planning and hard bugs, medium for the rest (recommended);
- always high.
- Personal rules (optional). Anything to always or never do? For example "never use X for UI" or "always ask before adding a package".
Image route (optional). Do you want app icons, logos, illustrations and mascots made by Codex (ChatGPT sign-in)?
- yes, when Codex is signed in (recommended if they have ChatGPT): adds the
imagerole withnoFallback: true; - no: the lead leaves marked placeholders instead.
With yes, check
codex login status; if it fails, ask the user to runcodex logoutthencodex loginthemselves. Then make sure the image tool is on:codex features listshowsimage_generation; if it is off,codex features enable image_generation.- yes, when Codex is signed in (recommended if they have ChatGPT): adds the
Bots (optional, T3 Code or T3 Noir). For each project path: which bots? Offer the default set (Saver, Reviewer, Guard, Deps) and the crew (Manager, Fixer, Tester, Reviewer, Researcher; Saver as Secretary; Improver off). Use the default times in
skills/bots/SKILL.md. Ask separately, and record a yes only when given, for: Improver on,fullAccess,autoMerge. Every bot starts paused.With Guard, offer to install the free scanners it uses (
gitleaks,osv-scanner); never install without a yes. A missing scanner is reported as skipped, never as a pass.
If you cannot ask interactively (for example, a headless run), stop and ask for all the answers in one message.
4. Confirm
Show, then wait for "yes":
- the answers;
- the routing table (the JSON file is built from it, so it needs no separate confirmation);
- the preferences text;
- the files you will write;
- the installer command.
5. Write
local/MODELS.md. Start from the chosen preset inrules/MODELS.example.md. Include:- a table with Layer, Job, Model and Runs on;
- a "Lead effort" section;
- the host notes that apply, for example the T3
delegate_tasksettings per provider; - with an account pool, an "Account pool" section: the account order, what comes after the pool, and the lead's steps (
next-account.mjsbefore each delegation,--spenton a limit error). Copy the steps fromrules/MODELS.example.md.
With one account, workers share it, so leave out the Fallback row. With no auditor, write "none" in the Auditor row:
auditthen offers a fresh-context review by the advisor.local/routing.json. The same routing, machine-readable, so hosts such as T3 Code do not parse the Markdown table. Build it from the same answers and write it in the same step asMODELS.md. Format below.- Keep the two in sync. Every later setup change rewrites both files from the new answers. If you edit one by hand for any reason, update the other in the same change. Never leave them different.
local/PREFS.md. Use the format below.- Image role. With a yes on Q8, add to
rolesinrouting.json:"image": { "provider": "codex", "model": "<id from orchestrator_capabilities>", "runsOn": "Child thread, Codex (ChatGPT sign-in)", "providerInstanceId": "codex", "noFallback": true }, and an "Image" row inMODELS.md. local/crew.json. With answers to Q9, build it fromrules/crew.example.json(schemaschemas/crew.schema.json). Projects by path; no secrets, tokens or Who can ask lists.- Create
local/if it is missing. Never commit it.
6. Install
- Harness list. Build
<list>from the Q1 answer: Claude Code →claude; Antigravity or Gemini CLI →gemini; Codex →codex. Join them with commas, for exampleclaude,gemini. Leave the option out only if they use all three. Otherwise the installer writes files for tools they do not have. - Windows. From the kit folder, run
powershell -ExecutionPolicy Bypass -File install\install.ps1 -DryRun -Harness <list>. - macOS or Linux. From the kit folder, run
bash install/install.sh --dry-run --harness <list>. - Show the output, then run it again without the dry-run option. Paste both outputs.
- The installer also renders the kit bot templates (using
local/crew.jsonwhen it exists) into~/.t3and~/.t3noir, each only if it exists. In T3 Noir, the user then clicks Set up from Agent-kit on the Bots page; every bot starts paused.
7. Verify
- With a crew file, run
node tools/validate-crew.mjsand paste the output; it must sayok. - From the kit folder, run
node tools/validate-routing.mjsand paste the output. It must sayokforlocal/routing.json. With pools, also runnode tools/next-account.mjs --statusand paste it. Ifnodeis not installed, say so and skip this check. - Ask the user to open a new thread and say
boot. Or start a fresh child thread, ask it for its routing and chat style, and paste the answer. If neither is possible, check that the rule files now contain thelocal/text or imports. - Reply with:
- what was set;
- where it lives;
- how to change it later (say "setup" again).
local/routing.json format
Schema: schemas/routing.schema.json (strict: unknown fields are errors). Example: rules/routing.example.json. Labels only, never tokens or keys.
{
"$schema": "../schemas/routing.schema.json",
"version": 1,
"updatedAt": "2026-11-27T08:00:00Z",
"roles": {
"advisor": { "provider": "claude", "model": "claude-fable-5-2", "effort": "medium", "runsOn": "Child thread, second account", "providerInstanceId": "claudeTeam2" },
"lead": { "provider": "claude", "model": "claude-opus-5-5", "runsOn": "User's thread, main account" },
"implementation": { "provider": "claude", "model": "claude-sonnet-5-5" },
"bulk": { "provider": "claude", "model": "claude-haiku-5-5" },
"researcher": { "provider": "claude", "model": "claude-sonnet-5-5" },
"auditor": { "provider": "claude", "model": "claude-fable-5-2", "effort": "high" }
},
"leadEffort": { "planning": "xhigh", "default": "medium" },
"excludedModels": [],
"excludedProviders": ["gemini"],
"fallback": { "provider": "claude", "runsOn": "Main account, native subagent", "modelOverrides": { "advisor": "claude-opus-5-5" } }
}How to fill it from the answers:
roles. One entry per row of theMODELS.mdtable.advisor,lead,implementation,bulkandresearcherare required. Leave outauditorwhen the Auditor row says "none".provideris a lowercase vendor family (claude,codex,gemini).modelis the model id the host sends (for exampleclaude-opus-5-5), not the display name.effort.low,medium,high,xhighormax. Write it only when the table gives one for that role.runsOn. Short label from the "Runs on" column.providerInstanceId. The account label the host uses, only when the host notes inMODELS.mdgive one (T3 Code: thedelegate_taskproviderInstanceId, for exampleclaudeTeam2). Leave it out when the role runs in the user's own thread.verifier. Leave it out. Hosts useverifier, thenauditor, thenadvisor, in that order. Write it only when the user wants a verifier that differs from the auditor.leadEffort. From the Lead effort answer:planningis the high setting,defaultthe other. "Always high" gives the same value in both.excludedProvidersandexcludedModels. From every "no X" rule (for example "No Gemini" gives["gemini"]). Always write both arrays, empty when there is nothing. No role or fallback may use an excluded provider or model; the validator checks this.fallback. From the Fallback row. Leave it out when there is one account.modelOverrideslists roles that use a different model there (for example Fable needs credits on the main account, soadvisoris Opus).pools(optional). Only when a provider has several accounts the user wants used in turn. One entry per pool:driverKind: the host driver (T3 Code:driverKindinorchestrator_capabilities, for exampleantigravity);accounts: the account ids in the order to try them;addNew:trueso accounts added later join the end on their own;cooldownHours: how long a spent account is skipped when the error gives no reset time (default 5);whenEmpty: where the pool's roles go when every account is spent, with a model per pooled role.
Each worker role on the pool gets
"pool": "<name>"and keepsproviderInstanceIdset to the first account, for tools that do not read pools. The validator checks that the pool exists, thatwhenEmptyhas a model for every pooled role, and thatfallbackhas a model it can run for every worker role (addfallback.modelOverrideswhen the pool's provider differs from the fallback's)."pools": { "antigravity": { "driverKind": "antigravity", "accounts": ["antigravity", "antigravity_2", "antigravity_antigravity_3"], "addNew": true, "cooldownHours": 5, "whenEmpty": { "provider": "claude", "providerInstanceId": "claudeTeam2", "models": { "implementation": "claude-sonnet-5-5", "bulk": "claude-haiku-5-5", "researcher": "claude-sonnet-5-5" } } } }updatedAt. The current UTC time,YYYY-MM-DDTHH:MM:SSZ.
How T3 Code finds the file. It reads local/routing.json in the kit folder: $AGENT_KIT_HOME if that environment variable is set, otherwise ~/Desktop/Agent-kit. With no file, T3 uses its own defaults.
local/PREFS.md format
# Personal preferences
Written by the `setup` skill; git-ignored. Change it by saying "setup". These add to the global rules; where they conflict, these win (project `AGENTS.md` still wins over both).
## Chat style
- <style>. <language>.
- Files stay in normal English (GLOBAL §1).
## Always
- <rule, or "(none yet)">
## Never
- <rule, or "(none yet)">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
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.

