以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能. An agent skill from ProgrammerAnthony/Anything-Extract.

MITAuto-check passedAgent Workflows

Install Write A Skill

skills CLI
$ npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ProgrammerAnthony/Anything-Extract write-a-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Anything-Extract.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/write-a-skill .claude/skills/write-a-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
write-a-skill
GitHub stars
139
Token cost
~407 tokens
SKILL.md length
91 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能. An agent skill from ProgrammerAnthony/Anything-Extract.

  • Works in 3 steps: 收集需求 - 询问用户关于 → 起草技能 - 创建 → 与用户一起复核 - 展示草稿并询问
  • Tasks that involve Skill authoring
  • SKILL.md covers 流程(Process), 技能结构(Skill Structure), SKILL.md 模板 and 描述要求(Description Requirements), plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Write A Skill is an agent skill from ProgrammerAnthony/Anything-Extract. 以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能。

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Skill authoring. The repository describes itself as: 高效文档识别&知识库&本地启动,前后端;整合QAnything、dify等思想和源码,快速批量可靠提取文档关键信息并导出. The licence is MIT.

When your agent uses it

  • Tasks that involve Skill authoring

Example prompts

  • “/write-a-skill”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 收集需求 - 询问用户关于
  2. 起草技能 - 创建
  3. 与用户一起复核 - 展示草稿并询问

What it can do on your machine

Read from SKILL.md and the folder at commit f1ed557. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Write A Skill loads about 407 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 91 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~407

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ProgrammerAnthony/Anything-Extract at commit f1ed557, republished under its MIT licence (© ProgrammerAnthony). 91 words, ~407 tokens.

