agentleFS
myeolinmalchimyeolinmalchi/mcp2cli/skills/skill-author/SKILL.md

skill-author

Skill4 starsChanged 9 months agoMITView on GitHub

Generate a SKILL.md file for a CLI tool so Claude Code can use it effectively. Use when creating SKILL.md, writing skill files, documenting CLI tools for agents, or making a CLI agent-friendly. Triggers on "generate skill", "create skill.md", "write skill", "skill for cli", "agent documentation".

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    After mcp-codegen produces a CLI tool (as part of /convert)

    line 12
  2. Distinctive:

    Keep under 500 lines — put extended docs in separate reference files

    line 22
  3. Very specific:

    Do NOT mention MCP in the generated SKILL.md — it's a CLI tool now

    line 27

“Common” is measured: kept by at least 6 in 10 of the 11 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.md Authoring

Generate a SKILL.md file that teaches Claude Code how to use a CLI tool.

When to Use

  • After mcp-codegen produces a CLI tool (as part of /convert)
  • Standalone via /generate-skill for any existing CLI tool

Process

  1. Discover the CLI's commands via <cli> --help and <cli> <subcommand> --help
  2. Generate a SKILL.md following the template in references/skill-template.md

Rules

  1. Keep under 500 lines — put extended docs in separate reference files
  2. Show concrete examples for every command
  3. Include the --json | jq piping pattern for data extraction
  4. Mention env var names for authentication
  5. Description field must include trigger keywords for auto-discovery
  6. Do NOT mention MCP in the generated SKILL.md — it's a CLI tool now

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.