Agent skill
observability
Use when checking server health, viewing context window usage, or managing async runs
Install this agent skill to your Project
npx add-skill https://github.com/nouamanecodes/lettactl/tree/main/.skills/observability
SKILL.md
Entry Points
src/commands/health.ts- Server health checksrc/commands/context.ts- Context window analysissrc/commands/runs.ts- Async job management
Commands
# Health check
lettactl health [-q] [-v]
# Context usage
lettactl context <agent> [-o table|json|yaml]
# Async runs
lettactl runs <agent> [--limit <n>] [--status pending|running|completed|failed] [-o table|json]
Key Types
ContextUsage {
total_tokens: number
max_tokens: number
usage_percent: number
breakdown: { system_prompt, memory_blocks, tool_definitions, conversation: number }
}
Run {
id: string
status: 'pending' | 'running' | 'completed' | 'failed' | 'cancelled'
created_at: string
completed_at?: string
}
Examples
# Check server
lettactl health
# View context usage
lettactl context my-agent
# Get usage as JSON
lettactl context my-agent -o json
# List recent runs
lettactl runs my-agent
# Show only failed runs
lettactl runs my-agent --status failed
# Show last 50 runs
lettactl runs my-agent --limit 50
Exit Codes
0- Success1- General error2- Connection failed3- Auth failed4- Agent not found
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
message-operations
Use when sending messages to agents, viewing conversation history, or managing message state
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.
Didn't find tool you were looking for?