cc-api-design-safety

cc-api-design-safety is a skill for Claude Code, Codex from doccker/cc-use-exp. It costs 74 tokens per session (4,118 once invoked), scanned A, original, no licence file.

A safety guide for designing REST API responses and creating downstream files such as Excel, CSV, PDF, or reconciliation files.

In plain words
What is it for?
Use it when changing API response structures, handling API results, or generating files for other systems or users.
Why use it?
It helps prevent mismatched fields and unclear data types, and catches missing important fields instead of allowing an incomplete file to appear successful.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the cc-use-exp plugin — 63 skills, 25 commands shipped together

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.

agentmods
npx agentmods add skills/doccker/cc-use-exp/cc-api-design-safety
Any agent
npx skills add doccker/cc-use-exp --skill cc-api-design-safety
Clone the repo
git clone --depth 1 https://github.com/doccker/cc-use-exp

Made for: Claude Code, Codex.

Or install cc-use-exp, the plugin that ships this one along with the rest of its 63 skills, 25 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 cc-api-design-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/doccker/cc-use-exp/cc-api-design-safety.svg)](https://agentmods.dev/skills/doccker/cc-use-exp/cc-api-design-safety)
Your own site
<a href="https://agentmods.dev/skills/doccker/cc-use-exp/cc-api-design-safety"><img src="https://agentmods.dev/badge/skills/doccker/cc-use-exp/cc-api-design-safety.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00074 $0.04118
Opus 5 $0.00037 $0.02059
Sonnet 5 $0.00015 $0.00824
Haiku 4.5 $0.00007 $0.00412

Measured 6d ago against content hash a0bc68b98b0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cc-api-design-safety 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 6d 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.

.codex/skills/cc-api-design-safety/SKILL.md · 396 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

2 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. 6d ago First seen · 396 lines · 74 tokens per session scan A a0bc68b98b0b

Subscribe to this mod's changes

cc-api-design-safety is a skill published in the GitHub repository doccker/cc-use-exp (1,039 stars, last pushed 11d ago), with no licence file. It adds 74 tokens to every session and 4,118 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

file-handling

File handling patterns — S3/R2/Vercel Blob storage, PDF generation, CSV/Excel import-export, file streaming, presigned URLs, multipart upload. Use when implementing file uploads to cloud storage, generating documents, processing large files, or building download endpoints.

PIXARTSeu/Synapse · 58 tokens

backend-report-generation

Enforce report generation patterns including PDF generation (Puppeteer, wkhtmltopdf), Excel/CSV export, async generation with queues, report scheduling, large dataset handling, template rendering, and report API design. NOT for real-time dashboards or live charting.

j4flmao/agent-skills · 57 tokens

document-skills

Professional document creation, editing, and analysis for Office formats (docx, pdf, pptx, xlsx). Use when working with Word documents, PDFs, PowerPoint presentations, or Excel spreadsheets.

travisjneuman/.claude · 44 tokens

llama-parse

Use this skill to parse complex documents (PDFs, Word documents, PowerPoint presentations, Excel spreadsheets, or images) into clean Markdown or structured JSON using the LlamaParse API. Make sure to use this skill whenever the user asks to extract tables from PDFs, handle complex document structures (multi-column…

hankunpeng/skills · 97 tokens

dev-document

Document generation (PDF, DOCX, XLSX, PPTX). Trigger when the user wants to create a document, generate a report, export to PDF/Word/Excel/PowerPoint, or produce an office file.

christopherlouet/claude-base · 48 tokens

add-responder

Return a non-standard HTTP response (PDF, XLSX, stream, binary) instead of the default HTML template.

Guiziweb/guiziweb-plugins · 27 tokens