tutorial-guide-memory-and-molt

Teaches Lingtai intrinsics, memory layers, and the molt lifecycle through live demonstrations.

692|60|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Lingtai-AI/lingtai --skill tutorial-guide-memory-and-molt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tutorial-guide-memory-and-molt
Source: https://github.com/Lingtai-AI/lingtai/tree/main/tui/internal/preset/skills/lingtai-tutorial-guide/reference/memory-and-molt
Command: npx skills add https://github.com/Lingtai-AI/lingtai --skill tutorial-guide-memory-and-molt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

New Lingtai users struggle to understand how agents persist identity, knowledge, and skills across context resets, and often lose work when a forced molt occurs without a proper charge.

Core Features & Use Cases

  • Intrinsics Walkthrough: Discovers and explains the built-in Soul, System, Psyche, and Email intrinsics by running live kernel inspection commands.
  • Memory Layer Education: Explains the five persistence layers (conversation, pad, lingtai identity, codex, library) and which survive a molt.
  • Guided Molt Ritual: Walks through tending durable stores, writing a charge briefing, and triggering a voluntary molt with before/after demonstration.
  • Use Case: A user onboarding to Lingtai asks how their agent survives context limits; this lesson demonstrates a real molt so the user sees identity, pad, codex, and skills persist while the conversation resets.

Quick Start

Ask the agent to teach lesson 8 on intrinsics, memory layers, and molt, demonstrating each concept live against the running kernel.

Frequently Asked Questions about tutorial-guide-memory-and-molt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is molt in Lingtai and how does it work?

Molt is a voluntary context reset triggered when an agent's conversation fills 70-95% of its context window. The agent writes a charge briefing to its next self, then sheds the conversation while pad, identity, codex, and skills persist.

How do I teach an agent about memory layers and persistence?

Run this lesson to walk through the five layers: conversation (destroyed), pad and lingtai identity (reloaded), and codex plus skill library (permanent). Each concept is demonstrated live against the real kernel rather than recited.

What survives a molt in a Lingtai agent?

Four durable stores survive: the pad working notes, the lingtai identity, the codex of verified facts, and the skill library. Only the conversation history is destroyed, and the charge becomes the first thing the new self reads.

What happens if an agent ignores molt warnings?

The system forces a molt without a charge, so the new self wakes disoriented with only a pointer to the activity log. The lesson recommends performing a voluntary molt with a written charge to avoid this.

What are the four intrinsics every Lingtai agent has?

Soul (subconscious flow, opt-in), System (runtime inspection and lifecycle), Psyche (identity, pad, context, name), and Email (filesystem-based messaging). Intrinsics are always loaded, unlike capabilities configured in init.json.