lap

lap is a skill for Claude Code from Lap-Platform/LAP. It costs 89 tokens per session (1,667 once invoked), scanned A, original, Apache-2.0.

A command-line tool for finding, downloading, compiling, and managing API specifications. An API specification is a machine-readable description of how software services can be called, such as OpenAPI, GraphQL, AsyncAPI, Protobuf, or Postman formats.

In plain words
What is it for?
Use it to search an API registry, download or compile specifications, generate agent skills, and publish APIs.
Why use it?
It gives API descriptions a consistent way to be discovered, converted, searched, and published for agent use.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads ~/.codex paths; mentions Codex; built for openclaw.

Good fit Use it to search an API registry, download or compile specifications, generate agent skills, and publish APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lap-platform/lap/codex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lap-Platform/LAP --skill codex
Clone the repo
git clone --depth 1 https://github.com/Lap-Platform/LAP

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lap

README.md
[![agentmods](https://agentmods.dev/badge/skills/lap-platform/lap/codex/github.svg)](https://agentmods.dev/skills/lap-platform/lap/codex)
Your own site
<a href="https://agentmods.dev/skills/lap-platform/lap/codex"><img src="https://agentmods.dev/badge/skills/lap-platform/lap/codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lap

Your own site · 80×15
<a href="https://agentmods.dev/skills/lap-platform/lap/codex"><img src="https://agentmods.dev/badge/skills/lap-platform/lap/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 25
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 38
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 199
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Agent Snooping · line 70
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.01667
Opus 5.5 $0.00036 $0.00667
Sonnet 5.5 $0.00018 $0.00333
Haiku 4.5 $0.00009 $0.00167

Measured 1mo ago against content hash 9d64d18702e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lap scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

anyBins: ["curl", "npx", "lapsh"]
lap/skills/codex/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LAP CLI

Compile, search, and manage API specs for AI agents.

Command Resolution

IMPORTANT: Always use curl for registry operations (search, get, check). Do NOT use npx for these -- it downloads the package every time and takes minutes. curl is instant.

# Search the registry
curl -s 'https://registry.lap.sh/v1/search?q=<query>'

# Download a spec
curl -sH 'Accept: text/lap' https://registry.lap.sh/v1/apis/<name> -o <name>.lap

# Get API metadata (version, endpoint count)
curl -sH 'Accept: application/json' https://registry.lap.sh/v1/apis/<name>

Only use the CLI (lapsh or npx @lap-platform/lapsh) for operations that require it: compile, publish, skill-install, init.


Agent Flow -- Consuming APIs

Use this flow when a user needs to find, download, or work with an API.

1. Discover

Option A -- curl (fastest):

curl -s 'https://registry.lap.sh/v1/search?q=<query>'

Option B -- CLI:

lapsh search <query> [--tag <tag>] [--sort relevance|popularity|date] [--limit <n>]

Results show name, endpoint count, compression ratio, and a [skill] marker for installable skills.

2. Acquire

Option A -- curl (fastest):

curl -sH 'Accept: text/lap' https://registry.lap.sh/v1/apis/<name> -o <name>.lap

Option B -- Install a skill (if [skill] marker present):

lapsh skill-install <name> --target codex
# Installs to ~/.codex/skills/<name>/

Option C -- Download via CLI:

lapsh get <name> -o <name>.lap
lapsh get <name> --lean -o <name>.lean.lap

Option D -- Compile a local spec:

lapsh compile <spec-file> -o output.lap
lapsh compile <spec-file> -o output.lean.lap --lean

Supported formats: OpenAPI (YAML/JSON), GraphQL (SDL), AsyncAPI, Protobuf, Postman, Smithy. Format is auto-detected.

3. Use

Once you have a .lap file, read it directly -- LAP is designed for AI consumption. Key markers:

Marker Meaning
@api API name, version, base URL
@endpoint HTTP method + path
@param Parameter (query, path, header)
@body Request body schema
@response Response status + schema
@required Required fields
@error Error response

Read the full file on GitHub · 222 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 222 lines · 89 tokens per session scan A 9d64d18702e6

Subscribe to this mod's changes

lap is a skill published in the GitHub repository Lap-Platform/LAP (346 stars, last pushed 2d ago), licensed Apache-2.0. It adds 89 tokens to every session and 1,667 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

api-design

Design and implement RESTful APIs with proper routing, validation, error handling, and documentation. Use when building new API endpoints, designing API architecture, or improving existing APIs.

asgarovf/locusai · 37 tokens

mcp2cli

Turn any MCP server, OpenAPI spec, or GraphQL endpoint into a CLI. Use this skill when the user wants to interact with an MCP server, OpenAPI/REST API, or GraphQL API via command line, discover available tools/endpoints, call API operations, or generate a new skill from an API. Triggers include "mcp2cli", "call this…

knowsuchagency/mcp2cli · 126 tokens

pipefy-api-fallback

Use this skill when a toolkit operation fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow…

pipefy/ai-toolkit · 86 tokens

construtor-de-api

Construção e documentação de APIs REST e GraphQL: design de endpoints, versionamento, autenticação, tratamento de erros, documentação OpenAPI 3.0 e boas práticas de segurança e performance.

ricneves-ai/flowgrammers-skills · 46 tokens

binance-spot-openapi-skill

Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.

holon-run/uxc · 42 tokens

feishu-openapi-skill

Operate Feishu or Lark IM APIs through UXC with a curated OpenAPI schema, tenant-token bearer auth, and chat/message guardrails.

holon-run/uxc · 36 tokens