What problem does it solve?
Setting up a LingTai-backed chat bot normally requires stepping through the interactive TUI and manually wiring addons, MCP servers, secrets, and preset policies. This Skill automates that bootstrap so a bot project can be created and verified entirely headlessly, without leaking tokens into shell history or config files.
Core Features & Use Cases
- Automated Telegram Bot Provisioning: Runs
lingtai-tui spawn, writes the Telegram sidecar secret with mode 0600, registers the telegram addon and MCP server in init.json, and triggers a refresh.
- Preset Policy by Reference: Copies only the
manifest.preset policy block from an existing agent's init.json instead of duplicating preset JSON files, avoiding stale configuration.
- Security-First Handling: Reads the bot token from the environment rather than argv, redacts token-like values in output, and enforces allowlists and restrictive file permissions.
- Use Case: You want a Telegram-facing LingTai agent that mirrors your orchestrator's model presets. Run the helper with the project directory, preset, agent name, and allowed user IDs, then verify with
getMe and a /start message.
Quick Start
Ask the agent to create a headless Telegram bot project in a new directory using the minimax preset, with your Telegram user ID allowlisted and the preset policy inherited from an existing agent's init.json.