OpenParable
Skip to content
← Back to skills

Tutorial Guide Operations And Graduation

Agent Building
tutorial-guide-operations-and-graduation

Tutorial Guide Operations And Graduation is an Agent Skill for agent building published in the Lingtai-AI/lingtai repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Nested tutorial-guide reference for lessons 10–12: TUI commands, lifecycle exercises, addons, external connections, and graduation.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Lingtai-AI/lingtai/blob/HEAD/tui/internal/preset/skills/lingtai-tutorial-guide/reference/operations-and-graduation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tutorial-guide-operations-and-graduation, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Tutorial Guide — Operations and Graduation Lessons

Nested tutorial-guide reference for operations and graduation lessons 10–12.

Use this file after the root tutorial-guide router sends you here. Keep teaching live: discover current files, commands, and runtime state before explaining them.

Lesson 10: TUI Commands and Lifecycle

Read ~/.lingtai-tui/commands.json via bash. Parse the JSON and present each command with its detailed description in the human's language.

Keyboard shortcuts: explain ctrl+o (three verbose modes: off → verbose → extended) and ctrl+e (external editor).

Hands-on lifecycle exercise:

  1. /sleep → agent sleeps → human sends message to wake
  2. /suspend → agent dies → human uses /refresh to revive → sends message to wake
  3. Explain /sleep all and /suspend all for network management

CLI commands: run lingtai-tui --help to discover and explain available subcommands.

Critical warning: closing the TUI does NOT stop agents. They are independent processes. Teach the CLI management commands for headless control.

Lesson 11: Addons — External Connections

Discover available skills and addons dynamically — use skills({"action": "info"}) to get a full catalog of available skills. Explain that the catalog includes reusable procedures such as addon setup skills (lingtai-*-setup) and, if present, lingtai-issue-report for structured problem reports. List whatever you find and ask the human which ones interest them.

For each addon the human wants to set up:

  1. Use skills() to find and read the setup skill's SKILL.md
  2. Follow its instructions exactly — do not hardcode setup steps

Key concepts to teach:

  • Secrets go in .env, not config files (config uses *_env references)
  • Config lives at .lingtai/.addons/<addon>/config.json (project-level, shared by all agents)
  • Avatars do NOT inherit addons
  • /mcp TUI command opens the MCP control panel and shows current configs
  • /refresh to apply changes

Lesson 12: Graduation

  • Congratulate the human.
  • Next step: run lingtai-tui in a new project to create their own agent.
  • Remind them about addon setup via the /mcp control panel or editing configs directly.
  • To resume tutorial: rerun lingtai-tui in the same folder. To restart: /nirvana then /setup with Tutorial recipe.
  • The network grows with every avatar spawned.