Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Revises the built-in claude TUI preset's CLI/OAuth model aliases, preset constructor, and editor entries via a reviewed manifest workflow.
28% 84%+56 ptsof test cases passed
Passed 21 of 25 test cases with the skill, and 7 of 25 without it.
When model aliases supported by the Claude CLI change, which Go source file in the TUI package needs to be updated alongside tui/internal/preset/preset.go?
Names tui/internal/tui/preset_editor.go as the file containing providerModels mappings
This test ran on v4. v5 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Use this child for the named built-in claude preset. claudePreset in
tui/internal/preset/preset.go uses canonical provider claude-code (shown as
"claude-p" in the TUI) and the local Claude Code CLI's OAuth login, with model
alias opus and no API-key env, base_url, web_search override, or LingTai
vision capability. The editor also offers fable, sonnet, and haiku aliases.
An Anthropic API key or an Anthropic-compatible endpoint is the separate
anthropic family (reference/anthropic/SKILL.md).
Read the official Claude Code workflows and Claude vision guide. This preset uses CLI/OAuth aliases, not an Anthropic API model catalog: use the installed claude CLI's documented model-selection/help surface to see aliases that the local CLI serves, and verify an alias with its normal print-mode selection. Do not replace an alias with a dated API ID or inspect credential contents. CLI alias support and API model availability are distinct facts. The current Claude Code mapping is fable to claude-fable-5-1; the TUI still stores the alias, not that full API identifier. Underlying CLI image support does not establish forwarding through LingTai's CLI adapter.
Start at claudePreset in tui/internal/preset/preset.go. Revise the claude-code entries in providerModels in tui/internal/tui/preset_editor.go when CLI aliases change. There is intentionally no constructor vision capability, and the editor exposes no reasoning or service-tier row for this provider; inspect only the model alias picker and fixed capability rendering if that contract changes. Follow the CLI-alias exemption in tui/CONTRACT.md.
Prepare an evidence-bound manifest and explicit input, then run lingtai-tui presets revise --manifest PATH --input PATH --mode dry-run|check|apply [--output-dir PATH]. Review the JSON plan, use dry-run/check before apply, and apply only to a new explicit output directory. revision.go validates hashes, route bindings, and evidence and preserves unowned bytes. This amendment does not change the current claude values.
Next to this one in the catalogue, plus more from the same author.