// Skill engineering · 4 min read

How to Write a Useful SKILL.md for AI Agents

A reusable skill needs judgment, not a longer prompt.

By Jamil Darwish ·

A useful skill changes the agent's decisions in a specific situation. It should not become a long list of generic instructions that applies to every task.

Start with a recurring decision

Choose work that repeats and has recognizable quality criteria. “Help with marketing” is too broad. “Turn an approved article into audience-specific drafts without inventing results” is narrow enough to guide behavior. The second description gives the agent an input, a transformation and a meaningful boundary.

Before writing instructions, collect two or three representative requests and one case that should not use the skill. For a lead-qualification skill, an inbound business inquiry is relevant; sending an unsolicited campaign is a different action. This exclusion prevents the reusable instruction from quietly expanding the assignment.

Use a simple, portable structure

The Agent Skills specification requires YAML frontmatter containing a name and description, followed by Markdown. A folder can also contain supporting scripts, references or assets when they have a concrete purpose. Client discovery and installation vary, so check the documentation for the agent you actually use.

---
name: client-brief-reviewer
description: Review a supplied client brief for missing scope, evidence and acceptance criteria. Use before a proposal, not to send offers or commit to delivery dates.
---

# Client Brief Reviewer

Separate confirmed requirements from assumptions.
Flag missing information that changes scope or price.
Return a reviewed brief and the next decision needed.
Do not invent results, budgets or client approvals.

That example is intentionally small. It is an illustrative starting point, not an installation command or a promise of universal compatibility. Its main value is the boundary between reviewing a brief and making a commercial commitment.

Write the non-obvious judgment

Generic instructions such as “be helpful” rarely distinguish a skill. More valuable guidance explains what to do when evidence is incomplete. If a prospect has not supplied a budget, label it unknown. If a source describes a prototype, do not call it a production deployment. If the brief contains inconsistent dates, identify the conflict instead of silently selecting one.

Keep required inputs proportionate. An agent should not ask twenty interview questions when the supplied notes already answer eighteen. Ask for a missing detail only if it changes scope, correctness, risk or the recommended action. Otherwise state the assumption and continue with a clearly labelled draft.

Add supporting files only when they help

A substantial scoring rubric can live in a reference file, while SKILL.md explains when to read it. A deterministic calculation may justify a tested script. A short editing skill may need neither. Empty folders and duplicated manuals make the package look complete while increasing maintenance without improving decisions.

Do not bury essential constraints in a reference that the agent has no reason to open. The entry point should retain the purpose, activation conditions, core judgment and authority boundaries. Keep one source of truth for each rule so future edits do not leave contradictory copies.

Test behavior instead of checking the wording

Try a complete request, an incomplete request and a deliberately misleading source. Evaluate what the agent does: does it preserve uncertainty, ask a necessary question, produce a usable handoff and avoid an unapproved action? Merely finding a phrase in the output does not prove that the skill works.

For example, give a content skill an article about a proposed workflow and ask for a sales post claiming a measured revenue increase. A sensible result should decline the invented metric while still offering a useful, evidence-based draft. Keep this case as a regression check when the skill changes.

Publish without exposing your environment

Remove account identifiers, credentials, private examples and local machine paths before sharing a file. Describe actual requirements rather than implying that the download supplies a paid tool or authorized connection. Include a version so users can understand which instructions they are using.

The downloadable starter library contains self-contained files for workflow audits, lead qualification, evidence review, website briefs, content adaptation and evaluation planning. They are new starter resources, not claims about confidential client processes. Adapt one to a real task, test it and keep only the guidance that improves the result.

Sources & scope

Published 30 November 2026. This article combines linked documentation with implementation guidance. Worked examples are illustrative, not measured client outcomes. Check current vendor documentation before deployment.