Yapi Skill
hashgraph-online/awesome-codex-plugins
Python stdlib scripts for the YApi OpenAPI (no Java/Docker/MCP) — search interfaces, query details, and sync/upsert one interface's docs from a YApi-native payload (often converted from OpenAPI).
Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
$ npx skills add scalar/scalar --skill mock-server -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install scalar/scalar mock-server --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mock-server .claude/skills/mock-server && rm -rf skills-srcUse ~/.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/
Install the "mock-server" agent skill from https://github.com/scalar/scalar/tree/main/.agents/skills/mock-server into .claude/skills/mock-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-server", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/scalar/scalar/tree/main/.agents/skills/mock-serverType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add scalar/scalar --skill mock-server -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install scalar/scalar mock-server --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/mock-server .agents/skills/mock-server && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mock-server" agent skill from https://github.com/scalar/scalar/tree/main/.agents/skills/mock-server into .agents/skills/mock-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-server", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scalar/scalar --skill mock-server -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install scalar/scalar mock-server --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/mock-server .cursor/skills/mock-server && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mock-server" agent skill from https://github.com/scalar/scalar/tree/main/.agents/skills/mock-server into .cursor/skills/mock-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-server", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/scalar/scalar.git --path .agents/skills/mock-server--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add scalar/scalar --skill mock-server -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install scalar/scalar mock-server --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/mock-server .gemini/skills/mock-server && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mock-server" agent skill from https://github.com/scalar/scalar/tree/main/.agents/skills/mock-server into .gemini/skills/mock-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-server", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install scalar/scalar mock-serverInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add scalar/scalar --skill mock-server -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/mock-server .github/skills/mock-server && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mock-server" agent skill from https://github.com/scalar/scalar/tree/main/.agents/skills/mock-server into .github/skills/mock-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-server", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scalar/scalar --skill mock-server -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install scalar/scalar mock-server --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scalar/scalar.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/mock-server .opencode/skills/mock-server && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mock-server" agent skill from https://github.com/scalar/scalar/tree/main/.agents/skills/mock-server into .opencode/skills/mock-server/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mock-server", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mock-serverBuild, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
Mock Server is an agent skill from scalar/scalar. Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
Its SKILL.md is about 1.2k 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 Containers. It works with OpenAPI and Docker. The repository describes itself as: Scalar is an open-source API platform: 🌐 Modern REST API Client 📖 Beautiful API References ✨ 1st-Class OpenAPI/Swagger Support. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 854b0f4. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
npxdockerFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
scalar.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mock Server loads about 1.2k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 476 words of instructions outside code blocks.
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.
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.
The full file from scalar/scalar at commit 854b0f4, republished under its MIT licence (© scalar). 476 words, ~1,161 tokens.
.claude/skills/mock-server/SKILL.md (or your agent's skills folder).Reference for implementing and debugging mock APIs with @scalar/mock-server.
Use this when you need realistic API responses from an OpenAPI description document, custom request behavior, seeded data, or Docker-based mock environments.
@scalar/mock-server>=22)createMockServer(options)x-handler): https://scalar.com/tools/mock-server/custom-request-handlerx-seed): https://scalar.com/tools/mock-server/data-seedingFastest way to run a mock server from a local OpenAPI description:
npx @scalar/cli document mock openapi.json --watchProgrammatic setup:
import { serve } from '@hono/node-server'
import { createMockServer } from '@scalar/mock-server'
const app = await createMockServer({
document: './openapi.yaml',
onRequest({ context, operation }) {
console.log(context.req.method, context.req.path, operation.operationId)
},
})
serve({ fetch: app.fetch, port: 3000 })createMockServer() OptionsAt least one of the following is required:
document: OpenAPI description document as URL, file path, or objectspecification: deprecated alias for documentOptional:
onRequest({ context, operation }): callback before each request is processedvalidateRequest: set to false to always return a mock response instead of rejecting contract violations with 422 (default: true)logger: pass false to silence the authentication instructions printed on startup, or a (line) => void sink to redirect them (default: logs to the console)When the server starts, it:
x-seed extensions (idempotent: only when collection is empty)./openapi.json/openapi.yamlx-handlerUse x-handler in an operation for dynamic behavior instead of static examples.
Helpers available in x-handler:
store for in-memory persistence (list, get, create, update, delete, clear)faker for generated test datareq for request data (body, params, query, headers)res for response examples by status code (res['200'], res['404'], ...)Status behavior:
store.get() / store.update() => 200 when found, 404 when not foundstore.create() => 201store.delete() => 204 when deleted, 404 when not foundstore.list() => 200null/undefined triggers 404 (uses responses.404 example/schema when provided)x-seedUse x-seed on components.schemas.<SchemaName> to seed initial data at startup.
Helpers available in x-seed:
seed.count(n, factory)seed(array)seed(factory) (single item shortcut)faker, store, and schemaKey rule: the schema key name is used as the collection name.
Run the Docker image:
docker run -p 3000:3000 scalarapi/mock-server --url https://api.example.com/openapi.yamlDocument source priority (high to low):
--url <URL>OPENAPI_DOCUMENTOPENAPI_DOCUMENT_URL/docs volume-mounted filesUseful routes:
/scalar/openapi.json, /openapi.yamldocument, --url, env var, or mounted file).x-seed exists on schema keys and the collection was empty on startup.securitySchemes and request credentials.x-handler runtime errors (mock server returns 500 with handler error details).500 (one whose error is Internal Server Error), read its operation object — it names the method and OpenAPI path that failed, plus the operationId when the document declares one.© scalar, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/mock-server of scalar/scalar.
Open the folder on GitHubat commit 854b0f4
Mock Server 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mock Server this skillscalar/scalar | 16k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Yapi Skillhashgraph-online/awesome-codex-plugins | 1.2k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| C4 Containeraiskillstore/marketplace | 430 | 7 repos | ~1.4k | Automated safety check: Pass | None | |
| Spring Boot Project Creatorgiuseppe-trisciuoglio/developer-kit | 355 | — | ~3.4k | Automated safety check: Notes | MIT | |
| Migrate Dotnet9 To Dotnet10dotnet/skills | 5.6k | 2 repos | ~4.8k | Automated safety check: Pass | MIT | |
| Generate MCP Servertrycompai/comp | 2k | — | ~2.7k | Automated safety check: Pass | Apache-2.0 |
hashgraph-online/awesome-codex-plugins
Python stdlib scripts for the YApi OpenAPI (no Java/Docker/MCP) — search interfaces, query details, and sync/upsert one interface's docs from a YApi-native payload (often converted from OpenAPI).
aiskillstore/marketplace
Expert C4 Container-level documentation specialist. An agent skill from aiskillstore/marketplace.
giuseppe-trisciuoglio/developer-kit
Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI…
dotnet/skills
Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes.
trycompai/comp
A skill your agent uses when generating an MCP server from an OpenAPI spec with Speakeasy.
ToolJet/ToolJet
Turns an API description, such as an OpenAPI file or a Postman collection, into a connector plugin for ToolJet's marketplace and checks it with the repo's validator.
scalar/scalar
Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.
scalar/scalar
Minimal starter runbook for cloud agents to install dependencies, run packages, execute tests, and troubleshoot the Scalar monorepo quickly.
scalar/scalar
Use consistent OpenAPI terminology and definitions when writing documentation, educational material, and tooling guidance.
scalar/scalar
Skill for writing and updating scalar.config.json — Scalar Docs configuration reference for users and LLMs.
scalar/scalar
Write clear, predictable TypeScript and Vue TypeScript code with strong typing, maintainability, and consistent documentation conventions.
scalar/scalar
Build Vue 3 components with TypeScript and Tailwind using clean structure, composable logic, accessibility, and maintainable patterns.
Categories
Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker. Mock Server is an agent skill from scalar/scalar. Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
Mock Server fits situations like: tasks that involve OpenAPI specifications; tasks that involve Containers.
Run `npx skills add scalar/scalar --skill mock-server -a claude-code`. Or copy the skill folder (.agents/skills/mock-server in scalar/scalar) into .claude/skills/mock-server in your project. Claude Code loads it when a task matches its description.
Run `npx skills add scalar/scalar --skill mock-server -a codex`. Or copy the skill folder (.agents/skills/mock-server in scalar/scalar) into .agents/skills/mock-server in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add scalar/scalar --skill mock-server -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mock-server, .gemini/skills/mock-server, .github/skills/mock-server and .opencode/skills/mock-server in your project.
Going by SKILL.md and its folder, Mock Server needs the command-line tools its instructions call (npx and docker). Our summary lists: Node.js; Docker.
SKILL.md names 1 domain. As links in the text: scalar.com. This is read from the text; nothing was executed.
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.
Mock Server is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mock Server: Yapi Skill (hashgraph-online/awesome-codex-plugins, 1.2k stars), C4 Container (aiskillstore/marketplace, 430 stars), Spring Boot Project Creator (giuseppe-trisciuoglio/developer-kit, 355 stars) and Migrate Dotnet9 To Dotnet10 (dotnet/skills, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
scalar (a GitHub organization) maintains it in scalar/scalar, which has 16,241 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.
Source: scalar/scalar on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.