Agent skill
my-first-skill
Example skill demonstrating Anthropic SKILL.md format. Load when learning to create skills or testing the OpenSkills loader.
Install this agent skill to your Project
npx add-skill https://github.com/numman-ali/openskills/tree/main/examples/my-first-skill
SKILL.md
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:
- Create a directory:
mkdir my-skill/ - Add SKILL.md with YAML frontmatter:
yaml
--- name: my-skill description: When to use this skill --- - Write instructions in imperative form (not second person)
- 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.mdscripts/helper.sh→/path/to/my-first-skill/scripts/helper.sh
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Didn't find tool you were looking for?