Skip to content
Skillpedia
Agents7.6k Β· #13116

create-skill

What it does

This skill gives guidance on writing effective skills for an AI agent. It explains how to keep them short and clear, and how to add scripts or reference files. It is for people who want to build reusable instructions for their agent.

When to use it

  • βœ“When you want to package a repeated workflow into a skill for your agent.
  • βœ“When an existing skill needs to be updated or made clearer.
  • βœ“When you want to know how to organize the files in a skill.

Skill link

https://github.com/tailcallhq/forgecode/blob/main/crates/forge_repo/src/skills/create-skill/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/tailcallhq/forgecode/blob/main/crates/forge_repo/src/skills/create-skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you help me turn my weekly report routine into a skill my agent can use?”

5 new skills a week. 1 minute to read.

How it works

The agent explains what makes a good skill, asks what the skill should do, and then writes the instructions and any helper files in a clear, short form.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Skill Creator

This skill provides guidance for creating effective skills.

About Skills

Skills are modular, self-contained packages that extend your capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasksβ€”they transform you from a general-purpose agent into a specialized agent equipped with procedural knowledge that no model can fully possess.

What Skills Provide

  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with specific file formats or APIs
  3. Domain expertise - Company-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks

Core Principles

Concise is Key

The context window is a public good. Skills share the context window with everything else you need: system prompt, conversation history, other Skills' metadata, and the actual user request.

Default assumption: You already have significant capabilities. Only add context you don't already have. Challenge each piece of information: "Do you really need this explanation?" and "Does this paragraph justify its token cost?"

Prefer concise examples over verbose explanations.

Set Appropriate Degrees of Freedom

Match the level of specificity to the task's fragility and variability:

High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.

Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.

Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.

Think of yourself as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).

Anatomy of a Skill

Every skill consists of a required SKILL.md file and optional bundled resources:

skill-name/
β”œβ”€β”€ SKILL.md (required)
β”‚   β”œβ”€β”€ YAML frontmatter metadata (required)
β”‚   β”‚   β”œβ”€β”€ name: (required)
β”‚   β”‚   └── description: (required)
β”‚   └── Markdown instructions (required)
└── Bundled Resources (optional)
    β”œβ”€β”€ scripts/          - Executable code (Python/Bash/etc.)
    β”œβ”€β”€ references/       - Documentation intended to be loaded into context as needed
    └── assets/           - Files used in output (templates, icons, fonts, etc.)

SKILL.md (required)

Every SKILL.md consists of:

  • Frontmatter (YAML): Contains name and description fields. These are the only fields you read to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.
  • Body (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).

Bundled Resources (optional)

Scripts (scripts/)

Executable code for tasks that require deterministic reliability or are repeatedly rewritten.

  • When to include: When the same code is being rewritten repeatedly or deterministic reliability is needed
  • Example: scripts/rotate_pdf.sh for PDF rotation tasks
  • Benefits: Token efficient, deterministic, may be executed without loading into context
  • Note: Scripts may still need to be read by you for patching or environment-specific adjustments
References (references/)

Documentation and reference material intended to be loaded as needed into context to inform your process and thinking.

  • When to include: For documentation that you should reference while working
  • Examples: references/finance.md for financial schemas, references/mnda.md for company NDA template, references/policies.md for company policies, references/api_docs.md for API specifications
  • Use cases: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
  • Benefits: Keeps SKILL.md lean, loaded only when you determine it's needed
  • Best practice: If files are large (>10k words), include grep search patterns in SKILL.md
  • Avoid duplication: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skillβ€”this ke
FAQ

What is a skill?

A skill is a folder of instructions and optional scripts that your agent loads when a task matches it.

Should a skill be long?

No. The guidance says to keep it concise, since the agent shares its context space with other content.

Can a skill include scripts?

Yes. Helper scripts and reference files can be added to the skill folder.

Details

Original description by the author

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends your capabilities with specialized knowledge, workflows, or tool integrations.

repo: tailcallhq/forgecode

Popularity

GitHub stars
7.6k
Ranking position
#13116
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills