Nested swiss-knife reference for saved-preset health checks. Read this when the human asks whether saved presets still work, which preset is expired or misconfigured, why `system(action="presets")` shows a bad connectivity status, or for a safe procedure to enumerate saved presets, classify each failure (expired key, missing credentials, unreachable endpoint, invalid model/config, connectivity failure), and report results without leaking secrets. This is a READ-ONLY diagnostic workflow: it never
SkillScore77Maintained
Automatic
◆AI Engineer pack
Last verified 8/19/2026
What it changes
Passed 15 of 19 test cases with the skill, and 5 of 19 without it.
Without skill27%
With skill77%
Checks it passed that the model alone missed
Assigns the status class no_credentials.
Assigns auth_failed as the status class.
Assigns config_error as the status class.
and 9 more in the full report
11 fixed6 passed either way5 still failing0 broke
Pass-rate lift
+50 pp
Tokens
+118%
Agent turns
0%
Response time
-52%
Model gemini-3.6-flashMeasured 8/19/2026v117 of 22 cases passed with skill · 19 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 11
Prompt
What is the primary Lingtai TUI CLI command to list all user-saved presets in structured JSON format?
What was checked, without and with the skill
Checked
Without skill
With skill
Specifies lingtai-tui presets --saved --json as the listing command.
Missed
Passed
case-08 · gemini-3.6-flash · 8/19/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md210 linessingle file
Preset Health Check (read-only)
A repeatable, read-only procedure for testing whether saved presets are healthy,
classifying any failures, and producing an actionable report — without printing
or mutating credentials.
Read-only contract. This reference enumerates, probes, and reports. It does
not edit ~/.lingtai-tui/presets/saved/*.json, agent init.json, or any
manifest.preset.allowed list. Remediation is described as a recommendation
for the human to confirm and apply (or to explicitly authorize you to apply
through the normal preset tooling). Never run a "fix" step automatically.
When to use
The human asks "are my presets still working?" or "which preset is broken?"
system(action="presets") surfaced a non-ok connectivity status (for
example no_credentials, an auth failure, or an unreachable endpoint).
A provider rotated keys, retired a model, or moved an endpoint and you need to
find every saved preset affected.
A new agent needs a clear procedure to triage presets before relying on them.
Where saved presets live
Saved (user-owned) presets are JSON files here:
~/.lingtai-tui/presets/saved/*.json
Built-in templates live under ~/.lingtai-tui/presets/templates/ and are
rewritten on every lingtai-tui bootstrap — the directory itself is the marker
distinguishing built-in from user-owned, so a health check focuses on
saved/. The skill tree this reference ships in is extracted to
~/.lingtai-tui/utilities/swiss-knife/reference/preset-health/SKILL.md.
Each preset's relevant shape (other fields omitted):