write-a-skill

Create new agent skills with proper structure, frontmatter, and bundled resources.

2|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/brandtam/rubber-ducky-legacy --skill write-a-skill-brandtam
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/brandtam/rubber-ducky-legacy/tree/main/.agents/skills/write-a-skill
Command: npx skills add https://github.com/brandtam/rubber-ducky-legacy --skill write-a-skill-brandtam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing a well-formed agent skill requires knowing the SKILL.md format, description conventions, and when to split content into scripts or reference files. This Skill guides the creation of new skills so they are discoverable and correctly structured. ## Core Features & Use Cases - Structured Skill Authoring: Provides a SKILL.md template with required YAML frontmatter (name, description) and recommended body sections. - Description Guidance: Explains how to write trigger-rich descriptions so agents can select the right skill from the system prompt. - Progressive Disclosure Rules: Defines when to add utility scripts, split content into REFERENCE.md or EXAMPLES.md, and keep SKILL.md under 100 lines. - Use Case: When you want to package a repeatable workflow as a reusable agent skill, this Skill walks you through requirements gathering, drafting, and a review checklist. ## Quick Start Ask the agent to create a new skill for your chosen task and answer its questions about use cases, scripts, and reference materials.

Frequently Asked Questions about write-a-skill

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

FAQPage Schema
How do I create a new agent skill?▼

Create a directory containing a SKILL.md file with YAML frontmatter defining a name and description, followed by markdown instructions. Optionally add scripts, REFERENCE.md, or EXAMPLES.md for deterministic operations or detailed documentation.

What should a skill description include?▼

A skill description should state what the skill does in the first sentence and when to trigger it in the second, using specific keywords and contexts. Keep it under 1024 characters, written in third person, so the agent can match it to user requests.

When should I add scripts to a skill?▼

Add utility scripts when an operation is deterministic, such as validation or formatting, when the same code would be generated repeatedly, or when errors need explicit handling. Scripts save tokens and improve reliability over generated code.

When should I split SKILL.md into multiple files?▼

Split content into separate files like REFERENCE.md or EXAMPLES.md when SKILL.md exceeds 100 lines, when content covers distinct domains, or when advanced features are rarely needed. Keep references one level deep.

What are common mistakes when writing skills?▼

Common mistakes include vague descriptions without trigger keywords, exceeding 100 lines in SKILL.md, including time-sensitive information, inconsistent terminology, and missing concrete examples. The review checklist in the skill catches these issues.