Write or update a skill (SKILL.md and supporting files) to match host structure and best practices. Use when user says create skill, write skill, update SKIL...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install document-skills或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install document-skills⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/document-skills/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: document-skills description: Write or update a skill (SKILL.md and supporting files) to match host structure and best practices. Use when user says create skill, write skill, update SKILL.md, /document-skills. disable-model-invocation: true argument-hint: "[skill-path] [source]" context: fork agent: general-purpose ---
Write or update a skill to fit the host's expected structure. Use the structure and checklist below.
skills/example/) or the skill name.If you don't give either: Use the current or given context (e.g. the skill or path already under discussion).
SKILL.md updated (and supporting files if needed).
SKILL.md (exact name, case-sensitive).name must match the folder name.skills// ). The host discovers skills from this location even when it's nested (e.g. inside a package).references/ and is linked from SKILL.md (progressive disclosure).references/, linked from SKILL.md.--- lines)Frontmatter configures when and how the skill runs. The table below follows the official skills reference.
name and description are required. name must match the folder name (kebab-case). description should follow: [What it does] + [When to use it] + [Key capabilities] — under 1024 characters; no XML angle brackets (< >). Avoid vague lines like "Helps with projects"; include specific trigger phrases and, if relevant, file types (e.g. ".fig files", "PDF contract review").
| Field | Required | Description | | :------------------------- | :---------- | :---------------------------------------------------------------------------------------------------------------------------------------------------- | | name | Yes | kebab-case only; must match skill folder name. Lowercase letters, numbers, and hyphens (max 64 characters). | | description | Yes | [What it does] + [When to use it] + [Key capabilities]. Include trigger phrases (e.g. "Use when user says save, /save"). Mention file types if relevant. Under 1024 characters. No < or >. | | argument-hint | No | Hint shown during autocomplete to indicate expected arguments. Example: [issue-number] or [filename] [format]. | | disable-model-invocation | No | Set to true to disable automatic loading; use for workflows you want to trigger manually with /name. Default: false. | | user-invocable | No | Set to false to hide from the / menu. Use for background knowledge users shouldn't invoke directly. Default: true. | | allowed-tools | No | Tools the assistant can use without asking permission when this skill is active. | | model | No | Model to use when this skill is active. | | context | No | Set to fork to run in a forked subagent context. | | agent | No | Which subagent type to use when context: fork is set. | | hooks | No | Hooks scoped to this skill's lifecycle. See Hooks in skills and agents for configuration format. |
Optional: license (e.g. MIT for open source), compatibility (1–500 chars: product, system deps, network), metadata (e.g. author, version, mcp-server). See complete skills guide.
Security: No XML angle brackets in frontmatter. Avoid reserved names in the skill name (e.g. host or vendor names).
YAML gotcha: Avoid colons inside a value. They can be read as a new key. Use something like "Scope is" instead of "Scope:" in the text.
/skill-name. Use disable-model-invocation: true so the skill is not auto-loaded.Use the same section order so skills are easy to scan:
python scripts/validate.py --input {filename}" not "Validate the data"). Include error handling for common failures; reference bundled files (e.g. "Before queries, consult references/api-patterns.md") when relevant.Skip a section only if it really doesn't apply. When unsure, include Inputs, Output, Process, and Reference; add Examples and Troubleshooting where they help. Match the layout of other skills in the repo.
From the official docs:
$ARGUMENTS – All arguments passed when invoking the skill. If not present in the content, arguments are appended as ARGUMENTS: .$ARGUMENTS[N] or $N – The Nth argument (0-based index).${CLAUDE_SESSION_ID} – The current session ID (host-defined).${CLAUDE_SKILL_DIR} – The directory containing the skill's SKILL.md file (host-defined)....
安装 Create Skills 后,可以对 AI 说这些话来触发它
Help me get started with Create Skills
Explains what Create Skills does, walks through the setup, and runs a quick demo based on your current project
Use Create Skills to write or update a skill (SKILL
Invokes Create Skills with the right parameters and returns the result directly in the conversation
What can I do with Create Skills in my documents & notes workflow?
Lists the top use cases for Create Skills, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/document-skills/ 目录(个人级,所有项目可用),或 .claude/skills/document-skills/(项目级)。重启 AI 客户端后,用 /document-skills 主动调用,或让 AI 根据上下文自动发现并使用。
Create Skills 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Create Skills 可免费安装使用。请查阅仓库了解许可证信息。
Write or update a skill (SKILL.md and supporting files) to match host structure and best practices. Use when user says create skill, write skill, update SKIL...
Create Skills 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Create Skills
Identifies repetitive steps in your workflow and sets up Create Skills to handle them automatically