extract-api

extract-api is a skill for Claude Code from hesedcasa/sdkck. It costs 86 tokens per session (4,177 once invoked), scanned C, original, Apache-2.0.

A tool for turning API documentation, code repositories, schemas, or local files into executable command-line API commands. An API is a defined way for software systems to communicate.

In plain words
What is it for?
Use it to import OpenAPI specifications, Postman collections, GraphQL schemas, and endpoint details from documentation into sdkck.
Why use it?
It removes the need to manually rewrite documented endpoints before using them from the command line.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is sdkck api import ./sdkck/openapi-{NAME}.json --name {NAME}.

Part of the api plugin — 1 skill, 1 agent, 1 hook shipped together

Good fit Use it to import OpenAPI specifications, Postman collections, GraphQL schemas, and endpoint details from documentation into sdkck.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hesedcasa/sdkck
agentmods
npx agentmods add skills/hesedcasa/sdkck/extract-api

Made for: Claude Code.

Or install api, the plugin that ships this one along with the rest of its 1 skill, 1 agent, 1 hook.

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 extract-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/hesedcasa/sdkck/extract-api/github.svg)](https://agentmods.dev/skills/hesedcasa/sdkck/extract-api)
Your own site
<a href="https://agentmods.dev/skills/hesedcasa/sdkck/extract-api"><img src="https://agentmods.dev/badge/skills/hesedcasa/sdkck/extract-api/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 extract-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/hesedcasa/sdkck/extract-api"><img src="https://agentmods.dev/badge/skills/hesedcasa/sdkck/extract-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,177 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00086 $0.04177
Opus 5.5 $0.00034 $0.01671
Sonnet 5.5 $0.00017 $0.00835
Haiku 4.5 $0.00009 $0.00418

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

Security

Grade C, and why

extract-api scanned grade C with 2 findings 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 3mo 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore -->

Makes network callslowCapability

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

allowed-tools: WebFetch, Read, Write, Agent, Bash(sdkck:*), Bash(gh:*), Bash(curl:*), Bash(jq:*), Bash(node:*), Bash(npm:*), Bash(python3:*)
plugins/api/skills/extract-api/SKILL.md · 261 lines

How it starts

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

Extract API endpoints from any source and import them into sdkck as executable CLI commands.

Overview

This skill reads API documentation from three source types:

  • GitHub repositories (public): scans for OpenAPI specs, Postman collections, GraphQL schemas, README, and docs files
  • HTTP/HTTPS documentation URLs: fetches single or multi-page doc sites; probes for spec/collection/schema files; POSTs introspection query to live GraphQL endpoints
  • Local files: reads OpenAPI JSON/YAML, Postman collections, GraphQL SDL/introspection JSON, markdown, HTML, or plain text

When an existing OpenAPI spec, Postman collection, or GraphQL schema is found it is used directly — no extraction needed. Otherwise, API endpoints are extracted from the documentation and an OpenAPI 3.0 JSON document is generated. Either way, the result is imported via sdkck api import.

Usage

/extract <source> [--name <name>]
Argument Description
<source> GitHub URL, HTTP/HTTPS URL, or local file path
--name Override the API name (default: derived from source)

Examples:

/extract https://petstore3.swagger.io/api/v3/openapi.json --name petstore
/extract https://github.com/stripe/openapi --name stripe
/extract https://developers.notion.com/reference/intro
/extract https://docs.github.com/en/rest --name github
/extract https://api.example.com/graphql --name myapi
/extract ./my-workspace.postman_collection.json --name myapi
/extract ./my-project/api-docs.md --name myapi
/extract ./introspection.json --name myapi
/extract ./schema.graphql --name myapi

Workflow

Step 1 — Parse arguments

Extract from the user's input:

  • SOURCE: the GitHub URL, HTTP URL, or file path
  • NAME: value of --name if provided; otherwise derive from the source:
    • GitHub URL → repository name (e.g. stripe-openapi)
    • HTTP URL → domain slug (e.g. docs-github-com)
    • Local file → filename without extension

Read the full file on GitHub · 261 lines

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. 3mo ago First seen · 261 lines · 86 tokens per session scan C 233934b4bf6e

Subscribe to this mod's changes

extract-api is a skill published in the GitHub repository hesedcasa/sdkck (10 stars, last pushed today), licensed Apache-2.0. It adds 86 tokens to every session and 4,177 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

extract-api compared with skills from other repositories

extract-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extract-apihesedcasa/sdkckSkill10todayApache-2.0C86Claude Code
atlseunsanMountain/atlassian-skillsSkill271mo agoMITA137Claude Code, Codex
building-nango-functions-locallyJustineDevs/premortemSkill14mo agoApache-2.0A122Claude Code, Codex
building-nango-functions-remotelyJustineDevs/premortemSkill14mo agoApache-2.0A131Claude Code, Codex
building-nango-functionsJustineDevs/premortemSkill14mo agoApache-2.0A105Claude Code, Codex
migrating-to-zero-yamlJustineDevs/premortemSkill14mo agoApache-2.0A85Claude Code, Codex
migrating-to-checkpointsJustineDevs/premortemSkill14mo agoApache-2.0A94Claude Code, Codex