write-a-skill

Create or update reusable agent skills with structured skill.md files.

779|80|Updated Jun 20, 2025
One-click install
npx skills add https://github.com/Haohao-end/openagent --skill write-a-skill-haohao-end
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/Haohao-end/openagent/tree/main/api/internal/core/skills/catalog/write-a-skill
Command: npx skills add https://github.com/Haohao-end/openagent --skill write-a-skill-haohao-end

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps users create or update agent skills with clear coverage, explicit trigger conditions, and a maintainable single-responsibility structure.

Core Features & Use Cases

  • Skill authoring guidance: Turns fuzzy requirements into a structured skill.md that the system can load reliably.
  • Trigger clarity: Focuses on defining the task domain and typical trigger phrases so the correct skill is selected.
  • Maintainable scope control: Encourages keeping descriptions tight and avoiding “god skills,” making reuse and iteration easier (e.g., drafting first, then refining from feedback).

Quick Start

Ask an AI to draft a new skill.md for a reusable skill that covers the task domain “customer onboarding FAQ” and triggers on phrases like “help me get started” and “how do I use this.”

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 reusable agent skill with clear trigger phrases?

To create a reusable agent skill, you draft a concise skill.md file that defines a single-responsibility task domain, explicit trigger conditions, and operational instructions for reliable loading. This structure ensures the correct skill is selected based on typical trigger phrases.

What is the best way to structure agent prompts for workflow reuse?

The best way to structure agent prompts for workflow reuse is to maintain a tight, single-responsibility scope within your skill.md. Defining explicit task domains and loading criteria avoids "god skills," making the prompts easier to iterate and reuse across different contexts.

Do I need to write scripts when authoring an agent skill?

You do not need to write unnecessary scripts when authoring an agent skill if deterministic execution is not required. The process focuses on defining task domains and operational instructions within a skill.md file to enable system discovery and loading.

How does defining a task domain improve agent capabilities?

Defining a task domain improves agent capabilities by establishing clear coverage boundaries and trigger conditions. This explicit mapping ensures the system reliably loads the correct single-responsibility skill, avoiding overlap and maintaining a maintainable scope for workflow reuse.

When should I refactor agent skills into single-responsibility prompts?

You should refactor agent skills into single-responsibility prompts when descriptions become too broad or trigger conditions overlap. Refactoring workflows by tightening scope and avoiding "god skills" makes maintainable agent prompts easier to discover, iterate, and reuse reliably.