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.
git clone --depth 1 https://github.com/apideck-libraries/api-skillsnpx agentmods add skills/apideck-libraries/api-skills/apideck-codegenWrote 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.
[](https://agentmods.dev/skills/apideck-libraries/api-skills/apideck-codegen)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
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.
- 3mo ago First seen · 259 lines · 68 tokens per session scan A 9772f800b5b4
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.
apideck-codegen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| apideck-codegenapideck-libraries/api-skills | Skill | 5 | yesterday | Apache-2.0 | A | 68 | Claude Code |
| csharp-api-controller-standardslinuxchata/ai-playbook | Skill | 7 | 6mo ago | MIT | A | 63 | Claude Code |
| inngest-realtimeinngest/inngest-skills | Skill | 30 | 2mo ago | none | A | 104 | Claude Code |
| inngest-durable-functionsinngest/inngest-skills | Skill | 30 | 2mo ago | none | A | 107 | Claude Code |
| inngest-brownfield-auditinngest/inngest-skills | Skill | 30 | 2mo ago | none | A | 87 | Claude Code, Codex |
| inngest-eventsinngest/inngest-skills | Skill | 30 | 2mo ago | none | A | 95 | Claude Code |
| inngest-middlewareinngest/inngest-skills | Skill | 30 | 2mo ago | none | A | 100 | Claude Code |