Claude

From Lingtai-AI/lingtai · View interactive version

Claude is an AI agent skill from the GitHub repository Lingtai-AI/lingtai. Use when revising the built-in claude TUI preset.

How to use this skill

Skill file

claude preset revision

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).

Template-specific settings

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.

TUI surfaces to revise

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.

Reviewed deterministic revision

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.

Maintenance: If the relevant TUI preset/page is revised, check whether this sub-skill also needs revision and, if so, include it in the same PR.

Operations

For save, endpoint/capability, availability, activation/refresh, or

troubleshooting, use the five shared operation children under

reference/operations/; this child owns Claude CLI alias facts.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.