Agent skill
message-operations
Use when sending messages to agents, viewing conversation history, or managing message state
Install this agent skill to your Project
npx add-skill https://github.com/nouamanecodes/lettactl/tree/main/.skills/message-operations
SKILL.md
Entry Points
src/commands/messages.ts- All message commandssrc/lib/message-sender.ts- Single agent messagingsrc/lib/bulk-messenger.ts- Multi-agent messaging
Commands
# Send message
lettactl send <agent> <message> [--async] [--stream] [-o text|json]
# Bulk send
lettactl send --all <message> [--pattern <regex>] [--timeout <ms>]
# View history (default: last 10 messages)
lettactl messages <agent> [-l <n>] [--all] [-o table|json|yaml]
# Manage state
lettactl reset-messages <agent> [-y]
lettactl compact-messages <agent>
lettactl cancel-messages <agent>
Key Types
Message {
id: string
role: 'user' | 'assistant' | 'system' | 'tool'
text: string
created_at: string
tool_calls?: ToolCall[]
}
Examples
# Send and get response
lettactl send my-agent "Hello"
# Send without waiting
lettactl send my-agent "Process this" --async
# Stream response
lettactl send my-agent "Tell me a story" --stream
# Bulk message all agents
lettactl send --all "System update"
# Message agents matching pattern
lettactl send --pattern "^prod-" "Health check"
# View last 10 messages (default)
lettactl messages my-agent
# View last 50 messages
lettactl messages my-agent -l 50
# View all messages
lettactl messages my-agent --all
# Clear conversation
lettactl reset-messages my-agent -y
# Reduce context usage
lettactl compact-messages my-agent
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
lettactl
Manage Letta AI agent fleets with kubectl-style CLI
release-cycle
Use when releasing features - covers issues, branches, tests, commits, PRs, versioning, and publishing
resource-management
Use when managing resources like memory blocks, tools, folders, files, or MCP servers
fleet-deployment
Use when deploying agents from YAML configuration files
code-review
Thorough code review covering architecture, code quality, and performance. Use when asked to "review this plan", "review code", "audit architecture", "check code quality", or "review for performance". Walks through issues interactively with tradeoff analysis and opinionated recommendations.
bulk-operations
Use when performing bulk operations like cleanup, delete-all, or bulk messaging
Didn't find tool you were looking for?