← 返回 Skills 市场
eddieguan801-oss

Skill Authoring

作者 eddieguan801-oss · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install codex-skill-authoring
功能描述
Create, edit, and package new AgentSkills. Use when asked to create a skill, build a skill, author a skill, or when需要对技能进行创建、打包或审核。Triggers on phrases like "...
使用说明 (SKILL.md)

Skill Authoring

Create modular, self-contained skills that extend agent capabilities.

The 6-Step Workflow

1. Understand → 2. Plan → 3. Init → 4. Edit → 5. Package → 6. Iterate

Step 1: Understand the Skill

Ask clarifying questions if needed. Understand:

  • What functionality should this skill support?
  • What are concrete usage examples?
  • What should trigger this skill?

When to skip: When usage patterns are already clear.

Step 2: Plan Reusable Contents

Identify what to bundle:

  • scripts/ — Executable code (Python/Bash) for deterministic tasks
  • references/ — Documentation to load when needed
  • assets/ — Files used in output (templates, icons)

Step 3: Initialize the Skill

Always use init_skill.py — never create manually:

python3 \x3Cskill-creator>/scripts/init_skill.py \x3Cname> --path \x3Coutput-dir> --resources scripts,references,assets

Example:

python3 /usr/local/lib/node_modules/openclaw/skills/skill-creator/scripts/init_skill.py my-skill --path /var/root/.openclaw/workspace/skills --resources scripts,references

Step 4: Edit the Skill

SKILL.md Structure

---
name: skill-name
description: Clear description of what it does AND when to trigger it. Include Chinese triggers too.
---

# Skill Name

## Quick Start

## Details...

Naming Rules

  • Lowercase, hyphens only
  • Under 64 characters
  • Verb-led preferred (e.g., pdf-edit, list-skills)

Key Principles

  • Concise: Only add what the model doesn't already know
  • Progressive disclosure: Keep SKILL.md lean, put details in references/
  • Imperative mood: Use "do this" not "does this"

Step 5: Package the Skill

python3 \x3Cskill-creator>/scripts/package_skill.py \x3Cpath/to/skill-folder>

Output: .skill file (zip format).

Validation runs automatically before packaging.

Step 6: Iterate

Test with real tasks, gather feedback, improve.

Skill Template

skill-name/
├── SKILL.md           # Required: name + description + instructions
├── scripts/           # Optional: executable code
├── references/        # Optional: load-as-needed docs
└── assets/            # Optional: output files

Quick Reference

Resource When to Use
scripts/ Same code rewritten repeatedly
references/ Large docs the model should read on demand
assets/ Templates, images, boilerplate

Keep SKILL.md under 500 lines. Move details to references/.

安全使用建议
This package appears to be a coherent skill-authoring guide plus a small utility to list installed skills. Before using it: 1) Verify the external helper scripts it tells you to run (init_skill.py and package_skill.py) are from a trusted source and inspect their code — they are not included here. 2) Avoid running commands as root or against /var/root unless you understand and control those locations. 3) Check any referenced system paths (/usr/local/lib/node_modules/openclaw/..., /var/root/.openclaw/...) exist and are owned by trusted software. 4) Review package_skill.py/init_skill.py for any network calls or data exfiltration before executing. If you cannot inspect the external tooling, treat running those scripts as higher risk.
功能分析
Type: OpenClaw Skill Name: codex-skill-authoring Version: 1.0.0 The skill bundle is a meta-tool designed to help an AI agent author, list, and package other OpenClaw skills. The Python script 'scripts/list_skills.py' safely iterates through local skill directories and uses 'yaml.safe_load' to extract metadata without executing external commands or making network calls. While the instructions in 'SKILL.md' reference paths within '/var/root/', these appear to be standard environment paths for the OpenClaw platform and do not indicate malicious intent or unauthorized access.
能力评估
Purpose & Capability
Name and description (Skill Authoring) align with the provided SKILL.md, references/design-patterns.md, and the helper script. The included list_skills.py and the content of SKILL.md are coherent with a workflow for creating, packaging, and inspecting AgentSkills.
Instruction Scope
SKILL.md instructs the user/agent to run external helper scripts (init_skill.py and package_skill.py) and to operate on system paths (examples reference /var/root/.openclaw/... and /usr/local/lib/node_modules/openclaw/...). Those actions are within the scope of authoring skills but require access to filesystem locations and external tooling that are not included in this package. No instructions attempt to read unrelated secrets or send data to external network endpoints.
Install Mechanism
There is no install spec — the skill is instruction-only plus a small utility script. That is low-risk. Note: the SKILL.md expects external tools (the skill-creator scripts) to exist in system locations; those tools are not part of this bundle and should be audited where they come from.
Credentials
The skill does not request environment variables, credentials, or config paths. The included script reads local skill directories (some of which are under /var/root), which is reasonable for a skill-management utility.
Persistence & Privilege
always is false and the skill does not request elevated or persistent privileges. It does not modify other skills' configurations in the files provided.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install codex-skill-authoring
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /codex-skill-authoring 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of codex-skill-authoring (v1.0.0). - Supports creating, editing, and packaging new AgentSkills in both English and Chinese. - Introduces a six-step workflow: Understand, Plan, Init, Edit, Package, Iterate. - Provides clear structure and naming conventions for modular skill authoring. - Includes guidance on bundling reusable scripts, references, and assets. - Automatic validation during skill packaging; encourages concise and maintainable documentation.
元数据
Slug codex-skill-authoring
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Skill Authoring 是什么?

Create, edit, and package new AgentSkills. Use when asked to create a skill, build a skill, author a skill, or when需要对技能进行创建、打包或审核。Triggers on phrases like "... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。

如何安装 Skill Authoring?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install codex-skill-authoring」即可一键安装,无需额外配置。

Skill Authoring 是免费的吗?

是的,Skill Authoring 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Skill Authoring 支持哪些平台?

Skill Authoring 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Skill Authoring?

由 eddieguan801-oss(@eddieguan801-oss)开发并维护,当前版本 v1.0.0。

💬 留言讨论