Agent skill
resource-management
Use when managing resources like memory blocks, tools, folders, files, or MCP servers
Stars
41
Forks
4
Install this agent skill to your Project
npx add-skill https://github.com/nouamanecodes/lettactl/tree/main/.skills/resource-management
SKILL.md
Entry Points
src/commands/get.ts- List resourcessrc/commands/describe.ts- Resource detailssrc/commands/delete.ts- Delete resourcessrc/commands/files.ts- Agent file statesrc/lib/block-manager.ts- Memory block opssrc/lib/resource-classifier.ts- Shared/orphaned classification
Commands
bash
# List resources
lettactl get blocks [--shared] [--orphaned] [-o table|json|yaml]
lettactl get tools [--builtin] [--custom]
lettactl get folders [--orphaned]
lettactl get files
lettactl get mcp-servers
# Describe
lettactl describe block <name>
lettactl describe tool <name>
lettactl describe folder <name>
# Delete
lettactl delete block <name> [-y] [--force]
lettactl delete tool <name> [-y]
lettactl delete folder <name> [-y]
# Agent files
lettactl files <agent>
Key Types
typescript
Block { id: string; name: string; description: string; limit: number; value: string }
Tool { id: string; name: string; source_type: 'python' | 'builtin' }
Folder { id: string; name: string; files: FileInfo[] }
McpServer { id: string; name: string; type: 'sse' | 'stdio' | 'streamable_http' }
Protected Resources
Cannot be deleted:
- Core memory tools:
memory_insert,memory_replace,memory_rethink,memory,conversation_search - File tools:
open_files,grep_files,semantic_search_files
Examples
bash
# List orphaned blocks
lettactl get blocks --orphaned
# View block details
lettactl describe block company-info -o json
# Show agent's files
lettactl files my-agent
# Delete unused folder
lettactl delete folder old-docs -y
Didn't find tool you were looking for?