agentleFS
estebanmr99estebanmr99/lean-agents/skills/update-models/SKILL.md

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

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. baptisteArno/typebot.io★ 11ksame name
    2. kodar-anders/combined-ai★ 0same name
    3. 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.

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
  1. Very specific:

    Read the current mapping: ~/.config/lean-agents/state.json gives the profile, and profiles/<name>.json in the lean-agents repository gives …

    line 8
  2. Distinctive:

    Read the provider's release notes for each candidate.

    line 14
  3. Very specific:

    Write nothing before the user approves.

    line 16
  4. Very specific:

    Write nothing before the user approves.

    line 25

≈ “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

update-models

  1. Read the current mapping: ~/.config/lean-agents/state.json gives the profile, and profiles/<name>.json in the lean-agents repository gives the tiers.
  2. List what this account can use:
    • OpenCode: opencode models or opencode models <provider>.
    • Claude Code: the /model command. The tiers use the aliases haiku, sonnet, opus.
    • Copilot CLI: the /model command in a session. Your plan or organization may hide some models.
    • Antigravity: agy models after signing in. Subagents take only flash, pro or inherit.
  3. 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.
  4. Show the proposal as a table: tier, current model, proposed model, one-line reason. Keep the fast tier cheap.
  5. Write nothing before the user approves. After approval, edit the profile, then rerun the installer with --update.
  6. 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.

  1. For each entry, find the newest release: npm view <source> version time --json for npm, git ls-remote --tags https://github.com/<source> for skill. Skip anything published in the last 14 days.
  2. Show a table: pin, current version, newer version, release-notes link, the ci job to run first. The open pin-bump PR from ci-latest has the same data. Entries with a hold in core/pins.json are listed as held with their reason, not proposed.
  3. Write nothing before the user approves. After approval, change only version and verified for the approved entries, and ask the user to run the listed real-* job (or tests/real-*.sh in a sandbox HOME) before merging.
  4. Also update the literal versions in docs: skills/token-audit/SKILL.md (codeburn) and docs/manual-install.md.
  5. --update installs the new pins; --doctor reports changed rows until it runs.

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.