用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/songsid/AgEnD --skill model-discovery命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | model-discovery |
| description | Choose and discover models — when to omit, per-backend defaults, pass-through |
| roles | ["general","worker"] |
Precedence: explicit arg > fleet.defaults.model > CLI/account default
Omitting is the default answer. It inherits the fleet default, or the CLI's own — which is the account's current best model and stays right as the vendor ships new ones. A model you pin today is a model someone has to un-pin later.
Pass a model only when: the user named one, the instance needs a specific capability (cheap/fast vs deep reasoning), or the backend needs one to behave (see kiro below).
| Backend | Omit model means | Notes |
|---|---|---|
| kiro-cli | account default | model: auto lets kiro pick per turn — usually what you want |
| claude-code | account default | ids are aliases: sonnet, opus, haiku, opusplan, default |
| codex | account default | |
| grok | account default | |
| antigravity | account default | |
| opencode | provider default | ids are provider/model, e.g. opencode/big-pickle |
Use the list_models tool — it reads the fleet's probe cache (refreshed every
24h) and falls back to a live probe:
list_models({ backend: "kiro-cli" }) → the account cataloglist_models({ instance_name: "x" }) → read through that instance's configCheck scope in the reply. An instance on a custom provider can offer a
different catalog than the account (a Codex instance with provider: glm reads
its own catalog), so scope: "instance" is authoritative for that instance and
scope: "global" is only the account-wide list. source tells you cache /
live / fallback.
An empty list is not a failure — see pass-through below.
Underlying commands, if you need them by hand:
| Backend | Command |
|---|---|
| kiro-cli | kiro-cli --list-models |
| grok | grok models |
| opencode | opencode models |
| antigravity | agy models |
| codex | no command — the CLI writes models_cache.json in its CODEX_HOME |
| claude-code | fixed alias set (no command) |
modelmodel: "auto"backend_options, e.g.
backend: "codex", backend_options: { codex: { provider: "glm" } }provider/model, never a bare model nameantigravity: keep the effort suffix. The suffix is part of the selectable id,
not decoration — gemini-3.6-flash-medium and gemini-3.6-flash-low are
different models. Take the id from list_models, not the display label the TUI
shows (Gemini 3.5 Flash (Medium)).
Pass-through: AgEnD does not gate model names. An unknown id is warned about,
then handed to the CLI anyway. So a name missing from list_models may still be
valid, and a typo fails in the CLI at launch, not at config time — if an
instance won't start after a model change, suspect the name first.
基于 SOC 职业分类