Xpersona
C

Create-Skill

CLAWHUB · Unverified

在需要新建或优化技能、判断复用还是重建、并生成最小可用技能文件时使用。 Skill: Create-Skill Owner: yangjinghua0127 Summary: 在需要新建或优化技能、判断复用还是重建、并生成最小可用技能文件时使用。 Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-06T02:02:04.890Z | auto - 明确聚焦“只生成最小可用产物”,仅在必要时生成脚本文件 - 优化描述,强调优先扩展和复用已有技能,避免重复新建 - 输出结构更清晰,分为“何时使用”“执行清单”“输出标准” - 丰富最佳实践和自检清单,增加触发词和内容规范 - description 字段现在仅描述使用场景,不再写执行流程 v1.0.0 | 2026-03-26T04:23:09.096Z | auto - 首次发布:create-skill 智能技能创建向导上线。 - 支持智能技能发现,创建前自动搜索并推荐可复用的现有技能。 - 提

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172r1btf7y9xywd5xpygdffmh83mcq5:skill-create-cn
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yangjinghua0127-skill-create-cn/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

7,141 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: create-skill
description: "在需要新建或优化技能、判断复用还是重建、并生成最小可用技能文件时使用。"
metadata: { "openclaw": { "emoji": "🎨" } }
---

# Skill: 技能创建向导 (create-skill)

用于高效创建或优化技能,优先避免重复建设,并保持产物最小可用。

## 何时使用

- 需要创建新技能(如“创建技能”“新建 skill”“写 SKILL.md”)
- 需要优化已有技能(结构混乱、触发词不清、描述不聚焦)
- 不确定应“扩展已有技能”还是“全新创建”
- 需要最小可用产物(默认仅 `SKILL.md`,必要时再加脚本)

## 常见触发词

- 创建技能
- 新建技能
- create-skill
- skill create
- 优化技能
- 重写 SKILL.md
- 复用已有技能

## 执行清单

1. **搜索相似技能**
   - 基于关键词查找同类能力,避免重复造轮子。
   - 给出候选技能和复用点(可继承的触发词、结构、示例)。

2. **选择创建策略**
   - `扩展已有技能`:已有技能覆盖 60% 以上需求时优先使用。
   - `全新创建`:现有技能不匹配核心场景时使用。
   - `取消创建`:若已有技能可直接满足需求,则停止创建并给出使用指引。

3. **收集最小必要信息**
   - 技能名(`name`,小写连字符)
   - 场景描述(`description`,只写“何时使用”)
   - 触发词(3-8 个)
   - 输出目标(仅文档 / 文档+脚本)

4. **生成文件**
   - 生成区域:skill只在 工作目录/skills 下生成
   - 默认生成:`SKILL.md`
   - 仅当确有必要时再生成 `*.js` 或 `*.sh`
   - 如使用脚本并需要依赖,再补 `package.json`

5. **输出后续建议**
   - 提供如何验证触发效果
   - 提供如何继续迭代(补示例、补反例、补边界)

## 输出标准

- **优先精简**:默认只产出 `SKILL.md`
- **描述聚焦**:`description` 仅描述触发条件,不写执行流程
- **结构清晰**:至少包含“何时使用 / 执行清单 / 输出标准”
- **可复用**:优先复用已有技能,而非重复创建
- **可验证**:提供最少 1 组触发词验证方式

## 最佳实践

- 先搜索后创建,避免功能重叠
- 优先扩展,再考虑新建
- 文档先行,脚本后置
- 触发词要覆盖同义表达
- 每次改动后做一次触发验证

### OpenClaw YAML Frontmatter 规范
每个技能建议包含标准 YAML frontmatter:

```yaml
---
name: skill-name
description: "在......场景下使用"
homepage: https://example.com (可选)
metadata: { "openclaw": { "emoji": "🎨", "requires": { "bins": ["node"] } } }
---
```

**核心字段**:
- `name`: 技能名称(小写,用连字符连接)
- `description`: 使用场景描述(建议 50 字以内)
- `homepage`: 相关主页URL(可选)
- `metadata.openclaw`: OpenClaw元数据
  - `emoji`: 技能表情符号(如🎨、📊、⚡等)
  - `requires`: 依赖要求
    - `bins`: 需要的二进制文件(如`node`、`bash`、`curl`)
    - `node_modules`: 需要的npm包
    - `env`: 需要的环境变量

**示例**:
- 文档指导型:`metadata: { "openclaw": { "emoji": "📚" } }`
- Node.js技能:`metadata: { "openclaw": { "emoji": "⚡", "requires": { "bins": ["node"] } } }`
- Shell技能:`metadata: { "openclaw": { "emoji": "🐚", "requires": { "bins": ["bash"] } } }`

## 快速自检

- `name` 是否为小写连字符格式
- `description` 是否只描述“何时使用”
- 是否已提供 3-8 个触发词
- 是否默认只生成了 `SKILL.md`
- 是否明确说明何时需要脚本文件

_meta.json

{
  "ownerId": "kn78fqan8y12pjd0hw7gbw47cs8350rp",
  "slug": "skill-create-cn",
  "version": "1.0.1",
  "publishedAt": 1775440924890
}

skill-card.md

## Description:

在需要新建或优化技能、判断复用还是重建、并生成最小可用技能文件时使用。

This skill is ready for commercial/non-commercial use.

## Publisher:

[yangjinghua0127](https://clawhub.ai/user/yangjinghua0127)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and skill authors use this skill to create or refine OpenClaw skills, decide whether to reuse an existing skill or create a new one, and produce a minimal viable SKILL.md-centered artifact.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can guide an agent to create or modify files under a workspace skills directory.

Mitigation: Review generated skill files and any optional scripts before installing or deploying them.

Risk: Skill-generation guidance may produce unclear or overlapping skills if similar existing skills are not checked first.

Mitigation: Search for similar skills first and prefer extending an existing skill when it covers the requested use case.

## Reference(s):

- [Create-Skill on ClawHub](https://clawhub.ai/yangjinghua0127/skills/skill-create-cn)
- [Publisher profile](https://clawhub.ai/user/yangjinghua0127)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance and optional generated skill files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Default output is a minimal SKILL.md; scripts or package metadata are generated only when needed.]

## Skill Version(s):

1.0.1 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Create-Skill and adjacent AI workflows.