Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

create-new-skill创造新技能

Agent Skill

create-new-skill 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,221

周安装

307

GitHub Stars

1

下载量

2,530
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-new-skill(创造新技能)
来源仓库:https://github.com/xiaohaoxing/create-new-skill
安装命令:
openclaw skills install create-new-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install create-new-skill

简介

通过对话引导方式从零开始编写自定义 OpenClaw Skill。

  • 提供快速模板与完整指导两种模式满足不同熟练度用户需求。
  • 适用于希望深度定制功能或学习技能开发方法论的新手开发者。
  • 过程中会逐步收集意图定义、输入输出格式与触发条件等要素。
  • 最终产物需经过本地测试验证逻辑正确性方可正式发布上线。

SKILL.md

name
create-skill
description
Create a new skill through a guided conversation. Use when a user wants help authoring a skill from scratch, choosing between quick or full guidance, analyzing documentation to extract behavior patterns, generating a functional skill with proper workflow, and explaining how to make the new skill take effect.

Create Skill

Guide the user through creating a new skill from scratch.

Core Philosophy

A skill should define behavior, not just store documentation.

  • A good skill tells the agent when to use it
  • A good skill tells the agent what tools to use
  • A good skill defines the workflow (in what order)
  • A good skill specifies the expected output
  • A good skill knows its constraints

Static documentation has little value - the agent can fetch that itself. The skill's value is in encoding the behavior pattern.

Interaction Rules

Input Style

  • Always present choices as numbered options (1, 2, 3...).
  • Never ask the user to type full words like "quick" or "full".
  • Accept the number, the option text, or common abbreviations.

Question Rhythm

  • Ask ONE question at a time.
  • Wait for the user's answer before asking the next question.
  • Never dump multiple questions in a single message.

Communication Style

  • Never add self-explanatory filler text.
  • Never explain what you are going to do before doing it.
  • Keep all prompts as concise as possible.
  • Use the same terse style as a real CLI tool.

Workflow

Follow these steps in order:

  1. Prompt for mode selection (1 or 2).
  2. Prompt for skill purpose (the task it solves).
  3. Prompt for trigger conditions (when to use).
  4. Prompt for required tools.
  5. Prompt for workflow steps.
  6. Prompt for expected output.
  7. Prompt for constraints.
  8. Prompt for install location.
  9. Prompt for skill name.
  10. (Optional) Fetch and analyze documentation.
  11. Show summary.
  12. Show preview.
  13. Prompt for confirmation.
  14. Write files.
  15. Show completion with next steps.

Step 1: Mode Selection

Output exactly:

Create a new skill.

1) Quick guidance
2) Full guidance

Choice [1]:
  • Default to 1 (Quick) if user just presses Enter.
  • If user enters invalid option, re-prompt.

Step 2: Skill Purpose

Ask:

What task does this skill solve?

Accept any natural language answer. Extract the core task.

Examples:

  • "Deploy a static blog to GitHub Pages"
  • "Convert images to different formats"
  • "Query and analyze database schemas"

Step 3: Trigger Conditions

After purpose, ask:

When should the agent use this skill?

1) User explicitly asks for it
2) When user mentions specific keywords
3) When certain conditions are met
4) Not sure / I'll define later

Choice [1]:

If user chooses 2 or 3, ask for the specific trigger details.

Step 4: Required Tools

After trigger, ask:

What tools does this skill need?

1) Built-in tools only
2) External CLI commands
3) API calls
4) Combination of above

Choice [1]:

If user chooses 2 or 3, ask:

  • "Which CLI commands? (comma separated)"
  • "Which APIs? (describe the service)"

Step 5: Workflow

After tools, ask:

What is the workflow? (describe in order)

1) I'll describe step by step
2) Generate from documentation
3) Use a common pattern

Choice [1]:

If user chooses 1, ask them to describe each step.

If user chooses 2, proceed to Step 10 (fetch documentation).

