Skip to content
Skill

Skmtc CLI

Lets an agent run the Skmtc CLI to generate code from OpenAPI documents

Skmtc CLI is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
20
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Skmtc CLI

This skill walks an agent through the Skmtc CLI, a tool that generates code from an OpenAPI document. It covers checking whether the CLI is installed and installing it if needed, reading the workspace and the CLI's built-in guide topics, and then running commands with JSON output. The guide ships with the CLI itself, so the agent reads instructions that match the installed version rather than relying on fixed docs.

The skill sets a few working rules. Generated files are treated as output, so the agent changes the config or generator and regenerates instead of editing results by hand. When a run produces no output, wrong output or an error, the agent runs a doctor command and inspects the manifest and parse issues before proposing a fix. Writing or changing generator source is delegated to a separate skill.

To use it, the user needs an OpenAPI document as schema input and a shell where the skmtc command can run. The skill's tool allowance covers shell commands plus file reading, searching and editing.

When your agent uses it

Run the Skmtc CLI: create a project, install or clone published generators, set the schema source and enrichments, and generate code from an OpenAPI document. Use when the user asks to run skmtc, to generate code from an OpenAPI document, to install or customize a generator, to configure enrichments, to use Skmtc in CI, or to deploy a stack to skmtc-hub or promote it to production. The CLI carries its own guide (`skmtc guide`), and this skill says how to reach it. To write or change generator source, use `skmtc-generator`.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skmtc-cli plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add skmtc/skmtc
/plugin install skmtc-cli@skmtc

Or copy only this skill to ~/.claude/skills/skmtc-cli:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/skmtc-cli &&
cp -R "$tmp/deno/docs/skills/skmtc-cli" ~/.claude/skills/skmtc-cli &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/skmtc-cli inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/skmtc-cli to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/skmtc-cli &&
cp -R "$tmp/deno/docs/skills/skmtc-cli" ~/.agents/skills/skmtc-cli &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/skmtc-cli inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/skmtc-cli to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/skmtc-cli &&
cp -R "$tmp/deno/docs/skills/skmtc-cli" ~/.cursor/skills/skmtc-cli &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/skmtc-cli inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/skmtc-cli

Or copy the folder to ~/.gemini/skills/skmtc-cli yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/skmtc-cli:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/skmtc-cli &&
cp -R "$tmp/deno/docs/skills/skmtc-cli" ~/.copilot/skills/skmtc-cli &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/skmtc-cli inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/skmtc/skmtc.git

Then copy skmtc/deno/docs/skills/skmtc-cli into your agent's skills folder as skmtc-cli. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

CLI setup check
Verifies the skmtc command is present and reinstalls it when it is missing or too old.
Built-in guide navigation
Points the agent to the CLI's topic guides, starting with the input and error contract.
Code generation from OpenAPI
Covers running generation from an OpenAPI document with configured schema sources.
Enrichment configuration
Explains how to set up enrichments that affect the generated output.
Generator installation
Covers installing or cloning published generators and customizing them.
Deployment and promotion
Describes deploying a stack to skmtc-hub and promoting it to production.
Diagnostic workflow
Directs the agent to run diagnostics and read manifests before changing anything.

Good for

  • Generate client code from an OpenAPI spec
  • Install a published generator into a project
  • Configure enrichments for schema generation
  • Set up Skmtc in a CI pipeline
  • Deploy a stack to skmtc-hub and promote it

Skmtc CLI FAQ

When does Skmtc CLI trigger?

When the user asks to run skmtc, generate code from an OpenAPI document, install or customize a generator, configure enrichments, use Skmtc in CI, or deploy or promote a stack.

Which skill should I use to change generator source?

The skmtc-generator skill. This one covers running the CLI, not writing .ts generator files.

Does the skill tell the agent to edit generated files?

No. It says generated files are output, so the agent should change the config or generator and run generation again.

How do I install Skmtc CLI in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/skmtc-cli to use it in all your projects, or to .claude/skills/skmtc-cli in one project. Or install the skmtc-cli plugin, which includes it: /plugin marketplace add skmtc/skmtc, then /plugin install skmtc-cli@skmtc.

Does Skmtc CLI run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Skmtc CLI?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Skmtc CLI?

The closest alternatives to Skmtc CLI are Skmtc generator, Skmtc debug, Skmtc lang scala, Skmtc architecture and Skmtc lang csharp.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from skmtc/skmtc

  1. Guides an agent to write, restructure, or review docs by content type and audience

    • Open source
    • 20 GitHub stars
    • Developer tools
  2. Explains Skmtc's codegen engine so agents can build infrastructure around it

    • Open source
    • 20 GitHub stars
    • Developer tools
  3. Walks an agent through diagnosing failed Skmtc generation runs using manifest and parse

    • Open source
    • 20 GitHub stars
    • Developer tools
  4. Guides writing and editing Skmtc generators that turn OpenAPI documents into code

    • Open source
    • 20 GitHub stars
    • Developer tools
  5. Guides an agent writing C# code in Skmtc generators via @skmtc/lang-csharp

    • Open source
    • 20 GitHub stars
    • Developer tools
  6. Guides agents writing Erlang code for Skmtc generators targeting OTP 27

    • Open source
    • 20 GitHub stars
    • Developer tools