Skip to content
cccskills
FreePublished on GitHub

my-first-skill

Learn how to organize an AI agent skill using a sample SKILL.md file. It covers basic metadata, procedural instructions, supporting folders, and relative paths, and serves as an example for testing the OpenSkills loader.

OriginalShow the original description

Example skill demonstrating Anthropic SKILL.md format. Load when learning to create skills or testing the OpenSkills loader.

See how to install

Good for

  • Learning the basic structure of an agent skill
  • Drafting a SKILL.md file
  • Organizing references, scripts, and templates
  • Testing the OpenSkills loader

Files included (2)

  • SKILL.md1.5 KB
  • references/skill-format.md1.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

My First Skill

This is an example skill demonstrating the Anthropic SKILL.md format.

Purpose

This skill shows how to structure procedural guidance for AI coding agents using progressive disclosure.

When to Use

Load this skill when:

  • Learning how skills work
  • Testing the OpenSkills loader
  • Understanding the SKILL.md format

Instructions

To create a skill:

  1. Create a directory: mkdir my-skill/
  2. Add SKILL.md with YAML frontmatter:
    ---
    name: my-skill
    description: When to use this skill
    ---
    
  3. Write instructions in imperative form (not second person)
  4. Reference bundled resources as needed

Bundled Resources

For detailed information about the SKILL.md specification:

See references/skill-format.md

Best Practices

  • Write in imperative/infinitive form: "To do X, execute Y"
  • NOT second person: avoid "You should..."
  • Keep SKILL.md under 5,000 words
  • Move detailed content to references/
  • Use scripts/ for executable code
  • Use assets/ for templates and output files

Resource Resolution

When this skill is loaded, the base directory is provided:

Base directory: /path/to/my-first-skill

Relative paths resolve from base directory:

  • references/skill-format.md → /path/to/my-first-skill/references/skill-format.md
  • scripts/helper.sh → /path/to/my-first-skill/scripts/helper.sh

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Report a problem with this skill