Back to Skills

creating-agent-skills

Expert guidance for creating, writing, and refining Claude Code Skills. Use when working with SKILL.md files, authoring new skills, improving existing skills, or understanding skill structure and best practices.

6,114stars482forksUpdated 1/23/2026

Security Assessment

Safe(100/100)
Security Score100/100

About creating-agent-skills

The 'creating-agent-skills' skill provides expert guidance for creating, writing, and refining Claude Code Skills. It offers a step-by-step approach to authoring new skills, improving existing ones, and understanding the skill structure and best practices outlined by Anthropic. The skill is designed to help developers navigate the creation of effective skills using the official Claude Code Skills specification, ensuring that skills are crafted with clarity, conciseness, and the right structure.

Main features include guidance on how to structure a SKILL.md file, including proper use of frontmatter, markdown body formatting, and organizing content into a manageable size. This skill emphasizes key principles such as clear and direct prompting, avoiding unnecessary context, and using markdown for consistency. It also introduces progressive disclosure for large skills, offering a modular approach with separate reference files for detailed documentation and examples. The skill provides an easy-to-follow framework for skill development that adheres to the Claude Code best practices.

Use cases include developing new Claude Code Skills, auditing existing skills to ensure they meet standards, adding components to existing skills (e.g., examples or reference materials), and understanding best practices for skill structure and content organization. This skill is intended for developers and technical writers working with Claude Code Skills, aiming to streamline the skill creation process and improve the quality of their outputs.

FAQ

How do I create a new Claude Code Skill using this guide?

To create a new skill, follow the three main steps: Choose the type of skill, create the SKILL.md file with the required structure, and optionally add reference files and scripts if needed.

What is progressive disclosure in Claude Code Skills?

Progressive disclosure refers to organizing content in a way that avoids overwhelming users. Large skills are split into multiple files (e.g., SKILL.md, reference.md, examples.md), with the main SKILL.md file serving as an entry point, loading detailed content as needed.

Are there any specific formatting rules I need to follow when writing SKILL.md files?

Yes, SKILL.md files must use YAML frontmatter and markdown formatting for headings. Avoid XML tags and ensure that the file is clear, concise, and under 500 lines, with references to additional documents as needed.

Can I include scripts in my Claude Code Skill?

Yes, scripts can be included as utility files within the skill, but they are executed separately and not loaded into the context of the SKILL.md documentation.

What should I include in the description field of the SKILL.md file?

The description field should explain both what the skill does and when to use it. It should be written in the third person and provide enough context for users to understand the skill's purpose and appropriate use cases.

Install creating-agent-skills

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill