skill-master by itechmeat/llm-code
npx skills add https://github.com/itechmeat/llm-code --skill skill-master包含 Shell 命令
此技能包含可能执行系统命令的 shell 命令指令(!command``)。安装前请仔细审查。
遵循开放的 agentskills.io 规范创建、编辑和验证 Agent Skills。此技能是创建和维护 Agent Skills 的入口点。
语言要求: 所有技能必须用英文编写。
references/specification.mdassets/skill-templates.mdreferences/writing-skills.md广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
references/workflows.mdreferences/scripts.mdreferences/assets.mdreferences/advanced-features.mdreferences/docs-ingestion.mdreferences/testing-troubleshooting.md, references/eval-testing.md, references/iterative-improvement.mdreferences/description-optimization.mdreferences/schemas.mdassets/eval_review.html, eval-viewer/scripts/skill-master 包含了 skill-creator;有关详细的操作员手册、工作空间布局、时间捕获、基准测试分析和查看器交接,请阅读 references/iterative-improvement.md。
my-skill/
├── SKILL.md # 必需:指令 + 元数据(也必须是人类可读的)
├── metadata.json # 可选:用于发布的扩展元数据
├── references/ # 可选:文档、指南、API 参考
├── examples/ # 可选:示例输出、使用示例
├── scripts/ # 可选:可执行代码
└── assets/ # 可选:模板、图像、数据文件
不要在技能文件夹中包含 README.md。SKILL.md 是唯一的真相来源。如果要迁移带有 README.md 的技能,请将其内容合并到 SKILL.md 中并删除它。
| 文件夹 | 用途 | 示例 |
|---|---|---|
references/ | 供代理阅读的文档 | 指南、API 文档、概念解释、故障排除 |
examples/ | 显示预期格式的示例输出 | 输出示例、使用演示 |
assets/ | 用于复制/使用的静态资源 | 文档模板、配置模板、图像、模式 |
scripts/ | 用于运行的可执行代码 | Python 脚本、shell 脚本、验证器 |
references/ — 代理阅读和理解的文档examples/ — 显示预期格式的示例输出assets/ — 需要逐字复制的模板、配置、模式scripts/ — 代理运行的可执行代码重要提示: 模板属于 assets/,示例属于 examples/,文档属于 references/。
每个 SKILL.md 必须以 YAML frontmatter 开头:
---
name: skill-name
description: "它的功能。关键词:term1, term2。"
metadata:
author: your-name
version: "1.2.3"
release_date: "2026-01-01"
---
字段顺序: name → description → license → compatibility → metadata
| 字段 | 约束 |
|---|---|
| name | 1-64 个字符,小写 a-z0-9-,不能有 --,不能有前导/尾随 -,必须与文件夹名称匹配 |
| description | 1-1024 个字符(目标:80-150),描述技能的功能 + 使用时机,包含关键词 |
| 字段 | 用途 |
|---|---|
| license | 许可证名称或对捆绑的 LICENSE 文件的引用 |
| compatibility | 环境要求(最多 500 个字符) |
| metadata | 用于任意键值对的对象(见下文) |
| 字段 | 用途 |
|---|---|
| author | 作者姓名或组织 |
| version | 上游产品版本或技能版本 |
| release_date | 上次有意义的更新日期(YYYY-MM-DD) |
| argument-hint | 自动完成的提示,例如 [issue-number] |
| 字段 | 用途 |
|---|---|
| disable-model-invocation | true = 仅用户可以通过 /name 调用。默认:false |
| user-invocable | false = 从 / 菜单隐藏,仅代理可以加载。默认:true |
| allowed-tools | 代理无需询问即可使用的工具,以空格分隔,例如 Read Grep Glob |
| model | 技能激活时使用的特定模型 |
| context | 设置为 fork 以在分叉的子代理上下文中运行 |
| agent | 当 context: fork 时的子代理类型,例如 Explore, Plan |
| hooks | 限定在技能生命周期内的钩子(参见代理文档) |
| Frontmatter | 用户可以调用 | 代理可以调用 | 备注 |
|---|---|---|---|
| (默认) | ✅ 是 | ✅ 是 | 上下文中的描述,使用时加载 |
disable-model-invocation: true | ✅ 是 | ❌ 否 | 用于具有副作用的用户手动工作流 |
user-invocable: false | ❌ 否 | ✅ 是 | 背景知识,不是命令 |
技能内容中可用的占位符:
| 变量 | 描述 |
|---|---|
$ARGUMENTS | 调用技能时传递的所有参数 |
${CLAUDE_SESSION_ID} | 当前会话 ID,用于日志记录或会话特定文件 |
如果内容中没有 $ARGUMENTS,参数将作为 ARGUMENTS: <value> 追加。
示例:
---
name: fix-issue
description: 修复 GitHub issue
disable-model-invocation: true
---
按照我们的编码标准修复 GitHub issue $ARGUMENTS。
使用 !command`` 语法在技能内容发送给代理之前运行 shell 命令:
## 拉取请求上下文
- PR diff: !`gh pr diff`
- 更改的文件: !`gh pr diff --name-only`
## 你的任务
审查这个拉取请求...
命令输出将替换占位符,因此代理会收到实际数据。
用于发布或扩展元数据,创建 metadata.json:
{
"version": "1.0.0",
"organization": "Your Org",
"date": "January 2026",
"abstract": "此技能提供内容的简要描述...",
"references": ["https://docs.example.com", "https://github.com/org/repo"]
}
字段:
version — 技能版本(semver)organization — 作者或组织date — 发布日期abstract — 扩展描述(可以比 frontmatter 更长)references — 源文档 URL 列表# 有效
name: pdf-processing
name: data-analysis
name: code-review
# 无效
name: PDF-Processing # 不允许大写
name: -pdf # 不能以连字符开头
name: pdf--processing # 不允许连续的连字符
目的: 告诉 LLM 该技能的功能以及何时激活它。最小化 token 数量 — 只需足够用于激活决策。
公式:
对于库/参考技能(Claude Code,基于关键词的发现):
[产品] [核心功能]。涵盖 [2-3 个关键主题]。关键词:[术语]。
对于工作流/自动化技能(Claude.ai,基于触发器的激活):
[它的功能]。当用户 [特定触发短语] 时使用。
对于自动触发至关重要: 包含明确的“当用户说/问/提到...时使用”短语。没有这些,Claude 可能不会自动加载该技能。有关好/坏示例和调试技巧,请参见 references/writing-skills.md。
约束:
< >好例子:
description: "Turso SQLite 数据库。涵盖加密、同步、代理模式。关键词:Turso, libSQL, SQLite。"
description: "Base UI 无样式 React 组件。涵盖表单、菜单、覆盖层。关键词:@base-ui/react, render props。"
description: "Inworld TTS API。涵盖语音克隆、音频标记、时间戳。关键词:Inworld, TTS, visemes。"
差例子:
# 太模糊
description: "帮助处理 PDF。"
# 太冗长
description: "Turso 嵌入式 SQLite 数据库,适用于现代应用和 AI 代理。涵盖加密、授权、同步、部分同步和代理数据库模式。"
# 营销
description: "满足您所有数据库需求的强大解决方案。"
关键词: 产品名称、包名称,最多 3-5 个术语。
name + description(约 50-100 个 token)SKILL.md 读入上下文关键规则: 保持 SKILL.md 在 500 行以下。将详细信息移至 references/。
专业提示:你可以使用 skill-creator 技能(在 Claude.ai 或 Claude Code 中可用)交互式地生成你的第一个草稿,然后使用下面的步骤进行完善。
python scripts/init_skill.py <skill-name>
# 或指定自定义目录:
python scripts/init_skill.py <skill-name> --skills-dir skills
或手动创建:
<skills-folder>/<skill-name>/
├── SKILL.md
├── references/ # 用于文档、指南
└── assets/ # 用于模板、静态文件
---
name: <skill-name>
description: "[目的] + [触发器/关键词]"
---
推荐章节:
对于每个主要主题,创建 references/<topic>.md,包含:
关于何时值得编写脚本以及如何构建脚本,请参考 references/scripts.md。
语言选择:
脚本的最低检查清单:
argparse(Python)或 flag(Go)— 不要硬编码值shutil.which())关于何时值得创建资源以及如何格式化它们,请参考 references/assets.md。
对于模板或静态资源,创建 assets/<resource>。常见类型:
.minimal.yaml / .full.yaml 对;添加 # yaml-language-server: $schema= 头部${VAR_NAME:=default} 表示变量;顶部包含目的 + 用法注释# 前缀的注释来解释字段和有效值- [ ] 复选框、内联命令、签署部分命名:<tool>.minimal.yaml, <purpose>-checklist.md, <name>.template, <topic>-prompts.md。
python scripts/quick_validate_skill.py <skill-path>
# 兼容性别名:
python scripts/quick_validate.py <skill-path>
当从外部文档构建技能时,使用自主摄取工作流:
SKILL.md 骨架的技能文件夹plan.md 用于进度跟踪references/ 目录对于每个文档链接:
对于每个页面:
references/<topic>.mdplan.md 复选框SKILL.md不要在每个页面后询问用户 — 自主继续。
SKILL.md 的完整性plan.md 可以在摄取后手动删除SKILL.md 超过 500 行name 验证(必须与文件夹名称匹配)version 的含义在此存储库中,将版本元数据存储为 metadata.version 和 metadata.release_date,以匹配现有技能和当前的 Copilot 技能文件验证。metadata.version 保存技能构建所依据的上游产品版本(例如,CAPI v1.12.3 的 "1.12.3")。对于不依赖于外部产品的独立技能,它保存技能自身的版本(例如,skill-master 的 "1.2.4")。当产品使用没有语义版本控制的持续部署时(例如,像 Cloudflare Workers 这样的托管服务),使用 "—"。
| 触发条件 | 更新 metadata.version | 更新 metadata.release_date |
|---|---|---|
| 产品发布了新版本 | ✅ 是 | ✅ 是 |
| 内容更改,无上游版本 | ❌ 否 | ✅ 是 |
| 拼写错误或小修复 | ❌ 否 | ❌ 否 |
当更新 metadata.version 或进行重大内容更改时,同时更新:
SKILLS_VERSIONS.md — 设置新版本 + 日期,将行移到表格顶部CHANGELOG.md — 在顶部添加新的带日期块链接格式:
## 链接
- [文档](https://example.com/docs)
- [更新日志](https://example.com/changelog)
- [GitHub](https://github.com/org/repo)
- [npm](https://www.npmjs.com/package/name)
顺序:文档 → 更新日志/发布 → GitHub → 包注册表。仅包含适用的链接。
专业提示:在最终确定之前,你可以使用 skill-creator 技能(在 Claude.ai 或 Claude Code 中可用)来审查你的技能并提出改进建议。
name 与文件夹名称匹配,kebab-case,1-64 个字符,没有 --description 包含它的功能以及何时使用它(触发短语)description 没有 XML 尖括号 < >SKILL.md 在 500 行以下references/ 中,模板在 assets/ 中references/workflows.md完整的发布前检查清单:references/testing-troubleshooting.md
| 脚本 | 用途 |
|---|---|
init_skill.py | 搭建新的 Agent Skill(agentskills.io) |
init_copilot_asset.py | 搭建 Copilot 特定资源(指令、代理) |
quick_validate_skill.py | 验证技能结构 |
quick_validate.py | 用于旧版验证工作流的兼容性包装器 |
package_skill.py | 将技能打包成分发 zip |
run_eval.py | 通过 claude -p 运行评估,使用并行工作器 |
run_loop.py | 带有训练/测试分割的评估+改进循环 |
improve_description.py | 使用评估反馈改进技能描述 |
aggregate_benchmark.py | 将评分结果聚合成基准测试统计数据 |
generate_report.py | 从循环迭代数据生成 HTML 报告 |
代理:agents/grader.md(评分期望)、agents/comparator.md(盲 A/B 比较)、agents/analyzer.md(事后分析 + 基准测试)
references/specification.mdreferences/writing-skills.mdreferences/workflows.mdreferences/scripts.mdreferences/assets.mdreferences/testing-troubleshooting.mdreferences/advanced-features.mdassets/skill-templates.mdreferences/docs-ingestion.mdreferences/eval-testing.mdreferences/iterative-improvement.mdreferences/description-optimization.mdreferences/schemas.mdassets/eval_review.htmleval-viewer/每周安装次数
107
仓库
GitHub Stars
10
首次出现
2026年1月26日
安全审计
安装在
github-copilot77
opencode72
codex51
gemini-cli47
cursor45
claude-code44
Contains Shell Commands
This skill contains shell command directives (!command``) that may execute system commands. Review carefully before installing.
Create, edit, and validate Agent Skills following the open agentskills.io specification. This skill is the entry point for creating and maintaining Agent Skills.
Language requirement: all skills MUST be authored in English.
references/specification.mdassets/skill-templates.mdreferences/writing-skills.mdreferences/workflows.mdreferences/scripts.mdreferences/assets.mdreferences/advanced-features.mdreferences/docs-ingestion.mdreferences/testing-troubleshooting.md, references/eval-testing.md, references/iterative-improvement.mdreferences/description-optimization.mdreferences/schemas.mdassets/eval_review.html, eval-viewer/scripts/skill-master subsumes skill-creator; for the detailed operator playbook, workspace layout, timing capture, benchmark analysis, and viewer handoff, read references/iterative-improvement.md.
my-skill/
├── SKILL.md # Required: instructions + metadata (must be human-readable too)
├── metadata.json # Optional: extended metadata for publishing
├── references/ # Optional: documentation, guides, API references
├── examples/ # Optional: sample outputs, usage examples
├── scripts/ # Optional: executable code
└── assets/ # Optional: templates, images, data files
Do NOT includeREADME.md in skill folders. SKILL.md is the single source of truth. If migrating a skill with README.md, merge its content into SKILL.md and delete it.
| Folder | Purpose | Examples |
|---|---|---|
references/ | Documentation for agents to read | Guides, API docs, concept explanations, troubleshooting |
examples/ | Sample outputs showing expected format | Output examples, usage demonstrations |
assets/ | Static resources to copy/use | Document templates, config templates, images, schemas |
scripts/ | Executable code to run | Python scripts, shell scripts, validators |
references/ — documentation the agent reads and understandsexamples/ — sample outputs showing expected formatassets/ — templates, configs, schemas to copy verbatimscripts/ — executable code the agent runsIMPORTANT : Templates belong in assets/, examples in examples/, documentation in references/.
Every SKILL.md MUST start with YAML frontmatter:
---
name: skill-name
description: "What it does. Keywords: term1, term2."
metadata:
author: your-name
version: "1.2.3"
release_date: "2026-01-01"
---
Field order: name → description → license → compatibility → metadata
| Field | Constraints |
|---|---|
| name | 1-64 chars, lowercase a-z0-9-, no --, no leading/trailing -, must match folder name |
| description | 1-1024 chars (target: 80-150), describes what skill does + when to use it, include keywords |
| Field | Purpose |
|---|---|
| license | License name or reference to bundled LICENSE file |
| compatibility | Environment requirements (max 500 chars) |
| metadata | Object for arbitrary key-value pairs (see below) |
| Field | Purpose |
|---|---|
| author | Author name or organization |
| version | Upstream product version or skill version |
| release_date | Last meaningful update date (YYYY-MM-DD) |
| argument-hint | Hint for autocomplete, e.g., [issue-number] |
| Field | Purpose |
|---|---|
| disable-model-invocation | true = only user can invoke (via /name). Default: false |
| user-invocable | false = hidden from / menu, only agent can load. Default: true |
| allowed-tools | Space-delimited tools agent can use without asking, e.g., Read Grep Glob |
| model | Specific model to use when skill is active |
| Frontmatter | User can invoke | Agent can invoke | Notes |
|---|---|---|---|
| (default) | ✅ Yes | ✅ Yes | Description in context, loads when used |
disable-model-invocation: true | ✅ Yes | ❌ No | For manual workflows with side effects |
user-invocable: false | ❌ No | ✅ Yes | Background knowledge, not a command |
Available placeholders in skill content:
| Variable | Description |
|---|---|
$ARGUMENTS | All arguments passed when invoking the skill |
${CLAUDE_SESSION_ID} | Current session ID for logging or session-specific files |
If $ARGUMENTS is not in content, arguments are appended as ARGUMENTS: <value>.
Example:
---
name: fix-issue
description: Fix a GitHub issue
disable-model-invocation: true
---
Fix GitHub issue $ARGUMENTS following our coding standards.
Use !command`` syntax to run shell commands before skill content is sent to the agent:
## Pull request context
- PR diff: !`gh pr diff`
- Changed files: !`gh pr diff --name-only`
## Your task
Review this pull request...
The command output replaces the placeholder, so the agent receives actual data.
For publishing or extended metadata, create metadata.json:
{
"version": "1.0.0",
"organization": "Your Org",
"date": "January 2026",
"abstract": "Brief description of what this skill provides...",
"references": ["https://docs.example.com", "https://github.com/org/repo"]
}
Fields:
version — Skill version (semver)organization — Author or organizationdate — Publication dateabstract — Extended description (can be longer than frontmatter)references — List of source documentation URLs# Valid
name: pdf-processing
name: data-analysis
name: code-review
# Invalid
name: PDF-Processing # uppercase not allowed
name: -pdf # cannot start with hyphen
name: pdf--processing # consecutive hyphens not allowed
Purpose: Tell the LLM what the skill does and when to activate it. Minimize tokens — just enough for activation decision.
Formulas:
For library/reference skills (Claude Code, keyword-based discovery):
[Product] [core function]. Covers [2-3 key topics]. Keywords: [terms].
For workflow/automation skills (Claude.ai, trigger-based activation):
[What it does]. Use when user [specific trigger phrases].
Critical for auto-triggering: include explicit "Use when user says / asks / mentions..." phrases. Without them, Claude may not load the skill automatically. See references/writing-skills.md for good/bad examples and debugging tips.
Constraints:
< >Good examples:
description: "Turso SQLite database. Covers encryption, sync, agent patterns. Keywords: Turso, libSQL, SQLite."
description: "Base UI unstyled React components. Covers forms, menus, overlays. Keywords: @base-ui/react, render props."
description: "Inworld TTS API. Covers voice cloning, audio markups, timestamps. Keywords: Inworld, TTS, visemes."
Poor examples:
# Too vague
description: "Helps with PDFs."
# Too verbose
description: "Turso embedded SQLite database for modern apps and AI agents. Covers encryption, authorization, sync, partial sync, and agent database patterns."
# Marketing
description: "A powerful solution for all your database needs."
Keywords: product name, package name, 3-5 terms max.
name + description of each skill (~50-100 tokens)SKILL.md into contextKey rule: Keep SKILL.md under 500 lines. Move details to references/.
Pro Tip: You can use theskill-creator skill (available in Claude.ai or Claude Code) to interactively generate your first draft, then refine it using the steps below.
python scripts/init_skill.py <skill-name>
# Or specify custom directory:
python scripts/init_skill.py <skill-name> --skills-dir skills
Or manually create:
<skills-folder>/<skill-name>/
├── SKILL.md
├── references/ # For documentation, guides
└── assets/ # For templates, static files
---
name: <skill-name>
description: "[Purpose] + [Triggers/Keywords]"
---
Recommended sections:
For each major topic, create references/<topic>.md with:
Consult references/scripts.md for when scripts are worth writing and how to structure them.
Language selection:
Minimal checklist for a script:
argparse (Python) or flag (Go) for all parameters — no hardcoded valuesshutil.which() in Python)Consult references/assets.md for when assets are worth creating and how to format them.
For templates or static resources, create assets/<resource>. Common types:
.minimal.yaml / .full.yaml pair; add # yaml-language-server: $schema= header${VAR_NAME:=default} for variables; include purpose + usage comment at top#-prefixed comments to explain fields and valid values- [ ] checkboxes, inline commands, sign-off sectionNaming: <tool>.minimal.yaml, <purpose>-checklist.md, <name>.template, <topic>-prompts.md.
python scripts/quick_validate_skill.py <skill-path>
# Compatibility alias:
python scripts/quick_validate.py <skill-path>
When building a skill from external docs, use the autonomous ingestion workflow:
SKILL.md skeletonplan.md for progress trackingreferences/ directoryFor each doc link:
For each page:
references/<topic>.md with actionable summaryplan.md checkboxSKILL.md if it adds a useful recipe/ruleDo not ask user after each page — continue autonomously.
SKILL.md for completenessplan.md may be deleted manually after ingestionSKILL.md over 500 linesname validation (must match folder name)version MeansIn this repository, store version metadata as metadata.version and metadata.release_date to match the existing skills and current Copilot skill-file validation. metadata.version holds the upstream product version the skill was built against (e.g., "1.12.3" for CAPI v1.12.3). For standalone skills not tied to an external product, it holds the skill's own version (e.g., "1.2.4" for skill-master). Use "—" when the product uses continuous deployment with no semantic versioning (e.g., hosted services like Cloudflare Workers).
| Trigger | Update metadata.version | Update metadata.release_date |
|---|---|---|
| Product released a new version | ✅ Yes | ✅ Yes |
| Content changed, no upstream version | ❌ No | ✅ Yes |
| Typo or minor fix | ❌ No | ❌ No |
When bumping metadata.version or making significant content changes, also update:
SKILLS_VERSIONS.md — set new version + date, move row to top of tableCHANGELOG.md — prepend a new dated block at the topLinks format:
## Links
- [Documentation](https://example.com/docs)
- [Changelog](https://example.com/changelog)
- [GitHub](https://github.com/org/repo)
- [npm](https://www.npmjs.com/package/name)
Order: Documentation → Changelog/Releases → GitHub → Package registry. Include only applicable links.
Pro Tip: You can use theskill-creator skill (available in Claude.ai or Claude Code) to review your skill and suggest improvements before finalizing.
name matches folder name, kebab-case, 1-64 chars, no --description includes WHAT it does AND WHEN to use it (trigger phrases)description has no XML angle brackets < >SKILL.md under 500 linesreferences/, templates in assets/references/workflows.mdFull pre-publish checklist: references/testing-troubleshooting.md
| Script | Purpose |
|---|---|
init_skill.py | Scaffold new Agent Skill (agentskills.io) |
init_copilot_asset.py | Scaffold Copilot-specific assets (instructions, agents) |
quick_validate_skill.py | Validate skill structure |
quick_validate.py | Compatibility wrapper for legacy validation workflow |
package_skill.py | Package skill into distributable zip |
run_eval.py |
Agents: agents/grader.md (grade expectations), agents/comparator.md (blind A/B comparison), agents/analyzer.md (post-hoc analysis + benchmark)
references/specification.mdreferences/writing-skills.mdreferences/workflows.mdreferences/scripts.mdreferences/assets.mdreferences/testing-troubleshooting.mdreferences/advanced-features.mdassets/skill-templates.mdreferences/docs-ingestion.mdWeekly Installs
107
Repository
GitHub Stars
10
First Seen
Jan 26, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
github-copilot77
opencode72
codex51
gemini-cli47
cursor45
claude-code44
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
159,700 周安装
| context |
Set to fork to run in a forked subagent context |
| agent | Subagent type when context: fork, e.g., Explore, Plan |
| hooks | Hooks scoped to skill's lifecycle (see agent documentation) |
Run evals via claude -p with parallel workers |
run_loop.py | Eval+improve loop with train/test split |
improve_description.py | Improve skill description using eval feedback |
aggregate_benchmark.py | Aggregate grading results into benchmark stats |
generate_report.py | Generate HTML report from loop iteration data |
references/eval-testing.mdreferences/iterative-improvement.mdreferences/description-optimization.mdreferences/schemas.mdassets/eval_review.htmleval-viewer/