agentleFS
ZfinixZfinix/aster/skills/aster-skill-authoring/SKILL.md

aster-skill-authoring

Skill135 starsChanged 4 months agoApache-2.0View on GitHub

Author skills for aster (and Claude Code): SKILL.md format, frontmatter rules, name/description validation limits, folder layout, scaffolding with `aster skills init`, and local testing with `aster skills add -l`. Use when writing a new SKILL.md, fixing a skill that fails to load, or publishing a skills repo.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write for an agent, not a human tutorial: imperative instructions, exact commands, real flag names.

    line 69
  2. Very specific:

    Keep it grounded: only document behavior you have verified against the tool's --help or source.

    line 70
  3. Distinctive:

    Prefer short sections with runnable code blocks over prose.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Authoring skills

A skill is a directory containing a SKILL.md: YAML frontmatter with name and description, then a markdown body of instructions. The directory may bundle extra resources (scripts, references); the whole directory is copied on install.

Format

---
name: my-skill
description: One or two sentences saying what it does and when to use it.
---

# My skill

Instructions the agent follows when the skill triggers...

Validation rules enforced by aster's loader:

  • description is required, non-empty, max 1024 characters.
  • name is optional (falls back to the directory name) but when present must be lowercase letters, digits, and hyphens only, max 64 characters.
  • The file must open with a --- frontmatter fence.

Writing a good description

The description is the trigger: agents read it to decide whether to load the skill. State what the skill covers AND when to use it, and name the concrete commands, files, or phrases that should trigger it. Vague descriptions never fire.

Workflow

aster skills init my-skill      # scaffold my-skill/SKILL.md
# edit my-skill/SKILL.md
aster skills add ./my-skill -l  # validate: lists the skill if it parses, warns if not
aster skills add ./my-skill     # install into .aster/skills to try it

add -l against a local path is the fastest lint: a skill that doesn't appear in the listing failed frontmatter validation.

After writing a skill

Install it right away so it is live for the next turn, without waiting to be asked:

aster skills add ./my-skill --all --yes --force      # user-global
aster skills add ./my-skill --all --yes --force -p   # this project only (.aster/skills)

Re-run the same command after every edit; --force replaces the installed copy, and --all is required when no terminal is attached (--yes alone is refused). Do not save a memory about the skill you wrote: the skill is the record, and a memory that repeats it is noise.

Repo layout for publishing

Host multiple skills under a skills/ directory, one subdirectory per skill:

skills/
  my-first-skill/SKILL.md
  my-second-skill/SKILL.md

Discovery walks up to 6 levels deep and skips .git, node_modules, target, dist, build. Consumers then install with aster skills add owner/repo or npx skills add owner/repo. Skill names must be unique within a repo; on collision the first found wins.

Body guidelines

  • Write for an agent, not a human tutorial: imperative instructions, exact commands, real flag names.
  • Keep it grounded: only document behavior you have verified against the tool's --help or source.
  • Prefer short sections with runnable code blocks over prose.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.