Agent skill

API Module

by Mystic-Stars in Mystic-Stars/Axolotl

Add a new API endpoint module to packages/api-client from an OpenAPI schema.

Custom licenceAuto-check passedBackend & APIs

Install API Module

skills CLI
$ npx skills add Mystic-Stars/Axolotl --skill api-module -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mystic-Stars/Axolotl api-module --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mystic-Stars/Axolotl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/api-module .claude/skills/api-module && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
api-module
GitHub stars
506
Token cost
~327 tokens
SKILL.md length
147 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

Add a new API endpoint module to packages/api-client from an OpenAPI schema.

  • Works in 8 steps: Read the OpenAPI schema at $ARGUMENTS —… → Read the standard above for naming… → Determine the service and version — the… → …
  • Adding new backend endpoints
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Creating API client modules

What it does

API Module is an agent skill from Mystic-Stars/Axolotl. Add a new API endpoint module to packages/api-client from an OpenAPI schema. Use when adding new backend endpoints, creating API client modules, or when an openapi.yml is provided.

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering OpenAPI specifications and REST APIs. It works with OpenAPI.

When your agent uses it

  • Adding new backend endpoints
  • Creating API client modules
  • An openapi.yml is provided

Example prompts

  • “/api-module”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Read the OpenAPI schema at $ARGUMENTS — identify the endpoints, request/response shapes, and path parameters.
  2. Read the standard above for naming conventions, type rules, and the module registration pattern.
  3. Determine the service and version — the URL path prefix tells you which service directory and version namespace to use (e.g. /v3/projects…
  4. Define types in types.ts — types must match the API response 1:1. Use the OpenAPI schema as the source of truth. Do not reshape or rename…
  5. Create the module class — extend BaseModule, implement each endpoint as a method. Use the correct HTTP verb and request options pattern…
  6. Register in MODULE_REGISTRY — add the module entry so it's auto-instantiated on the client.
  7. Export types from the service's barrel index.ts.
  8. Verify — check that the module compiles and the types are accessible from @modrinth/api-client.

What it can do on your machine

Read from SKILL.md and the folder at commit e54a88d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

API Module loads about 327 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 147 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~327

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 147 words (~327 tokens).

name
api-module
argument-hint
<path-to-openapi.yml>

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/api-module of Mystic-Stars/Axolotl.

Open the folder on GitHubat commit e54a88d

Compare with similar skills

API Module next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

API Module compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Module this skillMystic-Stars/Axolotl506—~327Automated safety check: PassCustom licence
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
OpenAPI to MCP Servermcp-use/mcp-use11k—~5.2kAutomated safety check: PassApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Old Coder API DesignAmazingAng/old-coder7491 repos~3.4kAutomated safety check: PassMIT
API CallerNVIDIA/SkillEvaluator5481 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Old Coder API Design

    AmazingAng/old-coder

    Reviews or designs an HTTP/JSON API's endpoints, auth, pagination, versioning and deprecations, guarding against inventing a bespoke interface or silently breaking consumers.

    749 GitHub starsUsed in 1 repo~3.4k tokens
    Backend & APIsAuto-check passed
  • API Caller

    NVIDIA/SkillEvaluator

    Official

    Call any REST API dynamically. An agent skill from NVIDIA/SkillEvaluator.

    548 GitHub starsUsed in 1 repo~1.1k tokens
    Backend & APIsAuto-check passed
  • API Generating

    huangjia2019/claude-code-engineering

    Generate API endpoint code and documentation from specifications.

    1.1k GitHub starsUsed in 1 repo~379 tokens
    Backend & APIsAuto-check passed

More from Mystic-Stars/Axolotl

  • Oil Frontend

    Mystic-Stars/Axolotl

    用于实现、修改、重构或评审产品前端。当前任务涉及页面、组件、交互、表单、状态、数据流、Hook、类型、CSS、前端代码组织或共享实现时自动触发。触发后先阅读 SKILL.md 判断相关范围,只读取与当前任务直接相关的参考文件;如果改动与产品前端无关则停止使用。纯构建、部署、依赖升级、安全、后端任务,以及只解释前端概念而不处理项目实现的请求,不触发。

    506 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Cross Platform Pages

    Mystic-Stars/Axolotl

    Convert a page to the cross-platform page system so it works in both the website and the desktop app.

    506 GitHub stars~489 tokensUpdated today
    Auto-check passed
  • Figma MCP

    Mystic-Stars/Axolotl

    Use the Figma MCP server to translate a Figma design into a Vue page or component layout.

    506 GitHub stars~388 tokensUpdated today
    Auto-check passed
  • I18n Pass

    Mystic-Stars/Axolotl

    Perform an i18n localization pass on changed files or a pull request, converting hard-coded English strings to the @modrinth/ui i18n system.

    506 GitHub stars~435 tokensUpdated today
    Auto-check passed
  • Tanstack Query

    Mystic-Stars/Axolotl

    Convert a page or component from useAsyncData/manual ref patterns to TanStack Query for server state management.

    506 GitHub stars~421 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about API Module

What does API Module do?

Add a new API endpoint module to packages/api-client from an OpenAPI schema. API Module is an agent skill from Mystic-Stars/Axolotl. Add a new API endpoint module to packages/api-client from an OpenAPI schema.

When should I use API Module?

API Module fits situations like: adding new backend endpoints; creating API client modules; an openapi.yml is provided.

How do I install API Module in Claude Code?

Run `npx skills add Mystic-Stars/Axolotl --skill api-module -a claude-code`. Or copy the skill folder (.agents/skills/api-module in Mystic-Stars/Axolotl) into .claude/skills/api-module in your project. Claude Code loads it when a task matches its description.

How do I install API Module in Codex?

Run `npx skills add Mystic-Stars/Axolotl --skill api-module -a codex`. Or copy the skill folder (.agents/skills/api-module in Mystic-Stars/Axolotl) into .agents/skills/api-module in your project. Codex loads it when a task matches its description.

Can I use API Module in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mystic-Stars/Axolotl --skill api-module -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-module, .gemini/skills/api-module, .github/skills/api-module and .opencode/skills/api-module in your project.

What does API Module need to run?

SKILL.md names no scripts, command-line tools or credentials: API Module is instructions for the agent only.

Does API Module access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Module safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does API Module use?

API Module has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does API Module use?

About 327 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to API Module?

Skills that share tags, products or a category with API Module: API Designer (Jeffallan/claude-skills, 12k stars), OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars), Use Yaak (mountain-loop/yaak, 19k stars) and Old Coder API Design (AmazingAng/old-coder, 749 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Module?

Mystic-Stars (a GitHub user) maintains it in Mystic-Stars/Axolotl, which has 506 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.

Source: Mystic-Stars/Axolotl on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.