If user chooses 3, present common patterns:

  • "init → configure → run"
  • "check prerequisites → setup → execute → verify"
  • "collect input → process → output"

Step 6: Expected Output

After workflow, ask:

What should this skill produce?

1) Files (config, code, etc.)
2) Command output
3) API response
4) Combination

Choice [1]:

Ask for specific output format details.

Step 7: Constraints

After output, ask:

Are there any constraints?

1) No constraints
2) OS limitations
3) Required environment variables
4) Configuration requirements
5) I'll specify

Choice [1]:

If user chooses 2-5, gather the constraint details.

Step 8: Install Location

After constraints, ask:

Where to install?

1) Current workspace
2) Shared (all projects)

Choice [1]:

Step 9: Skill Name

After install location, ask:

Skill name (lowercase, hyphenated):
  • Propose a name based on the skill purpose if user is unsure.
  • Validate format (lowercase, digits, hyphens only).

Step 10: Fetch and Analyze Documentation (Optional)

If user chose to generate workflow from documentation in Step 5:

Where is the documentation?

1) Enter URL
2) GitHub repository
3) Local path

After getting the source:

  • Fetch the documentation
  • Analyze and extract:

- Installation commands - CLI usage and options - Configuration parameters - Common workflows - Best practices - Limitations

  • Generate behavior from the analysis:

- When to trigger - What tools to use - Step-by-step workflow - Expected output format - Constraints

Do NOT just copy the documentation. Transform it into behavioral instructions.

Step 11: Summary

After all inputs are collected, show:

Skill: <name>
Task: <purpose>
Triggers: <trigger conditions>
Tools: <tool list>
Workflow:
  1. <step 1>
  2. <step 2>
  ...
Output: <expected output>
Constraints: <constraints>
Location: <workspace|shared>

Continue? [y/n]:

Step 12: Preview

Generate the SKILL.md and show key sections:

  • Trigger conditions
  • Tools required
  • Workflow steps
  • Output format

Step 13: Confirmation

Ask:

Write files? [y/n]:

Step 14: Write Files

If confirmed:

  • Create the skill directory.
  • Write SKILL.md with full behavioral instructions.
  • Write README.md.
  • If directory exists, stop and ask.

Step 15: Completion

Show:

Created: <path>

To activate:
- Restart the agent, or
- Run: refresh skills

To test:
- "<test prompt>"

Done.

Full Guidance Mode

Full mode adds more detail at each step:

After purpose:

  • "Target users? (optional)"
  • "What problem does it solve? (detailed)"

After trigger:

  • "Exact trigger phrases?"
  • "Any negative triggers (when NOT to use)?"

After tools:

  • "Specific command versions?"
  • "Any setup required?"

After workflow:

  • "Error handling?"
  • "Rollback steps?"

After output:

  • "Output format examples?"
  • "Where to save files?"

After constraints:

  • "Known issues?"
  • "Alternative approaches?"

Writing Rules

SKILL.md Structure

A good SKILL.md should have:

---
name: <skill-name>
description: <brief description>
---

# <Skill Name>

## When To Use

- When user says "..."
- When user wants to "..."

## Tools Required

- tool1: description
- tool2: description

## Workflow

1. Step one - what to do
2. Step two - what to do
3. ...

## Output

- What files/config are produced
- Expected format

## Constraints

- OS limitations
- Prerequisites
- What NOT to do

## Examples

Example usage scenarios

Key Principles

  • Write behavior, not documentation
  • Be specific about tool usage
  • Define clear workflow steps
  • Specify exact output format
  • Include constraints and boundaries

Generated Skill Quality

The generated skill should be self-contained:

  • Agent should know when to use it without asking
  • Agent should know what tools to call
  • Agent should know the exact workflow
  • Agent should know the expected output

If the agent still needs to search the web or figure out the workflow, the skill is not complete.

Language

  • Use English by default.
  • If user clearly uses another language, switch to that language.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.61%
按下载量换算2,242

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills