apideck-codegen

apideck-codegen is a skill for Claude Code from apideck-libraries/api-skills. It costs 68 tokens per session (2,072 once invoked), scanned A, original, Apache-2.0.

A guide for generating typed API clients, data models, server stubs, and documentation from Apideck's OpenAPI files. OpenAPI is a machine-readable description of an API.

In plain words
What is it for?
Use it to generate clients or server scaffolding for Apideck APIs in languages or frameworks without an official SDK, or to create custom models.
Why use it?
It removes much of the repetitive work of turning an API description into code. It also explains when to use Apideck's official SDKs instead.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is -o ./generated/crm-client \.

Part of the apideck plugin — 181 skills, 3 commands shipped together

Good fit Use it to generate clients or server scaffolding for Apideck APIs in languages or frameworks without an official SDK, or to create custom models.

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/apideck-libraries/api-skills
agentmods
npx agentmods add skills/apideck-libraries/api-skills/apideck-codegen

Made for: Claude Code.

Or install apideck, the plugin that ships this one along with the rest of its 181 skills, 3 commands.

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 apideck-codegen

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/apideck-libraries/api-skills/apideck-codegen"><img src="https://agentmods.dev/badge/skills/apideck-libraries/api-skills/apideck-codegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00068 $0.02072
Opus 5.5 $0.00027 $0.00829
Sonnet 5.5 $0.00014 $0.00414
Haiku 4.5 $0.00007 $0.00207

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

Security

Grade A, and why

apideck-codegen scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

providers/claude/plugin/skills/apideck-codegen/SKILL.md · 259 lines

How it starts

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

Apideck Code Generation Skill

Overview

Apideck publishes OpenAPI 3.x specifications for all unified APIs at https://specs.apideck.com/{api-name}.yml. These specs can be used with code generators to produce typed clients, models, server stubs, and documentation in any language.

IMPORTANT RULES

  • ALWAYS prefer the official Apideck SDKs over generated clients. Code generation is for languages/frameworks not covered by official SDKs, or for custom model generation.
  • ALWAYS use the latest spec from https://specs.apideck.com/{api-name}.yml. Do not use cached or outdated specs.
  • USE the official SDKs for: TypeScript (@apideck/unify), Python (apideck-unify), C# (ApideckUnifySdk), Java (com.apideck:unify), Go (sdk-go), PHP (sdk-php).
  • When generating clients, always configure authentication headers: Authorization, x-apideck-app-id, x-apideck-consumer-id.

Available OpenAPI Specs

API Spec URL
Accounting https://specs.apideck.com/accounting.yml
CRM https://specs.apideck.com/crm.yml
HRIS https://specs.apideck.com/hris.yml
File Storage https://specs.apideck.com/file-storage.yml
ATS https://specs.apideck.com/ats.yml
E-commerce https://specs.apideck.com/ecommerce.yml
Issue Tracking https://specs.apideck.com/issue-tracking.yml
SMS https://specs.apideck.com/sms.yml
Lead https://specs.apideck.com/lead.yml
Vault https://specs.apideck.com/vault.yml
Webhook https://specs.apideck.com/webhook.yml
Connector https://specs.apideck.com/connector.yml

All specs are also available on GitHub: https://github.com/apideck-libraries/openapi-specs

OpenAPI Generator

Installation

# npm
npm install @openapitools/openapi-generator-cli -g

# Homebrew
brew install openapi-generator

# Docker
docker pull openapitools/openapi-generator-cli

Generate a Typed Client

# TypeScript (Axios)
openapi-generator-cli generate \
  -i https://specs.apideck.com/crm.yml \
  -g typescript-axios \
  -o ./generated/crm-client \
  --additional-properties=npmName=apideck-crm,supportsES6=true,withInterfaces=true

# Python (urllib3)
openapi-generator-cli generate \
  -i https://specs.apideck.com/accounting.yml \
  -g python \
  -o ./generated/accounting-client \
  --additional-properties=packageName=apideck_accounting

# Rust
openapi-generator-cli generate \
  -i https://specs.apideck.com/crm.yml \
  -g rust \
  -o ./generated/crm-client \
  --additional-properties=packageName=apideck_crm

# Swift
openapi-generator-cli generate \
  -i https://specs.apideck.com/hris.yml \
  -g swift5 \
  -o ./generated/hris-client \
  --additional-properties=projectName=ApideckHRIS

# Kotlin
openapi-generator-cli generate \
  -i https://specs.apideck.com/crm.yml \
  -g kotlin \
  -o ./generated/crm-client \
  --additional-properties=groupId=com.apideck,artifactId=crm-client

# Dart
openapi-generator-cli generate \
  -i https://specs.apideck.com/crm.yml \
  -g dart \
  -o ./generated/crm-client

Read the full file on GitHub · 259 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 · 259 lines · 68 tokens per session scan A 9772f800b5b4

Subscribe to this mod's changes

apideck-codegen is a skill published in the GitHub repository apideck-libraries/api-skills (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 68 tokens to every session and 2,072 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

apideck-codegen compared with skills from other repositories

apideck-codegen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apideck-codegenapideck-libraries/api-skillsSkill5yesterdayApache-2.0A68Claude Code
csharp-api-controller-standardslinuxchata/ai-playbookSkill76mo agoMITA63Claude Code
inngest-realtimeinngest/inngest-skillsSkill302mo agononeA104Claude Code
inngest-durable-functionsinngest/inngest-skillsSkill302mo agononeA107Claude Code
inngest-brownfield-auditinngest/inngest-skillsSkill302mo agononeA87Claude Code, Codex
inngest-eventsinngest/inngest-skillsSkill302mo agononeA95Claude Code
inngest-middlewareinngest/inngest-skillsSkill302mo agononeA100Claude Code