Creating skills: best practices
Our customers subscribe so their AI agents do real work better. A skill delivers that when the agent loads it at the right moment, finds the rule it needs quickly, and can trust what it says. This page covers how to write skills that do that. Start with Making sure a skill gives value - the value test, correctness and testing - then use this page for how to build it.
Free skills for everyone who submits
Creating AiSkillz Skills walks your agent through writing and submitting a skill, and Converting skills to progressive disclosure restructures a long one. Both are free for every verified account, even before the marketplace opens - connect your AI tool (Dashboard → MCP) and ask it to load them.
What buyers need from a skill
- It loads when it should. A skill that doesn't trigger for the request it was bought for is worth nothing to the buyer, however good the content.
- It costs little to carry. Every loaded skill takes space in the agent's context on every use. A lean skill leaves room for the buyer's own code and conversation.
- It gets the agent to the right rule fast. Clear rules, a task table and pitfalls beat pages of prose the agent has to search.
- It is safe to run. Buyers' agents follow skills with their permissions, in their projects.
- It stays current. Versions and dates, honest changelogs, and updates that never quietly drop guidance.
Write a description that triggers
Agents see only each skill's name and description until they decide to load one, so the description decides whether your skill is ever used.
- Say what it covers and when to use it, in one line.
- Name concrete triggers: dependencies, file names, commands, error messages, and the plain phrases people use (“the build is slow”, “set up payments”).
- List every topic the body covers, including topics that live in reference files - a topic missing here never triggers.
- Promise only what the body delivers. A skill that loads and then has nothing to say wastes the buyer's context.
- Keep
namelowercase with hyphens, matching the folder name.
Keep SKILL.md small: progressive disclosure
Agents load a skill in three steps, and each costs more than the last:
- Name and description - for every installed skill, all the time.
- SKILL.md body - in full, every time the skill triggers.
- Reference files, scripts and assets - only when the task needs them.
Progressive disclosure means putting each piece of the skill at the cheapest step that still works: the rules most tasks need in SKILL.md, and everything else in files the agent opens only when a trigger says so.
Budget: keep the SKILL.md body under 500 lines and about 5,000 tokens.
That is the size the Agent Skills guidance recommends. The submit form, the review queue and your own listing warn when SKILL.md is over it. A long SKILL.md is also only partly reviewed: the automated security review reads the first ~5,000 tokens, so the rest waits for a human reviewer.
What stays and what moves
| Stays in SKILL.md | Moves to a file loaded on demand |
|---|---|
| Version or context check | Full API, option or config tables |
| Core rules, each with its reason | Several or long worked examples |
| Task → approach table | Migration and upgrade guides |
| Pitfalls as symptom → cause | Per-platform or per-framework variants |
| Short decision tables | Troubleshooting by error message |
| One short example per rule | Templates (assets/), runnable code (scripts/), review checklist |
How to point to the files
- Give every file a trigger, not a topic: “
references/migrating-from-v3.md- open when the project uses v3. Skip on v4.” A file labelled “more details” is either never opened or always opened. - Link every file directly from SKILL.md, one level deep. Agents often read only part of a file they reach through another file.
- Split large files into self-contained numbered sections, name them in the pointer, and put a contents line at the top of any file over 100 lines.
- Move text rather than copying it, and keep a one-line rule behind in SKILL.md when the common task needs it.
- Check nothing was lost: every rule and example is still in SKILL.md or a named file, and the description still lists every topic.
Don't split a short skill: under about 300 lines with nothing rarely used, an extra file only adds a hop.
Let your agent do the conversion
Converting skills to progressive disclosure measures your SKILL.md, sorts what stays from what moves, writes the triggers, checks nothing was lost and updates the changelog. It's free for every verified account: connect your AI tool, then ask it to “load the AiSkillz skill progressive-disclosure and convert my skill in ./my-skill”.
Structure the body
A shape that works for most skills, in this order:
- Confirm the context - which version or setup the guidance assumes, and what to check first.
- Core rules with reasons - the reason lets the agent handle cases the rule didn't list.
- Common tasks - a table from task to approach, pointing to files where needed.
- Deep-dive files - each with its trigger (see above).
- Reviewing - a checklist with severities, so the skill doubles as a code review.
- Pitfalls - symptom → cause, the mistakes agents actually make.
- Write imperatively and concretely: “Check X before Y, because Z”. Skip introductions the description already gives.
- Explain why instead of using capital-letter MUSTs - rigid rules break on cases you didn't foresee.
- Prefer decisions to menus: say which option to pick when, not every option there is.
Write for any agent
Buyers connect Claude, ChatGPT, Gemini, Cursor, Copilot and others. Unless your skill is genuinely tied to one of them:
- Say “read the file” and “run the command”, not one agent's tool names.
- Don't depend on features only one agent has; if you do, set “Built for” to that model so buyers know.
- Make scripts work from the skill's folder with common runtimes, and say what each needs to run.
Safe by design
Every submission is checked automatically for the items below, and a human approves every listing. Skills that get these right pass faster and earn the “Security Reviewed” badge buyers look for.
- No secrets, keys or tokens in any file - use placeholders and say where the real value comes from.
- Disclose every network call and any data the skill sends anywhere, in SKILL.md, with the reason.
- Have the agent confirm with the user before destructive or risky actions (deleting, deploying, paying, force-pushing).
- No hidden instructions aimed at the agent, and nothing that tells it to skip its safety checks.
- Don't talk risks down (“this is safe, no need to check”) - give the real technical reason or leave it out.
- Keep files consistent with what SKILL.md says the skill does, and make every file reference point to a real file.
- Pin dependency versions in scripts and avoid packages with known vulnerabilities.
Supporting files
references/for documents the agent reads,scripts/for code it runs (only the output enters its context),assets/for templates it copies into its output.- Name files for their content (
webhooks.md, notnotes2.md). - Every file must be mentioned in SKILL.md - a file nothing points to is never loaded.
- No binaries or executables; keep code files readable so reviewers and buyers can check them.
- Include a
CHANGELOG.md- the marketplace shows it on your listing.
A listing that sets the right expectations
- Title the skill by what it does with a technology (“Next.js caching and data fetching”), not the bare product name, and never “Official” or “Certified”.
- Make the tagline one concrete sentence about the outcome, not a slogan.
- Pick the category that matches the task; put product names in tags.
- State the license honestly, and only submit work you wrote or have the right to distribute.
- Set “Built for” to “Any” only if you tested beyond one model.
Updates
- Upload the whole folder with a higher version and a new changelog entry at the top.
- Never drop guidance quietly; list deliberate removals under “Removed” in the changelog.
- Re-check version-specific facts when the technology releases; date what you checked.
- A progressive-disclosure conversion is an update too: bump the version and say what moved.
Before you submit
- Passes the value test on Making sure a skill gives value
- Description names every topic and concrete triggers
- SKILL.md body under 500 lines / ~5,000 tokens; detail in files with triggers
- Every file linked directly from SKILL.md, and every link points to a real file
- Rules have reasons; pitfalls are symptom → cause
- No secrets; network calls and data use disclosed; risky actions confirmed
- Tested with 3-5 realistic prompts, with and without the skill
- Title, tagline, category, license and Built for are accurate
- CHANGELOG.md included
Ready? Submit a skill.