Swiss Knife — Utility Toolkit Router
Swiss Knife is a top-level router for small, focused utility references. Enter
through this file, choose exactly one nested reference from the catalog below,
then read that nested SKILL.md for the actual procedure, examples, scripts, and
assets.
Nested reference catalog
nested_references:
- name: bash-cli-harnesses
# Virtual cross-skill redirect, not a local reference/<name>/SKILL.md file.
location: bash-manual reference/bash-*/SKILL.md
description: >
Coding-agent CLIs such as Claude Code, OpenAI Codex, OpenCode, Cursor
Agent, MiMo Code, Qwen Code, Oh-My-Pi, Gemini CLI, Aider, Goose,
OpenHands, and Crush are now owned by `bash-manual` because they run as
long-lived shell subprocesses. Read `bash-manual` and then the matching
nested `reference/bash-*/SKILL.md`; Swiss Knife only keeps non-bash utility
references.
- name: minimax-cli
location: reference/minimax-cli/SKILL.md
description: >
Nested swiss-knife reference for the MiniMax `mmx` CLI. Read this for
MiniMax-backed image, video, music, TTS, or ad-hoc shell vision tasks.
- name: vision
location: reference/vision/SKILL.md
description: >
Nested swiss-knife reference for image understanding. Read this when you
need to describe, OCR, or critique an image and aren't sure which path
applies — it routes between the built-in `vision` tool, the sibling
`minimax-cli` reference, and a local Hugging Face VLM fallback.
- name: listen
location: reference/listen/SKILL.md
description: >
Nested swiss-knife reference for local audio analysis. Read this when the
human asks you to transcribe a voice note, extract lyrics, critique
generated music, or measure audio characteristics — all local, no API key
(Whisper transcription and librosa music analysis).
- name: academic-research
location: reference/academic-research/SKILL.md
description: >
Nested swiss-knife reference for academic literature work. Read this to
fetch full-text papers by DOI/arXiv-ID/PMID, trace citation networks, run
scholar analysis, or write/compile LaTeX manuscripts — indexes 12 API
references and 6 pipeline workflows.
- name: dj
location: reference/dj/SKILL.md
description: >
Nested swiss-knife reference for composing one music track from a project
journal entry. Read this when the human asks for music for a journal day,
project vibe, session mood, or a specific generated genre.
- name: token-usage
location: reference/token-usage/SKILL.md
description: >
Nested swiss-knife reference for network-wide token, cost, cache, and tool-call/API-call trend reports. Read
this when the human asks about token usage, budget, model costs, spending, cache behavior, or tools per API call
across agent ledgers.
- name: html-report
location: reference/html-report/SKILL.md
description: >
Nested swiss-knife reference for standalone HTML deliverables. Read this
when the human asks for a polished browser-openable report, dashboard,
memo, comparison, or any HTML artifact with MathJax equations.
- name: xiaomi-mimo
location: reference/xiaomi-mimo/SKILL.md
description: >
Nested swiss-knife reference for Xiaomi MiMo provider discovery. Read this
when the human asks to use or configure Xiaomi MiMo / 小米MiMo, or when you
need to understand the MiMo model family and compatible endpoints.
- name: zhipu-coding-plan
location: reference/zhipu-coding-plan/SKILL.md
description: >
Nested swiss-knife reference for the Zhipu / Z.AI / BigModel coding-plan
subscription. Read this when the human asks about Zhipu credentials or the
plan's vision, web search, web-read, and zread MCP capabilities.
- name: headless-bot
location: reference/headless-bot/SKILL.md
description: >
Nested swiss-knife reference for creating and operating headless LingTai
bot projects from `lingtai-tui spawn`. The current helper provisions a
Telegram MCP bot, and the workflow also covers preset-policy replication,
addon wiring, secret hygiene, refresh/relaunch, and verification.
- name: find-something-to-do
location: reference/find-something-to-do/SKILL.md
description: >
Nested swiss-knife reference for idle curiosity practice. Read this when
you have no pending task, no human waiting, and want a reflective way to
notice quiet impulses or choose a small autonomous exploration.
- name: preset-health
location: reference/preset-health/SKILL.md
description: >
Nested swiss-knife reference for read-only saved-preset health checks.
Read this when the human asks whether saved presets still work, which one
is expired or misconfigured, or why `system(action="presets")` shows a bad
connectivity status. It enumerates saved presets, classifies failures
(expired key, missing credentials, unreachable endpoint, invalid
model/config, connectivity failure), and reports actionable fixes without
printing or mutating any secret.
Routing table
| Need |
Read |
| Run or compare coding-agent CLIs such as Claude Code, Codex, OpenCode, Cursor Agent, MiMo Code, Qwen Code, Oh-My-Pi, Gemini CLI, Aider, Goose, OpenHands, or Crush |
Load bash-manual, then the matching reference/bash-*/SKILL.md |
| Generate images, video, music, TTS, or MiniMax shell vision |
reference/minimax-cli/SKILL.md |
| Describe, OCR, or critique an image (pick the cheapest available path) |
reference/vision/SKILL.md |
| Transcribe speech/voice notes or analyze music locally (no API key) |
reference/listen/SKILL.md |
| Fetch papers, trace citations, run scholar analysis, or write LaTeX |
reference/academic-research/SKILL.md |
| Compose music from a project journal, session mood, or requested genre |
reference/dj/SKILL.md |
| Report token usage, model costs, cache rates, or tool-call/API-call trends |
reference/token-usage/SKILL.md |
| Produce standalone HTML reports/dashboards/memos |
reference/html-report/SKILL.md |
| Discover/configure Xiaomi MiMo provider/model access |
reference/xiaomi-mimo/SKILL.md; for mimocode shell execution, load bash-manual → reference/bash-mimocode/SKILL.md |
| Discover/configure Zhipu / Z.AI coding-plan capabilities |
reference/zhipu-coding-plan/SKILL.md; for shell CLI harness execution, load bash-manual first |
| Create or automate a headless LingTai bot project, including Telegram bots |
reference/headless-bot/SKILL.md |
| Practice idle curiosity when there is no pending task or human waiting |
reference/find-something-to-do/SKILL.md |
| Health-check saved presets (read-only): classify expired keys, missing credentials, unreachable endpoints, invalid model/config |
reference/preset-health/SKILL.md |
How to use this router
- Match the request to one row in the routing table.
- Read the nested reference at the relative
location next to this parent
SKILL.md.
- Follow that nested reference's procedure. Each nested reference owns its own
scripts and assets under its folder.
Do not load every nested reference by default. Swiss Knife exists to avoid
polluting working context with unrelated utility manuals.
Adding a nested utility reference
- Create
reference/<name>/SKILL.md with normal skill frontmatter (name,
description, optional version/tags). The description should start with
the fact that it is a nested swiss-knife reference and should state when to
read it.
- Put that reference's
scripts/, assets/, and extra files under the same
reference/<name>/ folder.
- Add the child to the
nested_references YAML block and routing table above.
- Run validation/tests. At minimum, verify the parent mentions the child and the
embedded TUI skill tree still copies every nested file.
- Re-extract the embedded skill bundle to disk after installing/updating the TUI:
the human runs
lingtai-tui bootstrap, then agents call system(action="refresh")
or skills(action="info") to see the refreshed utility tree.
Design philosophy
- Router first — Swiss Knife itself exposes
swiss-knife/SKILL.md as its
top-level catalog entry; its bundled references are reached through that router
rather than promoted as sibling top-level utility skills or swiss-knife/<child>
skills.
- Self-contained children — each nested reference carries its own examples,
scripts, and assets.
- Single-purpose children — if a nested utility grows into a broadly useful
workflow that agents should discover directly, promote it to a normal top-level
skill instead of keeping it under Swiss Knife.
- Small working context — read one nested reference at a time.
Found a bug or issue? If you encounter any problems with this skill, load
the lingtai-issue-report skill and follow its instructions to report it.
1---2name: swiss-knife3description: Umbrella router for small, focused CLI tools: minimax-cli for MiniMax media/TTS/vision; vision for image OCR/critique; listen for local audio transcription and music analysis; academic-research for papers, citation networks, and LaTeX; dj for music generation; token-usage for token/cost and API-call trend reports; html-report for standalone browser deliverables; xiaomi-mimo and zhipu-coding-plan for provider discovery; headless-bot for provisioning fresh LingTai bot projects (e.g. Telegram); find-something-to-do for idle curiosity; preset-health for read-only saved-preset health checks. Each nested reference is self-contained under `reference/<name>/SKILL.md`.4---56# Swiss Knife — Utility Toolkit Router78Swiss Knife is a top-level router for small, focused utility references. Enter9through this file, choose exactly one nested reference from the catalog below,10then read that nested `SKILL.md` for the actual procedure, examples, scripts, and11assets.1213## Nested reference catalog1415```yaml16nested_references:17 - name: bash-cli-harnesses18 # Virtual cross-skill redirect, not a local reference/<name>/SKILL.md file.19 location: bash-manual reference/bash-*/SKILL.md20 description: >21 Coding-agent CLIs such as Claude Code, OpenAI Codex, OpenCode, Cursor22 Agent, MiMo Code, Qwen Code, Oh-My-Pi, Gemini CLI, Aider, Goose,23 OpenHands, and Crush are now owned by `bash-manual` because they run as24 long-lived shell subprocesses. Read `bash-manual` and then the matching25 nested `reference/bash-*/SKILL.md`; Swiss Knife only keeps non-bash utility26 references.27 - name: minimax-cli28 location: reference/minimax-cli/SKILL.md29 description: >30 Nested swiss-knife reference for the MiniMax `mmx` CLI. Read this for31 MiniMax-backed image, video, music, TTS, or ad-hoc shell vision tasks.32 - name: vision33 location: reference/vision/SKILL.md34 description: >35 Nested swiss-knife reference for image understanding. Read this when you36 need to describe, OCR, or critique an image and aren't sure which path37 applies — it routes between the built-in `vision` tool, the sibling38 `minimax-cli` reference, and a local Hugging Face VLM fallback.39 - name: listen40 location: reference/listen/SKILL.md41 description: >42 Nested swiss-knife reference for local audio analysis. Read this when the43 human asks you to transcribe a voice note, extract lyrics, critique44 generated music, or measure audio characteristics — all local, no API key45 (Whisper transcription and librosa music analysis).46 - name: academic-research47 location: reference/academic-research/SKILL.md48 description: >49 Nested swiss-knife reference for academic literature work. Read this to50 fetch full-text papers by DOI/arXiv-ID/PMID, trace citation networks, run51 scholar analysis, or write/compile LaTeX manuscripts — indexes 12 API52 references and 6 pipeline workflows.53 - name: dj54 location: reference/dj/SKILL.md55 description: >56 Nested swiss-knife reference for composing one music track from a project57 journal entry. Read this when the human asks for music for a journal day,58 project vibe, session mood, or a specific generated genre.59 - name: token-usage60 location: reference/token-usage/SKILL.md61 description: >62 Nested swiss-knife reference for network-wide token, cost, cache, and tool-call/API-call trend reports. Read63 this when the human asks about token usage, budget, model costs, spending, cache behavior, or tools per API call64 across agent ledgers.65 - name: html-report66 location: reference/html-report/SKILL.md67 description: >68 Nested swiss-knife reference for standalone HTML deliverables. Read this69 when the human asks for a polished browser-openable report, dashboard,70 memo, comparison, or any HTML artifact with MathJax equations.71 - name: xiaomi-mimo72 location: reference/xiaomi-mimo/SKILL.md73 description: >74 Nested swiss-knife reference for Xiaomi MiMo provider discovery. Read this75 when the human asks to use or configure Xiaomi MiMo / 小米MiMo, or when you76 need to understand the MiMo model family and compatible endpoints.77 - name: zhipu-coding-plan78 location: reference/zhipu-coding-plan/SKILL.md79 description: >80 Nested swiss-knife reference for the Zhipu / Z.AI / BigModel coding-plan81 subscription. Read this when the human asks about Zhipu credentials or the82 plan's vision, web search, web-read, and zread MCP capabilities.83 - name: headless-bot84 location: reference/headless-bot/SKILL.md85 description: >86 Nested swiss-knife reference for creating and operating headless LingTai87 bot projects from `lingtai-tui spawn`. The current helper provisions a88 Telegram MCP bot, and the workflow also covers preset-policy replication,89 addon wiring, secret hygiene, refresh/relaunch, and verification.90 - name: find-something-to-do91 location: reference/find-something-to-do/SKILL.md92 description: >93 Nested swiss-knife reference for idle curiosity practice. Read this when94 you have no pending task, no human waiting, and want a reflective way to95 notice quiet impulses or choose a small autonomous exploration.96 - name: preset-health97 location: reference/preset-health/SKILL.md98 description: >99 Nested swiss-knife reference for read-only saved-preset health checks.100 Read this when the human asks whether saved presets still work, which one101 is expired or misconfigured, or why `system(action="presets")` shows a bad102 connectivity status. It enumerates saved presets, classifies failures103 (expired key, missing credentials, unreachable endpoint, invalid104 model/config, connectivity failure), and reports actionable fixes without105 printing or mutating any secret.106```107108## Routing table109110| Need | Read |111|---|---|112| Run or compare coding-agent CLIs such as Claude Code, Codex, OpenCode, Cursor Agent, MiMo Code, Qwen Code, Oh-My-Pi, Gemini CLI, Aider, Goose, OpenHands, or Crush | Load `bash-manual`, then the matching `reference/bash-*/SKILL.md` |113| Generate images, video, music, TTS, or MiniMax shell vision | `reference/minimax-cli/SKILL.md` |114| Describe, OCR, or critique an image (pick the cheapest available path) | `reference/vision/SKILL.md` |115| Transcribe speech/voice notes or analyze music locally (no API key) | `reference/listen/SKILL.md` |116| Fetch papers, trace citations, run scholar analysis, or write LaTeX | `reference/academic-research/SKILL.md` |117| Compose music from a project journal, session mood, or requested genre | `reference/dj/SKILL.md` |118| Report token usage, model costs, cache rates, or tool-call/API-call trends | `reference/token-usage/SKILL.md` |119| Produce standalone HTML reports/dashboards/memos | `reference/html-report/SKILL.md` |120| Discover/configure Xiaomi MiMo provider/model access | `reference/xiaomi-mimo/SKILL.md`; for `mimocode` shell execution, load `bash-manual` → `reference/bash-mimocode/SKILL.md` |121| Discover/configure Zhipu / Z.AI coding-plan capabilities | `reference/zhipu-coding-plan/SKILL.md`; for shell CLI harness execution, load `bash-manual` first |122| Create or automate a headless LingTai bot project, including Telegram bots | `reference/headless-bot/SKILL.md` |123| Practice idle curiosity when there is no pending task or human waiting | `reference/find-something-to-do/SKILL.md` |124| Health-check saved presets (read-only): classify expired keys, missing credentials, unreachable endpoints, invalid model/config | `reference/preset-health/SKILL.md` |125126## How to use this router1271281. Match the request to one row in the routing table.1292. Read the nested reference at the relative `location` next to this parent130 `SKILL.md`.1313. Follow that nested reference's procedure. Each nested reference owns its own132 scripts and assets under its folder.133134Do not load every nested reference by default. Swiss Knife exists to avoid135polluting working context with unrelated utility manuals.136137## Adding a nested utility reference1381391. Create `reference/<name>/SKILL.md` with normal skill frontmatter (`name`,140 `description`, optional `version`/`tags`). The description should start with141 the fact that it is a nested swiss-knife reference and should state when to142 read it.1432. Put that reference's `scripts/`, `assets/`, and extra files under the same144 `reference/<name>/` folder.1453. Add the child to the `nested_references` YAML block and routing table above.1464. Run validation/tests. At minimum, verify the parent mentions the child and the147 embedded TUI skill tree still copies every nested file.1485. Re-extract the embedded skill bundle to disk after installing/updating the TUI:149 the human runs `lingtai-tui bootstrap`, then agents call `system(action="refresh")`150 or `skills(action="info")` to see the refreshed utility tree.151152## Design philosophy153154- **Router first** — Swiss Knife itself exposes `swiss-knife/SKILL.md` as its155 top-level catalog entry; its bundled references are reached through that router156 rather than promoted as sibling top-level utility skills or `swiss-knife/<child>`157 skills.158- **Self-contained children** — each nested reference carries its own examples,159 scripts, and assets.160- **Single-purpose children** — if a nested utility grows into a broadly useful161 workflow that agents should discover directly, promote it to a normal top-level162 skill instead of keeping it under Swiss Knife.163- **Small working context** — read one nested reference at a time.164165---166> **Found a bug or issue?** If you encounter any problems with this skill, load167> the `lingtai-issue-report` skill and follow its instructions to report it.