Download SKILL.mdSave it as .claude/skills/write-a-skill/SKILL.md (or your agent's skills folder).
name
write-a-skill
description
以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能。

写作技能(Writing Skills)

流程(Process)

  1. 收集需求 - 询问用户关于:

    • 该技能覆盖的任务/领域是什么?
    • 需要处理哪些具体使用场景?
    • 是否需要可执行脚本,还是只提供说明即可?
    • 是否需要附带参考资料?
  2. 起草技能 - 创建:

    • 简洁的 SKILL.md 主说明
    • 若内容超过 500 行,补充额外参考文件
    • 若需要确定性操作,再添加工具脚本
  3. 与用户一起复核 - 展示草稿并询问:

    • 这是否覆盖你的使用场景?
    • 是否有遗漏或不清楚之处?
    • 哪些章节需要更详细/更精简?

技能结构(Skill Structure)

skill-name/
├── SKILL.md           # 主说明(必需)
├── REFERENCE.md       # 详细文档(如需)
├── EXAMPLES.md        # 使用示例(如需)
└── scripts/           # 工具脚本(如需)
    └── helper.js

SKILL.md 模板

md
---
name: skill-name
description: 对能力的简短说明。适用于 [特定触发条件]。
---

# 技能名称

## 快速开始

[最小可用示例]

## 工作流

[包含检查清单的分步骤流程(适用于复杂任务)]

## 高级特性

[如需更详细内容:见 [REFERENCE.md](REFERENCE.md)]

描述要求(Description Requirements)

描述是你的 agent 在决定加载哪个技能时,唯一会看到的内容。它会与其他已安装技能一起展示在系统提示词中。agent 会读取这些描述,并根据用户请求选择最相关的技能。

目标:让 agent 只需要获得足够信息即可判断:

  1. 该技能提供什么能力
  2. 何时/为何触发它(具体关键词、上下文、文件类型等)

格式要求:

  • 最多 1024 个字符
  • 使用第三人称表述
  • 第一句:做什么
  • 第二句:使用“适用于 [特定触发条件]”

良好示例:

从 PDF 文件中提取文本与表格,填写表单并合并文档。适用于处理 PDF 文件,或用户提到 PDF、表单、文档提取等场景。

不良示例:

处理文档。

该不良示例无法让 agent 与其他文档类技能区分开来。

何时添加脚本(When to Add Scripts)

当需要以下情况时,添加工具脚本:

  • 操作是确定性的(如校验、格式化)
  • 同一段逻辑会被反复生成
  • 错误需要显式处理

相较于生成代码,脚本可以节省 token,并提升稳定性与可预期性。

何时拆分文件(When to Split Files)

当出现以下情况时,将内容拆分到独立文件:

  • SKILL.md 超过 100 行
  • 内容属于不同领域(例如财务 vs 销售 schema)
  • 高级特性很少需要

复核清单(Review Checklist)

起草完成后,请复核:

  • 描述包含触发条件(例如“适用于...”)
  • SKILL.md 行数少于 100
  • 不包含时间敏感信息
  • 术语前后一致
  • 包含具体示例
  • 引用内容只需一层(不要过度嵌套引用)

© ProgrammerAnthony, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/write-a-skill of ProgrammerAnthony/Anything-Extract.

Open the folder on GitHubat commit f1ed557

Compare with similar skills

Write A Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Write A Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write A Skill this skillProgrammerAnthony/Anything-Extract139—~407Automated safety check: PassMIT
Skill CreatorAzure/azqr79589 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    66k GitHub stars~1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from ProgrammerAnthony/Anything-Extract

All 13 skills in this repo
  • Backend Code Review

    ProgrammerAnthony/Anything-Extract

    指导在项目(python项目)中队后端代码进行质量、安全、可维护性与最佳实践审查,基于既定规则清单。适用于用户请求对 backend/ 下后端文件(如 .py)进行审查、分析或改进。不用于前端文件(如 .tsx、.ts、.js)。支持待提交变更审查、代码片段审查、按文件审查。

    139 GitHub stars~791 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Code Review

    ProgrammerAnthony/Anything-Extract

    指导在项目中对前端代码(Next.js/React/TypeScript/Tailwind 等)进行结构、可维护性、性能与一致性审查,基于既定规则清单。适用于用户请求审查 .tsx/.ts/.js/.jsx 等前端文件或前端目录下的页面与组件。不用于后端代码(如 .py)。

    139 GitHub stars~957 tokensUpdated 4 mo ago
    Auto-check passed
  • Design An Interface

    ProgrammerAnthony/Anything-Extract

    使用并行子 agent 为某个模块生成多个根本不同的接口设计。适用于用户希望设计某个 API、探索接口选项、对比模块形状(module shapes),或提到“design it twice(把它设计两遍)”。

    139 GitHub stars~448 tokensUpdated 4 mo ago
    Auto-check passed
  • TDD

    ProgrammerAnthony/Anything-Extract

    使用 RED-GREEN-重构(red-green-refactor)循环进行测试驱动开发。适用于用户希望用 TDD 构建新功能或修复 bug,提到 “red-green-refactor”,希望使用集成测试,或询问“test-first development(先写测试)”。

    139 GitHub stars~572 tokensUpdated 4 mo ago
    Auto-check passed
  • Ubiquitous Language

    ProgrammerAnthony/Anything-Extract

    从当前对话中抽取 DDD 风格的“统一语言”术语表(ubiquitous language glossary),标记歧义,并提出规范的术语选择。保存为 UBIQUITOUSLANGUAGE.md。适用于用户希望定义领域术语、构建术语表、固化用词并强化术语一致性,或提到 “domain model” / “DDD”(领域模型与 DDD)。

    139 GitHub stars~647 tokensUpdated 4 mo ago
    Auto-check passed
  • Architecture Doc

    ProgrammerAnthony/Anything-Extract

    指导在项目中编写、更新与使用架构文档(ARCHITECTURE.md)。在根目录维护架构文档,修改前后需阅读文档;文档关注最终结果与流程串联,不陷入实现细节。适用于新增/变更功能、重构、或需要理解系统整体时。

    139 GitHub stars~606 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Write A Skill

What does Write A Skill do?

以正确的技能结构、渐进式披露与打包资源来创建新的 agent 技能。适用于用户希望创建、编写或构建新的技能. An agent skill from ProgrammerAnthony/Anything-Extract. Write A Skill is an agent skill from ProgrammerAnthony/Anything-Extract.

When should I use Write A Skill?

Write A Skill fits situations like: tasks that involve Skill authoring.

How do I install Write A Skill in Claude Code?

Run `npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-skill -a claude-code`. Or copy the skill folder (.agents/skills/write-a-skill in ProgrammerAnthony/Anything-Extract) into .claude/skills/write-a-skill in your project. Claude Code loads it when a task matches its description.

How do I install Write A Skill in Codex?

Run `npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-skill -a codex`. Or copy the skill folder (.agents/skills/write-a-skill in ProgrammerAnthony/Anything-Extract) into .agents/skills/write-a-skill in your project. Codex loads it when a task matches its description.

Can I use Write A Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ProgrammerAnthony/Anything-Extract --skill write-a-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-a-skill, .gemini/skills/write-a-skill, .github/skills/write-a-skill and .opencode/skills/write-a-skill in your project.

What does Write A Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Write A Skill is instructions for the agent only.

Does Write A Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Write A Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Write A Skill use?

Write A Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Write A Skill use?

About 407 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Write A Skill?

Skills that share tags, products or a category with Write A Skill: Skill Creator (Azure/azqr, 795 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write A Skill?

ProgrammerAnthony (a GitHub user) maintains it in ProgrammerAnthony/Anything-Extract, which has 139 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on May 13, 2026.

Source: ProgrammerAnthony/Anything-Extract on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.