用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Integralist/agent-skills --skill markdown-to-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | markdown-to-skill |
| description | Convert Markdown files from a directory into agent skills. |
| disable-model-invocation | true |
Convert Markdown files from a user-specified directory into valid agent skills, written to one of two locations:
~/.agents/skills/
or ~/.claude/skills/); available in all projects..agents/skills/ or
.claude/skills/); available only in this project.Ask the user:
.), docs/, or other
(let the user specify).Before scanning, use ls/Glob to check the source for
website-scoped subdirectories: top-level dirs that look like domain
names (contain ., e.g. docs.example.com). If found, skill names get
a scope prefix derived from the domain (see Step 5).
Glob for **/*.md recursively. Exclude files that are already
SKILL.md.
Show a table of source path, proposed skill name (with scope prefix if applicable), and conflict status. Ask the user to confirm before proceeding.
| Source File | Skill Name | Status |
|--------------------------------------------|-------------------------|-------------------------|
| guides/my-guide.md | my-guide | Will create |
| setup.md | setup | Conflict: skill exists |
| docs.fastly.com/guides/getting-started.md | fastly-docs:getting-started | Will create |
Skip conflicts unless the user confirms overwrite. For each file:
Derive skill name. Strip .md, lowercase, replace spaces and
underscores with hyphens (My_Guide File.md -> my-guide-file).
guides/setup.md -> setup).<scope>:<filename>
(docs.fastly.com/guides/getting-started.md ->
fastly-docs:getting-started). Scope derivation:
docs.X.com or X.docs.com -> X-docswww.X.com -> X-wwwdeveloper.X.org -> X-developerapi.github.com -> github-apiExtract description. Prefer an existing frontmatter
description. Otherwise use the first # Heading (or, if none, the
first non-empty paragraph) as the basis, truncated to ~100 chars. If
empty, default to Skill converted from <original-filename>.
Strip existing frontmatter (if the file starts with ---) and
replace with skill frontmatter.
Create the skill directory under the chosen destination:
<skills-dir>/<skill-name>/.
Write SKILL.md:
---
name: <skill-name>
description: <extracted-description>
---
<original content, minus old frontmatter>
Conversion is a uniform, per-file transform — a verified-pattern fan-out. Convert the first file in the main thread and show the user the result. Once they confirm the derived name, description, and frontmatter, the rest is mechanical: fan out one subagent per file (or per batch) to apply the identical Step 5 rules, each writing its own skill dir and reporting back. Conflicts still skip per Step 5. The user approves the transform once, not each file.
Report the destination, count of skills created, files skipped (with
reasons, e.g. conflicts), errors, and the list of new skills (invokable
as /<skill-name>, e.g. /fastly-docs:getting-started).
| Source | Skill property |
|---|---|
Filename (my-guide.md) | name: my-guide |
| Domain dir + filename | name: scope:filename (e.g. fastly-docs:my-guide) |
First # Heading or first paragraph | description (max ~100 chars) |
| Full file content (minus old frontmatter) | Body of SKILL.md |
fastly-docs:api vs fastly-www:api).Skill converted from <original-filename>.Source docs/deployment-guide.md:
---
author: Jane Doe
date: 2024-01-15
---
# Deploying to Production
This guide covers the steps to deploy our application to production.
...
Output <skills-dir>/deployment-guide/SKILL.md:
---
name: deployment-guide
description: Deploying to Production - This guide covers the steps to deploy our application to production.
---
# Deploying to Production
This guide covers the steps to deploy our application to production.
...
With website scoping, docs.fastly.com/guides/getting-started.md
becomes <skills-dir>/fastly-docs:getting-started/SKILL.md with
name: fastly-docs:getting-started, invoked as
/fastly-docs:getting-started.