用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/DUTSTECH/ceoralph --skill clnode-agents命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | clnode-agents |
| description | Discover installed agents/skills/rules and create new agents |
| version | 2.0.0 |
Execute all phases below in order. Use the specified tools at each step.
Scan the project's .claude/ directory to show what's installed.
Use Glob to find:
.claude/agents/*.md — agent definitions.claude/skills/*/SKILL.md — installed skills.claude/rules/*.md — active rulesFor each file found in .claude/agents/*.md, use Read to extract YAML frontmatter fields:
namedescriptionmodel (default: sonnet)skills (list)Output a summary in this format:
## Installed Agents (N)
| Name | Model | Description | Skills |
|------|-------|-------------|--------|
| backend-dev | sonnet | Backend development | compress-output |
| reviewer | opus | Code review | compress-review |
## Installed Skills (N)
- compress-output
- compress-review
- ...
## Installed Rules (N)
- team.md
- typescript.md
- ...
Use AskUserQuestion to ask:
question: "What would you like to do?"
header: "Action"
options:
- label: "Create new agent"
description: "Generate a new agent definition file with proper frontmatter and structure"
- label: "Done"
description: "Exit — discovery complete"
If the user selects "Done", stop here.
Use AskUserQuestion with these questions (all in one call):
Question 1:
question: "What should the agent be named? (use kebab-case, e.g., api-tester)"
header: "Name"
options:
- label: "custom name"
description: "Enter a custom agent name"
Question 2:
question: "What is this agent's role?"
header: "Role"
options:
- label: "Implementer"
description: "Writes code — backend, frontend, CLI, etc."
- label: "Reviewer"
description: "Reviews code for quality, security, patterns"
- label: "Architect"
description: "Designs systems, makes technical decisions"
- label: "Specialist"
description: "Domain-specific tasks (testing, docs, DevOps, etc.)"
Question 3:
question: "Which model should this agent use?"
header: "Model"
options:
- label: "sonnet (Recommended)"
description: "Best for implementation tasks — fast and capable"
- label: "opus"
description: "Best for review, architecture, complex reasoning"
- label: "haiku"
description: "Best for simple, repetitive, mechanical tasks"
Use Glob to check if .claude/agents/{name}.md already exists.
If it does, warn the user and ask for confirmation before overwriting.
Apply these rules:
skills: [compress-review]skills: [compress-output]Apply these rules:
tools: Read, Grep, Glob, Bashtools: Read, Edit, Write, Bash, Grep, GlobUse Write to create .claude/agents/{name}.md with this template:
---
name: {name}
description: {role description from user}
tools: {tools from Step 3-4}
model: {model}
memory: project
skills:
- {skill from Step 3-3}
---
# {Name} Agent
{Brief role description based on user input}
## Responsibilities
- {Generate 3-4 responsibilities based on the role}
## Before Returning
MANDATORY: Before returning your final response, compress your output:
- List changed files with 1-line summary each
- Key decisions made (1-2 sentences)
- Issues encountered (if any)
- Total output MUST be under 10 lines
Use Glob to check for .claude/rules/team.md.
If it does NOT exist, skip this phase entirely.
Use Glob for .claude/agents/*.md, then Read each file to extract name, model, and description from frontmatter.
Generate a new Team Structure block from the scanned agents:
Leader (Main Session / Opus)
├── {agent-1} ({Model}) — {description}
├── {agent-2} ({Model}) — {description}
...
└── {last-agent} ({Model}) — {description}
Rules:
sonnet → Sonnet, opus → Opus, haiku → Haiku├── for all agents except the last└── for the last agentUse Read to get the current content of .claude/rules/team.md.
Use Edit to replace the existing Team Structure code block (the content between the ``` markers under ## Team Structure) with the newly generated block.
| Role | Recommended Model | Reason |
|---|---|---|
| Reviewer | opus | Needs deep reasoning for code quality analysis |
| Architect | opus | Complex system design decisions |
| Curator | opus | Cross-domain knowledge synthesis |
| Implementer (backend) | sonnet | Fast, capable code generation |
| Implementer (frontend) | sonnet | Fast, capable code generation |
| Implementer (CLI) | sonnet | Fast, capable code generation |
| Test writer | sonnet | Straightforward test generation |
| Simple/mechanical tasks | haiku | Cost-efficient for repetitive work |
Claude Code agent documentation: https://docs.anthropic.com/en/docs/claude-code/agents