/finding-agents
Find other agents on the same server. Use when the user asks about other agents, wants to migrate memory from another agent, or needs to find an agent by name or tags.
$ npx -y skills add letta-ai/letta-code --skill finding-agents --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/finding-agents
Context preview
The summary Claude sees to decide when to auto-load this skill.
Find other agents on the same server. Use when the user asks about other agents, wants to migrate memory from another agent, or needs to find an agent by name or tags.
SKILL.md
finding-agents.SKILL.mdname: finding-agents
description: Find other agents on the same server. Use when the user asks about other agents, wants to migrate memory from another agent, or needs to find an agent by name or tags.
Finding Agents
This skill helps you find other agents on the same Letta server.
When to Use This Skill
- User asks about other agents they have
- User wants to find a specific agent by name
- User wants to list agents with certain tags
- You need to find an agent ID for memory migration
- You found an agent_id via message search and need details about that agent
CLI Usage
letta agents list [options]
Options
| Option | Description | |--------|-------------| | `--name <name>` | Exact name match | | `--query <text>` | Fuzzy search by name | | `--tags <tag1,tag2>` | Filter by tags (comma-separated) | | `--match-all-tags` | Require ALL tags (default: ANY) | | `--include-blocks` | Include agent.blocks in response | | `--limit <n>` | Max results (default: 20) |
Common Patterns
Finding Letta Code Agents
Agents created by Letta Code are tagged with `origin:letta-code`. To find only Letta Code agents:
letta agents list --tags "origin:letta-code"
This is useful when the user is looking for agents they've worked with in Letta Code CLI sessions.
Finding All Agents
If the user has agents created outside Letta Code (via ADE, SDK, etc.), search without the tag filter:
letta agents list
Examples
**List all agents (up to 20):**
letta agents list
**Find agent by exact name:**
letta agents list --name "ProjectX-v1"
**Search agents by name (fuzzy):**
letta agents list --query "project"
**Find only Letta Code agents:**
letta agents list --tags "origin:letta-code"
**Find agents with multiple tags:**
letta agents list --tags "frontend,production" --match-all-tags
**Include memory blocks in results:**
letta agents list --query "project" --include-blocks
Output
Returns the raw API response with full agent details. Key fields:
- `id` - Agent ID (e.g., `agent-abc123`)
- `name` - Agent name
- `description` - Agent description
- `tags` - Agent tags
- `blocks` - Memory blocks (if `--include-blocks` used)
Related Skills
- **migrating-memory** - Once you find an agent, use this skill to copy/share memory blocks
- **searching-messages** - Search messages across all agents to find which agent discussed a topic. Use `--all-agents` to get `agent_id` values, then use this skill to get full agent details.
Finding Agents by Topic
If you need to find which agent worked on a specific topic:
1. Load both skills: `searching-messages` and `finding-agents` 2. Search messages across all agents:
letta messages search --query "topic" --all-agents --limit 10
3. Note the `agent_id` values from matching messages 4. Get agent details:
letta agents list --query "partial-name"
Or use the agent_id directly in the Letta API
Read more
name: finding-agents description: Find other agents on the same server. Use when the user asks about other agents, wants to migrate memory from another agent, or needs to find an agent by name or tags.
Finding Agents
This skill helps you find other agents on the same Letta server.
When to Use This Skill
- User asks about other agents they have
- User wants to find a specific agent by name
- User wants to list agents with certain tags
- You need to find an agent ID for memory migration
- You found an agent_id via message search and need details about that agent
CLI Usage
letta agents list [options]
Options
| Option | Description | |--------|-------------| | `--name <name>` | Exact name match | | `--query <text>` | Fuzzy search by name | | `--tags <tag1,tag2>` | Filter by tags (comma-separated) | | `--match-all-tags` | Require ALL tags (default: ANY) | | `--include-blocks` | Include agent.blocks in response | | `--limit <n>` | Max results (default: 20) |
Common Patterns
Finding Letta Code Agents
Agents created by Letta Code are tagged with `origin:letta-code`. To find only Letta Code agents:
letta agents list --tags "origin:letta-code"
This is useful when the user is looking for agents they've worked with in Letta Code CLI sessions.
Finding All Agents
If the user has agents created outside Letta Code (via ADE, SDK, etc.), search without the tag filter:
letta agents list
Examples
**List all agents (up to 20):**
letta agents list
**Find agent by exact name:**
letta agents list --name "ProjectX-v1"
**Search agents by name (fuzzy):**
letta agents list --query "project"
**Find only Letta Code agents:**
letta agents list --tags "origin:letta-code"
**Find agents with multiple tags:**
letta agents list --tags "frontend,production" --match-all-tags
**Include memory blocks in results:**
letta agents list --query "project" --include-blocks
Output
Returns the raw API response with full agent details. Key fields:
- `id` - Agent ID (e.g., `agent-abc123`)
- `name` - Agent name
- `description` - Agent description
- `tags` - Agent tags
- `blocks` - Memory blocks (if `--include-blocks` used)
Related Skills
- **migrating-memory** - Once you find an agent, use this skill to copy/share memory blocks
- **searching-messages** - Search messages across all agents to find which agent discussed a topic. Use `--all-agents` to get `agent_id` values, then use this skill to get full agent details.
Finding Agents by Topic
If you need to find which agent worked on a specific topic:
1. Load both skills: `searching-messages` and `finding-agents` 2. Search messages across all agents:
letta messages search --query "topic" --all-agents --limit 10
3. Note the `agent_id` values from matching messages 4. Get agent details:
letta agents list --query "partial-name"
Or use the agent_id directly in the Letta API
Letta Code is a stateful agent harness for creating agents that are more like people than tools. Letta Code agents have memory, identity, and a sense of experience over time.
Repo: letta-ai/letta-code
Other skills on letta-code.
- /acquiring-skills
Discover and install skills from Hermes, ClawHub, GitHub, and other registries. Load this skill whenever a user asks for a capability you don't already have — image generation, social media, email, calendar, finance, DevOps, search, browser automation, etc.
Open skill - /context-doctor
Identify and repair degradation in system prompt, external memory, and skills preventing you from following instructions or remembering information as well as you should.
Open skill - /converting-mcps-to-skills
Connect to MCP (Model Context Protocol) servers and create skills for repeated use. Load when a user wants to use an MCP server, connect to external tools via MCP, or when they mention MCP, model context protocol, or specific MCP servers.
Open skill - /creating-mods
Creates and edits trusted local Letta Code mods, including tools, slash commands, local-only model providers, lifecycle/turn events, scoped conversation helpers, panels, and capability-gated behavior. Use when asked to make a mod, add an agent-callable tool, add a slash command,
Open skill - /creating-skills
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Letta Code's capabilities with specialized knowledge, workflows, or tool integrations.
Open skill - /customizing-commands
Creates, edits, and enables Letta Code mod-provided slash commands. Use when the user asks to add a custom /command, slash command, command shortcut, scoped conversation-backed command, or command-driven panel behavior.
Open skill

