add-skill

Create and validate SKILL.md files with YAML frontmatter for OpenCode or Claude.

2|1|Updated Dec 19, 2022
One-click install
npx skills add https://github.com/nicholasgriffintn/machine-setup --skill add-skill-nicholasgriffintn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-skill
Source: https://github.com/nicholasgriffintn/machine-setup/tree/main/ai-tooling/skills/add-skill
Command: npx skills add https://github.com/nicholasgriffintn/machine-setup --skill add-skill-nicholasgriffintn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams and AI agents in creating, validating, and maintaining Skill Units by enforcing consistent frontmatter, naming, and structure.

Core Features & Use Cases

  • Provides a standardized template for SKILL.md frontmatter including name and description.
  • Encourages proper organization with optional references, scripts, and assets directories.
  • Helps maintain discoverability and quality across a library of skills used by OpenCode, Claude, or other agents.

Quick Start

Create a new skill directory under the skills folder and add an SKILL.md with the required frontmatter and a descriptive body.

Frequently Asked Questions about add-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a standardized SKILL.md file for Claude or OpenCode agents?

To create a standardized SKILL.md file, you must include YAML frontmatter with a defined name and description. This ensures your agent skills remain discoverable and properly structured for OpenCode or Claude automation workflows.

What is the required structure for writing agent skills with YAML frontmatter?

The required structure for writing agent skills is a SKILL.md file containing YAML frontmatter with name and description fields. You can also add optional directories for scripts, references, and assets to organize content.

How do I organize optional directories like scripts and references when building agent skills?

When building agent skills, you organize optional directories by placing them under the specific skill folder alongside the SKILL.md file. Correctly using scripts, references, and assets directories maintains skill quality and discoverability.

Does this skill template enforce validation rules for skill naming and discoverability?

Yes, the skill template enforces validation by requiring consistent YAML frontmatter, naming conventions, and structural organization. This maintains discoverability and quality across a library of skills used by AI agents.

Can I use this skill to update existing skill descriptions instead of authoring new ones?

Yes, you can use this skill to update existing skill descriptions. It applies when authoring new SKILL.md files, updating current skill descriptions, or organizing content for OpenCode and Claude agents.

What is the best way to maintain quality across a library of agent skills?

The best way to maintain quality across a library of agent skills is to enforce consistent YAML frontmatter, standardized naming, and proper structural organization. This ensures all Skill Units remain validated and discoverable.