update-model-policy
Skill4 starsChanged 7 days agoMITView on GitHub
Keep authentication and permissions with the Claude Code host, and keep model aliases in the level table.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- pull-requestSkill
- update-documentationSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read cli/src/launcher.ts, plugin/src/sessions.ts, plugin/src/levels.ts, and the workflow skills before you change host integration.
- Very specific: line 10
Use the installed Claude Code CLI.
- Very specific: line 11
Put each default model in plugin/src/levels.ts as a Claude Code alias, for example haiku.
- Distinctive: line 16
When the host refuses a model, fail and name the override in the hint.
- Distinctive: line 18
Do not add a custom provider client, retry loop, token budget, or price estimate.
- Distinctive: line 19
Do not extract subscription credentials.
- Distinctive: line 20
Do not add a permission bypass to make a test pass.
- Distinctive: line 23
Test missing authentication, denied permission, invalid output, and interruption with controlled hosts.
- Distinctive: line 24
Run a live integration test only when it is needed and authorized.
≈ “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.
Files
Agent only: This file contains repository or workflow instructions for coding agents.
Read cli/src/launcher.ts, plugin/src/sessions.ts, plugin/src/levels.ts, and the workflow skills before you change host integration.
Use the installed Claude Code CLI. Keep credentials, context, tools, and native permissions with the host.
Put each default model in plugin/src/levels.ts as a Claude Code alias, for example haiku. Pass it as --model <alias>. Do not write a full model ID in another file.
Apply a level model only to the sessions that Checkmate starts. An explicit --claude-arg --model <model> of the host wins.
A delegated stage has no level model. It uses the saved workspace model of its setting: the tester model for execute workers and probes, and the request model for setup, plan, and revise. An empty setting uses the harness default. An explicit host model wins over the setting.
Give the recorder of a session the same model as that session.
On the session path, put the default model in the front matter of each agent in plugin/agents/. The operator gives another model only as the model parameter of the Agent tool, when the person asks for it.
When the host refuses a model, fail and name the override in the hint. Do not try another model.
The one exception is a saved model on the delegated path. When the host refuses it before the worker writes, run the worker again on the harness default once, and use the default for the rest of that delegate call. Say so in the reply and in the recorded attempt. Do not run a worker again when it can have written.
Do not add a custom provider client, retry loop, token budget, or price estimate.
Do not extract subscription credentials. Use supported host authentication.
Do not add a permission bypass to make a test pass.
Validate structured output locally. Check pinned files and evidence before finalization. Test missing authentication, denied permission, invalid output, and interruption with controlled hosts. Run a live integration test only when it is needed and authorized; host authentication alone does not authorize a potentially paid run. Report unrun checks.
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.

