agentleFS
TheSyartTheSyart/emperor-agent/skills/skill-creator/SKILL.md

skill-creator

Skill194 starsChanged 2 months agoMITView on GitHub

Create, update, import, or validate Emperor Skills (SKILL.md folders with optional scripts, references, and assets). Use when the user wants a new Skill, wants to improve an existing one, or wants to install a Skill from a folder, a zip, or a GitHub link.

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, skill-share and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 20 projects that use this

  • bkootazSkill

    artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 39 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 5 projects that use this

  • seedprodSkill

    things-mac

    Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

    Also in 5 projects that use this

  • JetBrainsSkill

    slack-gif-creator

    Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.

    Also in 93 projects that use this

  • +1 more from seedprod

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use {{skill_dir}} for absolute paths to bundled files.

    line 52
  2. Distinctive:

    Do not add README, CHANGELOG, installation guides, or other auxiliary documentation.

    line 60
  3. Distinctive:

    Ask the user for examples of requests that should trigger the Skill and what a good result looks like.

    line 86
  4. Very specific:

    Use "scope": "project" in a Build session when the Skill belongs to that project only.

    line 107
  5. Distinctive:

    Use the imperative voice.

    line 111
  6. Distinctive:

    Put all "when to use" information in the description, not in the body.

    line 112
  7. Very specific:

    Keep frontmatter minimal; add metadata only when needed, for example metadata: { emperor: { requires: { bins: [git] } } } to declare …

    line 113
  8. Distinctive:

    Use the Skill on real tasks, note where the agent struggled, and update it:

    line 125
  9. Very specific:

    Every folder containing a SKILL.md is imported under its frontmatter name.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “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

Skill Creator

Guidance for creating effective Skills and managing them with the skill_manage tool.

About Skills

A Skill is a self-contained folder that gives the agent specialized knowledge, a workflow, or tools for one kind of task. Think of it as an onboarding guide: it turns a general-purpose agent into one equipped with procedural knowledge no model has on its own.

Skills provide:

  1. Workflows: multi-step procedures for a specific domain
  2. Tool integrations: how to work with specific file formats or APIs
  3. Domain expertise: schemas, conventions, business rules
  4. Bundled resources: scripts, references, and assets for repetitive work

Where Skills live

ScopeFolderNotes
Personal~/.emperor/skills/<name>/Available in every session
Project<project>/.emperor/skills/<name>/Build sessions of that project only; overrides a personal Skill with the same name
Built-in / Pluginshipped with Emperor or a PluginRead-only

Create, update, delete, and import Skills only with skill_manage. These folders are outside the writable workspace, so file and shell tools cannot write them; skill_manage asks the user for approval unless the session runs with full access. To change a built-in or Plugin Skill, create a personal Skill with the same name; it takes precedence.

Anatomy of a Skill

skill-name/
├── SKILL.md          (required: YAML frontmatter + Markdown instructions)
├── scripts/          (optional: executable code)
├── references/       (optional: documents loaded into context when needed)
└── assets/           (optional: files used in the output, e.g. templates)

SKILL.md

  • Frontmatter (YAML, required): name and description. They are the only fields the agent sees before the Skill is loaded, so the description must say what the Skill does and when to use it.
  • Body (Markdown): instructions, loaded only after the Skill triggers.

Rules Emperor enforces:

  • name: lowercase letters, digits, ., _, -; starts with a letter or digit; at most 64 characters. The frontmatter name is the Skill's name; keep the folder name identical.
  • description: required; keep it under 1024 characters.
  • Links in SKILL.md should be relative paths inside the Skill folder (for example references/api.md). Missing referenced files are reported as warnings.
  • Symbolic links must stay inside the Skill folder. node_modules, .venv, venv, .git, and __pycache__ are ignored and are not copied on import.
  • Use {{skill_dir}} for absolute paths to bundled files; Emperor expands it when the Skill is loaded.

