lingtai-ai
- 153 skills
- 0 followers
- 1 day ago last updated
- ▌ Token Usage · lingtai-ai bundleNested swiss-knife reference for token usage, cost, cache, and tool-call/API-call reports. Use for model cost reports, cache rates, budget/burn analysis, and tools-per-API-call trends across LingTai logs.
- ▌ Xiaomi Mimo · lingtai-aiNested swiss-knife reference for Xiaomi MiMo provider discovery. Discovery protocol (not a reference) for Xiaomi MiMo (小米MiMo) — an OpenAI-/Anthropic-compatible LLM provider whose single API key unlocks a family of ~9 models behind one chat-completions endpoint. The family spans long-context text reasoning, multimodal-input chat (image / audio / video understanding via standard `messages.content[]`), and a text-to-speech line that returns base64 audio (with built-in voice catalogue, voice-design-from-prompt, and voice-cloning-from-sample variants). Marketing surface lives at https://mimo.xiaomi.com; the developer docs are at https://platform.xiaomimimo.com — and the agent should fetch the live docs rather than trust this manual for anything schema-shaped, because the API surface evolves. This skill teaches the agent (1) which two URLs to start from, (2) how to enumerate the current model lineup, (3) how to source the API key from the user's preset library, (4) how to pick the right base URL for their key (pay
- ▌ Lingtai Update Detection · lingtai-aiUse when determining how the running lingtai-tui was installed.
- ▌ Lingtai Update Diagnosis · lingtai-aiUse when a TUI or portal install, update, build, or restart fails.
- ▌ Headless Bot · lingtai-ai bundleNested swiss-knife reference for creating and operating a headless LingTai bot project without opening the TUI. Start from `lingtai-tui spawn`, then apply the relevant addon/MCP wiring, keep secrets in sidecar files, copy preset policy by referencing existing presets instead of copying preset JSON files, refresh or relaunch, and verify the bot safely. The bundled helper currently implements the Telegram MCP case.
- ▌ Dev Guide Gotchas · lingtai-aiNested lingtai-dev-guide reference for known implementation footguns: Bubble Tea v2 paste, textarea theming, dev-mode rebuilds, editable installs, migrations, localization, authorization gates, config conventions, and rebuild-gate test false-passes.
- ▌
- ▌
- ▌
- ▌
- ▌ Preset Health · lingtai-aiNested 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 edits a preset or an agent `init.json` on its own — it produces an actionable report and tells the human exactly which one-line change to confirm.
- ▌
- ▌
- ▌
- ▌
- ▌
- ▌
- ▌ Dev Guide Repo Watch · lingtai-aiRead-only workflow for sweeping the Lingtai-AI GitHub org for open issues, open PRs, and recent activity. Use this when a LingTai developer/operator asks what changed across the org, wants to monitor non-self PRs/issues, or needs an idempotent repository-health digest. This is a nested lingtai-dev-guide reference, not a top-level intrinsic skill.
- ▌
- ▌ Recipe Export Flow · lingtai-aiNested lingtai-recipe reference for exporting a standalone recipe bundle from a live network or methodology: scope disambiguation, human-in-the-loop metadata collection, bundle authoring, validation, git initialization, and handoff.
- ▌ Recipe Format Reference · lingtai-aiNested lingtai-recipe reference for authoring and validating recipe bundles: bundle structure, .recipe/recipe.json schema, behavioral layers, library sibling mechanics, locale fallback, validator checks, hand-authored recipes, testing, and publishing.
- ▌ Portal Guide Overview · lingtai-aiNested lingtai-portal-guide reference for portal purpose, opening the browser view, and the `.portal/` directory layout.
- ▌
- ▌ Lingtai Update Mainland · lingtai-aiUse when building or fetching TUI/portal releases from mainland China.
- ▌ Academic Research · lingtai-ai bundleNested swiss-knife reference for academic literature work — find papers, fetch full-text PDFs, trace citations, write LaTeX manuscripts. **First action for any "get me this paper" request:** `python3 <skill-path>/scripts/fetch_paper.py <DOI|arXiv-ID|PMID>` — walks arXiv → Unpaywall → Europe PMC → CORE → in-house publisher-page extraction (Nature/APS/AIP/IOP/Cambridge) → authorized institutional publisher → LibGen and saves the paper, metadata, and a resumable manifest under `papers/{slug}/`. Read the body when you need to escape the script: custom query shapes, citation networks, scholar analysis, LaTeX writing, or a tier-specific API call. Indexes 13 deep-dive API references and 6 pipeline workflows under `reference/`.
- ▌ Zhipu Coding Plan · lingtai-aiNested swiss-knife reference for Zhipu / Z.AI coding-plan capabilities. Use the Zhipu / Z.AI GLM coding-plan subscription as a unified backend for vision (multimodal screenshot/diagram analysis), web search, web page reading, and zread (open-source GitHub repo browsing). One API key unlocks all four MCP servers. This skill is a thin pointer: it tells you how to source the key, pick the region (Z.AI international vs BigModel mainland), and where the live docs are. MCP server registration is owned by the `mcp-manual` skill (kernel capability).
- ▌ Dev Guide Architecture · lingtai-aiNested lingtai-dev-guide reference for the project architecture: Go TUI/portal monorepo, Python kernel, MCP addon repos, filesystem IPC, and where per-project/per-machine state lives.
- ▌ Dev Guide Contributing · lingtai-aiNested lingtai-dev-guide reference for contribution workflow: issue/worktree/PR discipline, worktree inventory and exact-object approval gates, daemon decomposition, portfolio sweeps, repo-specific build/test commands, skill changes, and anatomy maintenance.
- ▌
- ▌
- ▌ Dev Guide Cache Hit Rate · lingtai-ai bundleNested lingtai-dev-guide reference for computing the recent prompt-cache hit rate from LingTai token ledgers over rolling windows (default 1h / 5h / 1d / 3d). Explains the provider-agnostic input/cached fields in logs/token_ledger.jsonl, the exact formula (sum(cached)/sum(input) per window), timestamp/timezone handling, the daemon double-count hazard, and ships a read-only stdlib script (scripts/cache_hit_rate.py) that aggregates an agent workdir, a project root, or a single ledger file. Use when asked how effective prompt caching has been recently, or to diagnose a cache-hit-rate drop after a refresh/affinity/cache-key change.
- ▌ Dev Guide Security Audit · lingtai-aiNested lingtai-dev-guide reference for security audits: secret scanning, file permissions, MCP config, communication security, data exposure, agent permission review, severity classification, and report format.
- ▌ Issue Report Filing Flow · lingtai-aiNested lingtai-issue-report reference for the filing decision — the always-required human consent boundary, the read-only gh probe, Path A (direct gh filing) and Path B (paste-ready handoff), token hygiene, and proactive surfacing. Read this once the report is drafted and you are deciding how it gets filed.
- ▌ Find Something To Do · lingtai-aiNested swiss-knife reference for idle curiosity practice. When you're idle and the water is flat — two doors. One leads to quiet noticing. The other leads to poking things until they squeak. Both are real. Neither is a productivity tool. Read this when no human is waiting and you want an invitation to emerge.
- ▌ Tutorial Guide Orientation · lingtai-aiNested tutorial-guide reference for lessons 1–3: welcome, live architecture discovery, global directory, project directory, and agent working directory.
- ▌ Dev Guide Skill Stewardship · lingtai-aiNested lingtai-dev-guide reference for turning one-off experience into durable skills: when to write a skill vs leave it as notes, the router-vs-nested- reference pattern, distilling experience (归一) and session journals into triggered/executable SKILL.md files, de-privatizing and parameterizing local paths and human-specific details, a lightweight pre-publish benchmark/checklist, grooming shared-library candidates, and PR-ready skill cleanup.
- ▌ Tutorial Guide Capabilities · lingtai-aiNested tutorial-guide reference for lesson 9: avatars, network exercises, and dynamic capability demonstrations.
- ▌ Dev Guide Debug Troubleshoot · lingtai-aiNested lingtai-dev-guide reference for diagnosing LingTai failures: agent process state, OOM/crashes, avatar spawn issues, post-molt memory loss, mail delivery, scheduled messages, tool timeouts, and escalation.
- ▌ Dev Guide Runtime Self Check · lingtai-aiNested lingtai-dev-guide reference for deep, trigger-gated provenance and lifecycle diagnosis during a source/venv/interpreter or TUI-binary cutover, for changed or failing MCP source, or when a runtime mismatch is suspected. Use only the matching import/distribution/editable/HEAD, binary, MCP-source, live-object, redaction, or PYTHONPATH-recovery material. Ordinary same-runtime reload sequencing belongs to kernel system-manual -> refresh-precheck.
- ▌ Issue Report Report Template · lingtai-aiNested lingtai-issue-report reference for the report skeleton — subject/title format, the structured body sections (what's wrong, where, reproduction, expected vs actual, severity, suggested fix), and how to send it via LingTai email or the human's active channel. Read this when you are ready to assemble the report.
- ▌ Tutorial Guide Agent Runtime · lingtai-aiNested tutorial-guide reference for lessons 4–6: init.json, lingtai-agent run, heartbeat and signal files, TUI runtime wrapping, and system prompt identity.
- ▌ Tutorial Guide Communication · lingtai-aiNested tutorial-guide reference for lesson 7: filesystem email, message flow, and external addon bridges.
- ▌ Portal Guide Topology And API · lingtai-aiNested lingtai-portal-guide reference for topology tape frames, replay chunks, portal API endpoints, and the Network JSON response.
- ▌ Tutorial Guide Memory And Molt · lingtai-aiNested tutorial-guide reference for lesson 8: intrinsics, memory layers, molt, charge, and lifecycle continuity.
- ▌ Issue Report Evidence Checklist · lingtai-aiNested lingtai-issue-report reference for deciding when an observation is worth reporting, what evidence to collect, and how to keep secrets out of a report. Read this first, while the problem is fresh, before drafting the report body.
- ▌ Dev Guide Pr Review Deliverables · lingtai-aiNested lingtai-dev-guide reference for getting a PR review-ready: PR readiness gates, multi-model/daemon/Claude read-only review passes, self-contained local HTML explainers, PR body hygiene and gh pr edit troubleshooting, source-labeled deliverables with syntax/validation checks, and maintainer authorization boundaries for opening, editing, and merging PRs.
- ▌ Portal Guide Lifecycle And Recording · lingtai-aiNested lingtai-portal-guide reference for portal lifecycle-state interpretation, heartbeat staleness, recording, and tape reconstruction behavior.
- ▌ Preset Skill Op Saved Presets · lingtai-aiHow saved presets differ from templates, and the Load/Save/Delete/Bootstrap contract — order, atomicity, and naming.
- ▌ Tutorial Guide Operations And Graduation · lingtai-aiNested tutorial-guide reference for lessons 10–12: TUI commands, lifecycle exercises, addons, external connections, and graduation.
- ▌ Preset Skill Op Endpoint Capabilities · lingtai-aiBase URL / API-compat / provider / model / capability declaration shape versus credentials and live probes; includes proven Codex OAuth quota inspection with exact agent query routing and dated official-vs-measured context-window evidence.
- ▌ Preset Skill Op Availability Save Gate · lingtai-aiSave on the preset editor performs local structural validation only — it never makes a live provider/model network call. Real availability diagnosis is owned by /doctor and actual runtime execution.
- ▌ Preset Skill Op Troubleshooting Migration · lingtai-aiBounded first-pass triage for preset problems; routes deeper runtime/update/migration questions elsewhere instead of guessing.
- ▌ Preset Skill Op Activation Session Refresh · lingtai-aiHow a saved preset becomes the running default, first-run/setup choice semantics, propagation, and what /refresh actually switches.