Files
cli/skills/models/SKILL.md
T

25 lines
1.5 KiB
Markdown

---
name: models
description: List every model usable by each installed AI CLI (claude, codex, copilot, antigravity, kiro) and attach capability tags from references/model-tags.md. Also states which tags each SDLC phase requires, so jsc-sdlc skills can gate execution. Use when checking model fitness or inventorying models; not for switching models.
---
# models — list CLI models with capability tags
## Steps
1. Run `jsc-cli/tools/detect-clis.sh` to get the installed CLIs.
2. For each CLI, read the available models and the model currently in use. This step **MUST run as a sub agent**:
| CLI | Source |
| --- | --- |
| claude | `model` in `~/.claude/settings.json`; known families are in the claude rows of model-tags.md |
| codex | `model` in `~/.codex/config.toml` |
| copilot | model options listed in the copilot config (`~/.config/copilot/`) |
| antigravity | models listed in the agy config |
| kiro | models listed in the kiro config |
If a config is unreadable, list that CLI's known default models and mark each one with the literal label 「預設推定」 (assumed default).
3. Attach capability tags to every model per `references/model-tags.md`. Handle unlisted models per the closing rule of that file.
4. Output a table with four columns: CLI, model, tags, currently in use.
5. Append the SDLC phase requirement table (plan and analyze need `reasoning-high`; implement needs `coding`; maintain accepts any), so `jsc-sdlc` skills can gate on model capability.