update-models
Skill4 starsChanged 3 days agoMITView on GitHub
Compare the tier-to-model mapping with the models the account can use now, and propose a change; also list newer tool versions than core/pins.json and bump them on approval. Use when the user asks about newer models or tool versions, a model was retired, models.dev shows a new one, or a version-watch issue is open.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- baptisteArno/typebot.iotheir own version, first seen Oct 8, 2026
- kodar-anders/combined-aitheir own version, first seen Sep 5, 2026
- mikemorgenstern/model-routertheir own version, first seen Feb 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- baptisteArno/typebot.io★ 11ksame name
- kodar-anders/combined-ai★ 0same name
- mikemorgenstern/model-router★ 0same name
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.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- release-trainSkill
- coordinateSkill
- parallel-sessionsSkill
- setup-doctorSkill
- token-auditSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 the current mapping: ~/.config/lean-agents/state.json gives the profile, and profiles/<name>.json in the lean-agents repository gives …
- Distinctive: line 14
Read the provider's release notes for each candidate.
- Very specific: line 16
Write nothing before the user approves.
- Very specific: line 25
Write nothing before the user approves.
≈ “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
update-models
- Read the current mapping:
~/.config/lean-agents/state.jsongives the profile, andprofiles/<name>.jsonin the lean-agents repository gives the tiers. - List what this account can use:
- OpenCode:
opencode modelsoropencode models <provider>. - Claude Code: the
/modelcommand. The tiers use the aliaseshaiku,sonnet,opus. - Copilot CLI: the
/modelcommand in a session. Your plan or organization may hide some models. - Antigravity:
agy modelsafter signing in. Subagents take onlyflash,proorinherit.
- OpenCode:
- Read the provider's release notes for each candidate. Check price and whether prompts may be used for training. On OpenCode Go, avoid models named Contributor or Free.
- Show the proposal as a table: tier, current model, proposed model, one-line reason. Keep the fast tier cheap.
- Write nothing before the user approves. After approval, edit the profile, then rerun the installer with
--update. - Report what changed and how to go back. The previous files are in
~/.config/lean-agents/backups.
Tool versions
core/pins.json lists the versions lean-agents fetches at run time, each with the day it was verified and the CI job that proves it.
- For each entry, find the newest release:
npm view <source> version time --jsonfornpm,git ls-remote --tags https://github.com/<source>forskill. Skip anything published in the last 14 days. - Show a table: pin, current version, newer version, release-notes link, the
cijob to run first. The open pin-bump PR fromci-latesthas the same data. Entries with aholdincore/pins.jsonare listed as held with their reason, not proposed. - Write nothing before the user approves. After approval, change only
versionandverifiedfor the approved entries, and ask the user to run the listedreal-*job (ortests/real-*.shin a sandbox HOME) before merging. - Also update the literal versions in docs:
skills/token-audit/SKILL.md(codeburn) anddocs/manual-install.md. --updateinstalls the new pins;--doctorreportschangedrows until it runs.
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.

