thread-management
Thread Management Skill
Manage Alma chat threads via the alma CLI.
Commands
# List recent threads (default 20)
alma threads [limit]
# Show thread details
alma thread info <thread-id>
# Create a new thread
alma thread create <title> [--model providerId:modelName]
# Delete a thread
alma thread delete <thread-id>
# Read thread messages
alma thread messages <thread-id> [--limit 20]
# Switch current chat to a different thread
alma thread switch <thread-id>
# Search across threads (via API)
curl -s "http://localhost:23001/api/threads/search?q=QUERY&limit=10"
Tips
- Use
alma threadsfor a quick overview - Use
alma thread switch <id>to switch the current Telegram/Discord chat to a different thread (the ALMA_THREAD_ID env is automatically set) - When creating threads for the user, give them descriptive titles
- Always confirm before deleting threads
More from naohainezha/skill
reactions
React to the user's Telegram message with an emoji. Use when the message evokes a genuine emotional response.
28self-reflection
Daily self-reflection and personal growth. Triggered by heartbeat at end of day. Review the day's experiences, extract lessons, update personality, and write a diary entry.
6voice
Send voice messages (TTS) to the user via Telegram. Use when replying to voice messages or when a voice reply feels natural.
3scheduler
Create, manage, and delete scheduled tasks (cron jobs) and configure heartbeat. Use when users ask for reminders, recurring tasks, daily summaries, periodic checks, or anything time-based. Also manages HEARTBEAT.md for periodic awareness checks.
3memory-management
Search and manage Alma's memory and conversation history. Use when the user asks about past conversations, personal facts, preferences, or anything that requires recalling information ("你知道我...吗", "我们之前聊过...", "你还记得...", "帮我找之前说的..."). Also used to store new memories and search through archived chat threads.
3file-manager
Find, organize, and manage files on the user's computer. Search by name, type, size, or date. Move, rename, compress, and clean up files.
3