New to Claude Skills? Learn how to install them →

Czed-industries on GitHub

Create Skill

Free

Easily create and manage Zed agent skills.

Get this skill

Free · Opens the source repo

What Create Skill does

The Create Skill is designed to assist developers and designers in creating, editing, and understanding agent skills within the Zed ecosystem. A skill is essentially a reusable set of instructions that an agent can load as needed, defined in a SKILL.md file. This skill provides a structured approach to skill creation, ensuring that users can effectively manage their agent's capabilities.

To get started, users must decide whether to create a global skill, which is accessible across all projects, or a project-local skill, which is specific to a particular project and can be shared with collaborators. The skill directory structure is straightforward, allowing users to organize their skills in a way that makes sense for their workflow. Each skill is defined by a YAML frontmatter that includes essential information such as the skill name and a clear description of its functionality.

The Create Skill also emphasizes the importance of writing effective instructions for the agent. Users are guided to be direct and specific in their instructions, helping the agent understand exactly what to do when the skill is activated. This includes referencing supporting files that may be included in the skill directory, such as templates or examples, which can enhance the agent's capabilities when executing the skill.

Overall, this skill is particularly useful for those who want to streamline their workflow by creating custom agent skills tailored to their specific needs, whether for personal use or collaborative projects.

When to use it

Use this skill when you need to create or modify agent skills for Zed, especially when organizing skills for personal or project-specific use.

When not to use it

This skill is not suitable for users who require advanced features beyond basic skill creation and management, as it focuses on foundational aspects.

What you can build with it

Creating a Personal Skill

Use the Create Skill to define a personal agent skill that you can access across various projects, enhancing your workflow.

Collaborative Project Skills

Set up project-local skills for team projects, ensuring all collaborators can utilize the same agent instructions.

Organizing Skill Directories

Structure your skills in a clear directory format, making it easier to manage and reference them when needed.

How to install Create Skill

View source

1. Install with the skills CLI

npx skills add zed-industries/zed/create-skill --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by zed-industries

Creating a Zed Agent Skill

Use this skill when the user wants to create, edit, or understand agent skills in Zed.

What is a Skill?

A skill is a reusable set of instructions that an agent can load on demand. Each skill lives in its own directory and is defined by a SKILL.md file with YAML frontmatter.

Where Skills Live

Skills can be placed in two locations:

ScopePathWhen to use
Global~/.agents/skills/<skill-name>/SKILL.mdPersonal skills, available in all projects
Project-local<project>/.agents/skills/<skill-name>/SKILL.mdProject-specific skills, shared with collaborators through version control

Prefer project-local when the skill is specific to a repository. Prefer global when the skill is a personal workflow the user wants everywhere.

SKILL.md Format

Every SKILL.md must start with YAML frontmatter between --- delimiters:

---
name: my-skill-name
description: A clear, specific description of what this skill does and when to use it.
---

# Skill Title

Instructions for the agent go here. Write them as if you're telling the agent
what to do when this skill is activated.

Required Frontmatter Fields

  • name (required): Must be 1–64 characters, lowercase alphanumeric with single-hyphen separators. Must match the containing directory name exactly. Regex: ^[a-z0-9]+(-[a-z0-9]+)*$
  • description (required): Must be 1–1024 characters. This is what the agent sees when deciding whether to use the skill — make it specific and actionable.

Optional Frontmatter Fields

  • disable-model-invocation: When set to true, the skill is hidden from the agent's automatic catalog. The user can still invoke it manually via the / slash command menu. Useful for skills that should only run when explicitly requested.

Naming Rules

The skill name must:

  • Be lowercase letters and numbers only, with single hyphens as separators
  • Not start or end with -
  • Not contain consecutive --
  • Match the directory name that contains the SKILL.md

Good: git-release, pr-review, rust-patterns Bad: Git-Release, pr--review, -my-skill, my_skill

Writing Good Skill Instructions

The body of the SKILL.md (after the frontmatter) contains the instructions the agent will follow. Guidelines:

  1. Be direct: Write instructions as if talking to the agent. "Do X", "Check Y", "Ask the user about Z".
  2. Be specific: Include concrete file paths, commands, formats, and patterns.
  3. Include when-to-use guidance: Help the agent understand the right context for this skill.
  4. Reference supporting files: Skills can include additional files in their directory. Reference them with relative paths (e.g., templates/component.tsx). The agent can read these files when the skill is activated.
  5. Keep descriptions actionable: The description field is the agent's primary signal for whether to load this skill. "Helps with code" is too vague. "Generate React components following the project's design system patterns" is specific.
  6. Keep instructions focused: Limit instructions to those relevant to the skill itself. Avoid duplicating instructions from AGENTS.md and other skills in the current conversation if they are not relevant to the skill being created

Supporting Files

A skill directory can contain additional files beyond SKILL.md:

~/.agents/skills/react-component/
├── SKILL.md
├── templates/
│   ├── component.tsx
│   └── test.tsx
└── examples/
    └── button.tsx

Reference these in the skill body. The agent can read them using the file path shown in the <directory> tag of the skill envelope.

Step-by-Step: Creating a Skill

  1. Decide on scope (global vs project-local) based on the user's needs.
  2. Choose a descriptive, hyphenated name.
  3. Create the directory structure. The create_directory tool normally only creates directories inside the current project, but it has a special allow case for global skills under ~/.agents/skills.
  4. Write the SKILL.md with frontmatter and instructions. The write_file and edit_file tools also have a special allow case for creating or modifying files under ~/.agents/skills.
  5. Optionally add supporting files (templates, examples, references).

After creating the skill, it will be automatically discovered by Zed's agent on the next conversation (no restart needed for global skills if the ~/.agents/skills/ directory already exists).

Frequently asked questions about Create Skill

Similar skills