一键导入
create-agent
Creates a new Claude Code custom subagent configuration. Guides you through designing agent scope, tools, permissions, hooks, and system prompts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Creates a new Claude Code custom subagent configuration. Guides you through designing agent scope, tools, permissions, hooks, and system prompts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | create-agent |
| description | Creates a new Claude Code custom subagent configuration. Guides you through designing agent scope, tools, permissions, hooks, and system prompts. |
| argument-hint | <agent-name> <brief description of the agent's purpose> |
| disable-model-invocation | true |
You are creating a new custom subagent based on the user's request: $ARGUMENTS
Follow the steps below precisely to produce a production-quality subagent definition.
Extract from $ARGUMENTS:
| Scope | Path | When to choose |
|---|---|---|
| Project | .claude/agents/<agent-name>.md | Agent is specific to this codebase and should be shared via version control. |
| Personal | ~/.claude/agents/<agent-name>.md | Agent is useful across all projects but not team-shared. |
Default to project scope (.claude/agents/<agent-name>.md) unless the user explicitly says "personal" or "global".
| Model | Best for |
|---|---|
haiku | Fast, read-only tasks like code search, exploration, quick lookups. Low cost. |
sonnet | Balanced capability and speed. Good for analysis, reviews, moderate complexity. |
opus | Maximum capability. Complex reasoning, architecture decisions, nuanced analysis. |
inherit | Uses the same model as the main conversation. Default if omitted. |
Choose from Claude Code's available tools. Only grant what the agent needs:
Read-only tools (safe for exploration):
Read - Read file contentsGrep - Search file contentsGlob - Find files by patternModification tools (grant with care):
Write - Write new filesEdit - Modify existing filesBash - Execute shell commandsSpecial tools:
Agent(type) - Spawn subagents of a specific type| Mode | Behavior | Use when |
|---|---|---|
default | Standard permission prompts | Interactive tasks needing oversight |
acceptEdits | Auto-accept file edits | Trusted code modification tasks |
dontAsk | Auto-deny permission prompts (allowed tools still work) | Background tasks that should not interrupt |
bypassPermissions | Skip all permission checks | Fully trusted automation (use with extreme caution) |
plan | Read-only exploration mode | Research and planning only |
Persistent Memory (memory field):
user - Remember learnings across all projectsproject - Project-specific knowledge, shareable via version controllocal - Project-specific, not version controlledPreloaded Skills (skills field):
Max Turns (maxTurns), Background (background: true), Isolation (isolation: worktree), Hooks (hooks for PreToolUse/PostToolUse/Stop)
---
name: <agent-name>
description: <when Claude should delegate to this agent>
tools: <appropriate tool list>
model: <haiku|sonnet|opus|inherit>
permissionMode: <appropriate mode>
maxTurns: <optional limit>
skills: <optional list of skills to preload>
memory: <optional: user|project|local>
---
The markdown body after frontmatter becomes the agent's system prompt.
You are a [role description].
When invoked:
1. [Gather context]
2. [Analyze/process]
3. [Take action]
4. [Verify results]
[Domain guidelines, output format, constraints]
mkdir -p .claude/agents<scope-path>/<agent-name>.mdVerify kebab-case naming, valid frontmatter, scoped tools, clear system prompt. Then tell the user the file path, how to invoke it, and example usage.
Show usage information for any workflow-toolkit skill. Use when the user asks how to use a specific skill, what a skill does, or needs guidance on workflow-toolkit features. Also triggers on "help", "how do I", "what does X do", or "usage" in the context of workflow-toolkit skills.
Initialize and verify the workflow-toolkit environment. Checks SQLite availability, creates the journal database, verifies directory structure, checks gh CLI auth, and reports readiness. Run this after installing the plugin or when troubleshooting.
Pre-flight checklist for open source contributions. Validates code changes against project rules, PR size limits, commit format, linting, and type-checking. Does NOT push or create PRs — only reports issues.
Creates a new Claude Code custom skill (slash command). Guides you through designing, writing, and placing the SKILL.md file with proper frontmatter, arguments, and best practices.
Open the journal SQLite database in a GUI viewer (DB Browser for SQLite, or similar).
Distills a codebase concept into a structured knowledge base entry. Analyzes patterns, conventions, and real examples from the code to create reference documentation. Use when you need to understand how something works in this project (e.g., React hooks, API routers, database models, testing patterns).