一键导入
skill-creator
Create, structure, and validate new skills. Use when designing a skill, scaffolding a skill directory, or improving an existing skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create, structure, and validate new skills. Use when designing a skill, scaffolding a skill directory, or improving an existing skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Explain what OpenHermit is and how to deploy and administer it — setup, CLI, gateway, agent config, API. Use when the user asks about installing, operating, or administering an OpenHermit deployment. For how agents behave for their owners/users/guests, see openhermit-guide.
Explain how an OpenHermit agent behaves for the people interacting with it — owners, users, and guests. Covers roles, identity linking, the agent's tools, access levels, channels, the policy model, and the approval flow. Use when someone asks how an OpenHermit agent works from a caller's perspective. For deploying or administering the platform itself, see openhermit-admin.
| name | skill-creator |
| description | Create, structure, and validate new skills. Use when designing a skill, scaffolding a skill directory, or improving an existing skill. |
You are creating or updating an OpenHermit skill. A skill is a directory containing a SKILL.md file (with YAML frontmatter) and optional supporting files (scripts, references, templates). Skills are prompt-based instructions — they tell you what to do, not code plugins.
<skill-id>/
SKILL.md # Required — frontmatter + instructions
scripts/ # Optional — deterministic code the agent runs
references/ # Optional — documentation loaded on demand
templates/ # Optional — output templates, config files
---
name: <lowercase-hyphen-case, max 64 chars>
description: <one-line summary, max 256 chars — this appears in the system prompt index>
---
<body: detailed instructions for the agent>
Frontmatter rules:
name — required. Lowercase, hyphens only ([a-z0-9-]+), no leading/trailing/consecutive hyphens, max 64 chars.description — required. One clear sentence. This is the only thing shown in the system prompt, so it must be specific enough to trigger skill activation. Max 256 chars.Ask the user:
Generate 2-3 concrete usage examples to confirm understanding.
For each example, identify what reusable resources are needed:
| Directory | When to use | Loaded into context? |
|---|---|---|
scripts/ | Deterministic operations that must be exact (deploy, validate, transform) | No — executed via exec |
references/ | Documentation the agent reads on demand (cat references/api-spec.md) | On demand only |
templates/ | Output files, config templates, boilerplate | No — copied/rendered via exec |
Keep SKILL.md under 500 lines. If longer, split into reference files.
Create the directory and files. Key principles:
Check the skill against these rules:
SKILL.md exists with valid YAML frontmattername is lowercase hyphen-case, max 64 charsdescription is one sentence, max 256 chars, specific enough to trigger activationAs a workspace skill (self-install):
# Write files to /workspace/.openhermit/skills/<skill-id>/
mkdir -p /workspace/.openhermit/skills/<skill-id>
# Write SKILL.md and supporting files
As a platform skill (admin-managed):
The admin registers it via the gateway API and places files at ~/.openhermit/gateway/registry/skills/<skill-id>/.