一键导入
generate-agent
Patterns and templates for generating valid agent plane agent directories. Load when ready to create files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Patterns and templates for generating valid agent plane agent directories. Load when ready to create files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deep reference on agent plane config format, executor types, skill/tool structure, and conventions. Load when you need to look up how the platform works.
Build terminal REPLs for agent-plane using the Python UI SDK. Use when the user asks about building a REPL, terminal chat, or CLI frontend for an agent.
Deploy agent-plane to Databricks Apps with Lakebase and UC Volumes. Use when setting up infrastructure, deploying, redeploying, troubleshooting, or connecting to a remote agent-plane instance on Databricks.
Detect Python agent frameworks from code imports and map them to agent plane executor types. Load when the user has existing agent code to integrate.
Investigate a topic in depth, find sources, and synthesize findings.
Systematically diagnose and fix bugs using logs, stack traces, and targeted investigation.
| name | generate-agent |
| description | Patterns and templates for generating valid agent plane agent directories. Load when ready to create files. |
Use these patterns to generate a valid agent directory. Always generate the minimal set of files needed — don't over-engineer.
Use the agent name in kebab-case: my-research-agent/
Always include:
spec_version: 1name (lowercase, hyphens OK)description (one sentence)llm.model in litellm format (provider/model-name)llm.connection.api_key using ${ENV_VAR} syntaxInclude if needed:
tools.builtins if the agent needs built-in toolsinteraction.modalities if the agent handles images or filesexecutor.type if not using the default llm executorWrite a focused system prompt:
Keep it under 500 words for a starter agent. The user can expand later.
Only generate skills if the agent has distinct modes of operation. Each skill needs:
skills/<skill-name>/SKILL.md
With YAML frontmatter:
---
name: skill-name
description: One-line description of what this skill does.
---
Detailed instructions for when this skill is loaded...
config.yaml:
spec_version: 1
name: {agent_name}
description: {description}
llm:
model: {provider}/{model}
connection:
api_key: ${{{env_var}}}
instructions: AGENTS.md
AGENTS.md:
You are {agent_name}, {description}.
Answer questions clearly and concisely. If you don't know something,
say so rather than guessing.
config.yaml:
spec_version: 1
name: {agent_name}
description: {description}
llm:
model: {provider}/{model}
connection:
api_key: ${{{env_var}}}
tools:
builtins:
- web_search
interaction:
modalities:
input: [text]
output: [text]
instructions: AGENTS.md
config.yaml:
spec_version: 1
name: {agent_name}
description: {description}
llm:
model: {provider}/{model}
connection:
api_key: ${{{env_var}}}
executor:
type: remote
endpoint: http://localhost:5001
instructions: AGENTS.md
Directory structure:
{agent_name}/
config.yaml
AGENTS.md
tools/
mcp/
github.yaml
config.yaml:
spec_version: 1
name: {agent_name}
description: {description}
llm:
model: {provider}/{model}
connection:
api_key: ${{{env_var}}}
instructions: AGENTS.md
tools/mcp/github.yaml:
transport: http
url: https://your-mcp-server.example.com/sse
headers:
Authorization: Bearer ${{{mcp_token_var}}}
Directory structure:
{agent_name}/
config.yaml
AGENTS.md
agents/
{sub_agent_1}/
config.yaml
{sub_agent_2}/
config.yaml
Parent config.yaml:
spec_version: 1
name: {agent_name}
description: {description}
llm:
model: {provider}/{model}
connection:
api_key: ${{{env_var}}}
tools:
agents:
- {sub_agent_1}
- {sub_agent_2}
builtins:
- web_search
instructions: AGENTS.md
Sub-agent config (agents/{sub_agent_1}/config.yaml):
spec_version: 1
name: {sub_agent_1}
description: {sub_agent_1_description}
llm:
model: {provider}/{model}
connection:
api_key: ${{{env_var}}}
tools:
builtins:
- web_search
instructions: |
You are {sub_agent_1}. {sub_agent_1_instructions}
Parent AGENTS.md should reference sub-agents:
You have sub-agents you can delegate to:
- **{sub_agent_1}** — {sub_agent_1_description}
- **{sub_agent_2}** — {sub_agent_2_description}
Call `spawn_sub_agent(type="<name>", input="<task>")` to dispatch
one. Emit multiple `spawn_sub_agent` tool calls in the same
response to run sub-agents in parallel. The result auto-delivers
as a system message when ready — `check_task` polls, `cancel_task`
aborts.
Map providers to their standard env var names:
openai → OPENAI_API_KEYanthropic → ANTHROPIC_API_KEYgemini → GEMINI_API_KEY or GOOGLE_API_KEYgroq → GROQ_API_KEYdeepseek → DEEPSEEK_API_KEYxai → XAI_API_KEYmistral → MISTRAL_API_KEYdatabricks → DATABRICKS_TOKENBefore presenting the generated files to the user, verify:
spec_version: 1 is presentname is set and uses lowercase + hyphensllm.model uses provider/model-name formatllm.connection.api_key uses ${ENV_VAR} syntax (never a real key)tools.agents entries have matching agents/ subdirectories[a-z0-9-]+ patterninstructions field points to a file that exists or is inline text