Bundled resources

  • scripts/: code for tasks that need deterministic reliability or are rewritten repeatedly (for example scripts/rotate_pdf.py). Test every script you add by running it.
  • references/: documentation to read while working: schemas, API docs, policies. For large files, tell the agent which grep or glob patterns find the relevant part.
  • assets/: files used in the output but not read into context: templates, images, fonts, boilerplate projects.

Do not add README, CHANGELOG, installation guides, or other auxiliary documentation. A Skill contains only what an agent needs to do the job.

Core principles

Be concise

The context window is shared with the system prompt, the conversation, and every other Skill's description. Assume the agent is already capable; add only what it would not know. Prefer short examples over long explanations.

Match freedom to fragility

  • High freedom (prose guidance): several approaches are valid and the choice depends on context.
  • Medium freedom (pseudocode or parameterized scripts): a preferred pattern exists but variation is fine.
  • Low freedom (exact scripts, few parameters): the operation is fragile or must happen in a fixed order.

Progressive disclosure

  1. Name and description: always in context.
  2. SKILL.md body: loaded when the Skill triggers; keep it under about 500 lines.
  3. Bundled resources: read or executed only when needed.

When a Skill covers several variants (frameworks, providers, domains), keep the selection logic in SKILL.md and move each variant's details into its own reference file, linked directly from SKILL.md. Keep references one level deep, and add a table of contents to reference files longer than about 100 lines.

Creating a Skill

1. Understand concrete use cases

Ask the user for examples of requests that should trigger the Skill and what a good result looks like. Ask a few questions at a time. Skip this step only when the usage is already clear.

2. Plan the reusable contents

For each example, work out what you would otherwise rewrite or rediscover every time: a script, a reference document, or an asset. That list becomes the Skill's resources.

3. Write the Skill

Name it with a short, verb-led, hyphen-case name (for example "Plan Mode" → plan-mode). Then create it with one call, passing the full SKILL.md and any resource files:

{
  "action": "create",
  "scope": "user",
  "content": "---\nname: pdf-rotate\ndescription: Rotate, split, and merge PDF files. Use when the user asks to change page order or orientation of a PDF.\n---\n\n# PDF Rotate\n\nRun `scripts/rotate.py <file> <degrees>` ...\n",
  "files": {
    "scripts/rotate.py": "import sys\n..."
  }
}

Use "scope": "project" in a Build session when the Skill belongs to that project only.

Writing guidelines:

  • Use the imperative voice.
  • Put all "when to use" information in the description, not in the body.
  • Keep frontmatter minimal; add metadata only when needed, for example metadata: { emperor: { requires: { bins: [git] } } } to declare required tools.

4. Validate

{ "action": "validate", "name": "pdf-rotate" }

Fix every reported error. Warnings (for example a missing referenced file) mean something is probably wrong; check them too. validate also accepts content to check SKILL.md text before writing it.

5. Iterate

Use the Skill on real tasks, note where the agent struggled, and update it:

{
  "action": "update",
  "name": "pdf-rotate",
  "content": "<full new SKILL.md>",
  "files": { "scripts/rotate.py": "..." }
}

update replaces SKILL.md and writes the given files; files you do not pass are kept. Use { "action": "delete", "name": "..." } to remove a Skill.

Importing existing Skills

skill_manage with action: "import" installs Skills from:

  • a local folder: { "kind": "folder", "path": "/abs/path" }
  • a local zip: { "kind": "zip", "path": "/abs/path/skill.zip" }
  • an https link: { "kind": "url", "url": "https://github.com/<owner>/<repo>/tree/<branch>/<folder>" } or a direct .zip link
  • pasted SKILL.md text: { "kind": "content", "content": "---\nname: ..." }

Every folder containing a SKILL.md is imported under its frontmatter name. An existing Skill with the same name is kept unless "overwrite": true is passed. Review imported scripts before running them.

Listing

{ "action": "list" } shows the Skills available in the current session with their source, and any invalid Skills with the reason they were rejected.

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.