1---2name: my-first-skill3description: My First Skill4---5# My First Skill67This is an example skill demonstrating the Anthropic SKILL.md format.89## Purpose1011This skill shows how to structure procedural guidance for AI coding agents using progressive disclosure.1213## When to Use1415Load this skill when:16- Learning how skills work17- Testing the OpenSkills loader18- Understanding the SKILL.md format1920## Instructions2122To create a skill:23241. Create a directory: `mkdir my-skill/`252. Add SKILL.md with YAML frontmatter:26 ```yaml27 ---28 name: my-skill29 description: When to use this skill30 ---31 ```323. Write instructions in imperative form (not second person)334. Reference bundled resources as needed3435## Bundled Resources3637For detailed information about the SKILL.md specification:3839See `references/skill-format.md`4041## Best Practices4243- Write in imperative/infinitive form: "To do X, execute Y"44- NOT second person: avoid "You should..."45- Keep SKILL.md under 5,000 words46- Move detailed content to references/47- Use scripts/ for executable code48- Use assets/ for templates and output files4950## Resource Resolution5152When this skill is loaded, the base directory is provided:5354```55Base directory: /path/to/my-first-skill56```5758Relative paths resolve from base directory:59- `references/skill-format.md` → `/path/to/my-first-skill/references/skill-format.md`60- `scripts/helper.sh` → `/path/to/my-first-skill/scripts/helper.sh`
Run npx skillmds@latest add comeonoliver/my-first-skill in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
My First Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.