Add new skill

From diegosouzapw/awesome-omni-skill · View interactive version

Add new skill is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Create a new skill for this repository following the agentskills.io specification with proper structure and packaging

How to use this skill

Skill file

Add New Skill to Skills Repository

This meta skill guides the creation of new skills for this repository, following the agentskills.io specification.

Repository Context

This repository houses skills that are:

agentskills.io Specification Summary

Required Structure

Every skill MUST have:

skill-name/
└── SKILL.md          # Required file with YAML frontmatter

Optional Directories

Skills MAY include:

skill-name/
├── SKILL.md          # Required
├── scripts/          # Executable code (Python, Bash, JavaScript)
├── references/       # Additional docs loaded on-demand
└── assets/           # Templates, images, data files

SKILL.md Format

Required Frontmatter

---
name: skill-name
description: A clear description of what this skill does and when to use it (1-1024 characters).
---

Frontmatter Field Rules

name (REQUIRED):

description (REQUIRED):

Optional Frontmatter Fields

---
name: skill-name
description: Description here
license: MIT
compatibility: Requires Python 3.8+, works on Linux/macOS
metadata:
  version: "1.0.0"
  author: "Your Name"
allowed-tools: Read Write Bash
---

Content Guidelines

After frontmatter, include:

Keep SKILL.md under 5000 tokens (recommended) for efficient loading.

Workflow: Adding a New Skill

1. Create Skill Directory

mkdir -p skill-name

CRITICAL: Directory name MUST match the name field in frontmatter.

2. Write SKILL.md

Create skill-name/SKILL.md with:

3. Add Optional Resources (If Needed)

scripts/ - Add executable code:

mkdir -p skill-name/scripts
# Add Python/Bash/JS files

references/ - Add supporting docs:

mkdir -p skill-name/references
# Add REFERENCE.md, FORMS.md, etc.

assets/ - Add static files:

mkdir -p skill-name/assets
# Add templates, images, data files

4. Validate Skill Structure

Check that:

5. Test Locally (Optional)

Verify zip structure matches specification:

cd skill-name
zip -r ../test-skill.zip . -x "*.git*"
cd ..
unzip -l test-skill.zip
# Should show: skill-name/SKILL.md, skill-name/scripts/, etc.
rm test-skill.zip

6. Commit and Push

git add skill-name/
git commit -m "feat: add skill-name skill

Brief description of what this skill does.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>"
git push

7. Verify GitHub Actions

After push:

  1. Go to Actions tab in GitHub repository
  2. Wait for "Package Skills" workflow to complete
  3. Check that new skill artifact was created
  4. Download and verify zip structure contains parent directory

GitHub Actions Workflow

The repository includes .github/workflows/package-skills.yml which:

Package Structure: Each zip contains the parent directory:

skill-name.zip
└── skill-name/
    ├── SKILL.md
    ├── scripts/
    ├── references/
    └── assets/

This matches the agentskills.io specification for tool consumption.

Examples from This Repository

Example 1: Infrastructure Automation Skill

Directory: new-homelab-guest/

Characteristics:

Good for: Complex multi-step workflows, infrastructure tasks

Example 2: Data Processing Skill

Directory: digitize-pounce-scoresheet/

Characteristics:

Good for: Data transformation, format conversion, OCR tasks

Example 3: Meta Skill (This One!)

Directory: add-new-skill/

Characteristics:

Good for: Repository documentation, process guides

Common Skill Patterns

Pattern 1: Step-by-Step Workflow

For tasks with clear sequential steps:

## Workflow

### 1. Prepare Environment
Instructions here...

### 2. Execute Task
Instructions here...

### 3. Validate Output
Checklist...

Pattern 2: Template-Based Output

For skills that generate structured output:

## Output Format Template

key: value

nested:

Pattern 3: Context + Instructions

For domain-specific tasks:

## Domain Context
Background information...

## Processing Steps
1. Step one
2. Step two

## Validation
Checklist...

Naming Conventions

Good Skill Names

Bad Skill Names

Tips for Writing Effective Skills

  1. Be Specific: Describe exactly what the skill does and when to use it
  2. Include Context: Explain domain-specific concepts needed to execute the task
  3. Provide Examples: Show real-world usage patterns
  4. Add Validation: Include checklists or verification steps
  5. Use Templates: Provide output format templates when applicable
  6. Keep It Focused: One skill should do one thing well
  7. Consider Progressive Disclosure: Put essential info in SKILL.md, details in references/
  8. Test Instructions: Verify steps are complete and executable

Troubleshooting

Skill Not Packaged

Problem: New skill doesn't appear in GitHub Actions artifacts

Solution:

Invalid Directory Name

Problem: Directory name doesn't match frontmatter

Solution:

Workflow Fails on Push

Problem: GitHub Actions fails with zip error

Solution:

Progressive Disclosure Strategy

Per agentskills.io specification:

Tier 1 - Metadata (~100 tokens): Loaded at startup

Tier 2 - SKILL.md (<5000 tokens): Loaded when skill is activated

Tier 3 - Supporting files: Loaded on demand

Keep SKILL.md concise. Move detailed docs to references/, long code to scripts/, and data/templates to assets/.

Validation Checklist

Before committing a new skill:

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.