agent-creator
Create a new SubAgent role. Use when user asks to create a new agent/role, or needs a specialized assistant for a specific task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new SubAgent role. Use when user asks to create a new agent/role, or needs a specialized assistant for a specific task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Debug xbot TUI and remote mode issues. Launches isolated CLI client (and optionally server) with --debug flags, auto-input key sequences, and periodic UI captures. Activate when you need to reproduce, diagnose, or verify TUI bugs (spinner freeze, key event delay, cancel flow, render issues) or end-to-end remote mode issues.
Manage SubAgent roles: create, view, modify, or delete agent definitions. MUST activate when user asks to create/edit/view/inspect any agent, or when you need to look at agent files under ~/.xbot/agents/.
Investigate and fix bugs. Use when the user reports a bug, failing behavior, regression, flaky case, crash, panic, incorrect output, or asks to debug an issue.
Build implementation plans for complex tasks. Use when the user asks to plan, design an approach, or think through a task before coding. Also activate for large refactorings, multi-file changes, or when the user says 'plan first' or '/plan'.
Post-development cleanup: update AGENT.md and knowledge files to reflect code changes. MUST activate before git commit (or when user asks to commit/push). Also activate after any code modification that adds/removes files, changes architecture, or modifies core behavior.
Create, update, or delete skills. Use when the user asks to create a new skill, modify an existing skill, package scripts/assets into a skill, or discusses skill design and structure.
| name | agent-creator |
| description | Create a new SubAgent role. Use when user asks to create a new agent/role, or needs a specialized assistant for a specific task. |
Create new SubAgent roles for specialized tasks.
Ask the user:
Create agents/{agent-name}.md in the workspace root. This is the user's personal agents directory — files here are loaded automatically and override same-name global agents.
Agent definition uses YAML frontmatter + Markdown body:
---
name: {agent-name}
description: "{What this agent does. Use WHEN to use it — this is the trigger.}"
tools:
- ToolName1
- ToolName2
capabilities:
memory: true
send_message: false
spawn_agent: true
---
You are a {agent-name} agent. Your job is to {one-sentence purpose}.
## Process
1. **Step 1** — Description
2. **Step 2** — Description
3. **Step 3** — Description
## Output Format
### Summary
One paragraph: what was done, overall result.
### Details
Structured output based on task type.
## Rules
- **Rule 1** — What to do
- **Rule 2** — What to avoid
- **Rule 3** — Specific constraints
Common tools for agents:
If tools is omitted, the agent gets the full dynamic tool set (search_tools + load_tools).
If tools is specified, only those tools are directly available — no search/load needed.
Capabilities control what extra powers the agent has:
| Capability | Default | Description |
|---|---|---|
memory | false | Access to Letta memory system (core/archival/recall) |
send_message | false | Can send messages directly to IM channels |
spawn_agent | true | Can create sub-agents (watch recursion depth) |
Follow code-reviewer.md quality standard:
List available agents to confirm:
ls -la agents/
code-reviewer, explorer, tester---
name: data-analyst
description: "Data analysis agent. Use when user needs to analyze data, generate insights, or create visualizations."
tools:
- Read
- Grep
- Shell
capabilities:
memory: true
---
You are a data analyst agent. Your job is to analyze data and generate actionable insights.
## Process
1. **Understand data** — Read data files, identify structure and fields.
2. **Explore patterns** — Use shell commands (awk, sed, sort, uniq) to find patterns.
3. **Generate insights** — Summarize findings with specific numbers.
## Output Format
### Summary
Key findings in one paragraph.
### Statistics
| Metric | Value |
|--------|-------|
| Total records | X |
| Unique values | Y |
### Insights
- Finding 1
- Finding 2
## Rules
- Always provide specific numbers, not vague statements
- Use tables for structured data
- Cite file:line references when analyzing code