api-data-platform

A toolkit for designing and reviewing APIs, databases, command-line tools, software libraries, and data pipelines. It covers contracts such as REST, GraphQL, and OpenAPI, where OpenAPI is a machine-readable description of an API.

In plain words
What is it for?
Use it to plan API schemas and error codes, design database tables and migrations, turn request examples into CLI or SDK plans, review data quality, and assess the impact of interface or schema changes.
Why use it?
It makes interfaces easier to use, test, and change without unexpectedly breaking clients or corrupting data. It also calls out migration, authentication, pagination, error, and compatibility concerns.

Skill for Claude CodeCodex

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/cass-2003/local-workflow-skill/api-data-platform
Any agent
npx skills add cass-2003/local-workflow-skill --skill api-data-platform
Clone the repo
git clone --depth 1 https://github.com/cass-2003/local-workflow-skill

Made for: Claude Code, Codex.

Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 830 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00081 $0.00830
Opus 5 $0.00041 $0.00415
Sonnet 5 $0.00016 $0.00166
Haiku 4.5 $0.00008 $0.00083

Measured 2d ago against content hash fb84faf3adb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

api-data-platform 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 2d 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.

- 现有 routes、schema、OpenAPI、curl、SDK、README
skills/backend-api/codex/api-data-platform/SKILL.md · 58 lines

What it actually says

coff0xc-api-data-platform

快速规则(日常任务先读这里)

[契约先行] 先定 endpoint/action、schema、auth、错误码、分页、版本和兼容边界,再谈实现。 [数据门禁] 明确 source/raw/assumptions、迁移、回滚、幂等、审计字段和异常数据处理。 [交付标准] 输出可执行契约、样例请求响应、测试/迁移验证和破坏性变更说明。 [硬边界] 生产数据库、真实迁移、外部客户接口、凭据和远程写入先确认。

普通 API/数据任务按本节先推进;只有跨域产品、发版门禁或 schema/auth 大改才展开完整工作流。

能力定位

面向 API、数据库、CLI/SDK 和数据契约的工程能力。目标是让接口可使用、可演进、可测试,数据链路可迁移、可追踪、可恢复。

能交付什么

  • REST/GraphQL/OpenAPI 契约
  • 数据库 schema、迁移和数据一致性建议
  • CLI/SDK 命令设计、JSON 输出和错误模型
  • 兼容性、分页、认证和幂等策略

可以接收什么输入

  • 现有 routes、schema、OpenAPI、curl、SDK、README
  • 数据库表结构、迁移脚本、查询样例
  • 错误日志、客户端调用点、数据质量问题

放心使用的边界

  • 可直接做本地契约设计、代码实现和只读检查
  • 生产数据库迁移、数据删除、远程 API 写入必须先确认
  • 示例中不写真实 token、cookie、账号或客户数据
  • 默认只处理本地、可逆、可验证的低风险工作;涉及生产、凭据、付费、远程写入、删除、发布或权限变更时必须先确认。

为什么可以放心

  • 先发现现有契约风格,再设计变更
  • 强调机器可解析输出和明确错误
  • 迁移和公共 API 变更必须说明兼容影响

典型使用方式

使用 coff0xc-api-data-platform 设计这个 billing REST API,包含 OpenAPI、分页和错误码。
使用 coff0xc-api-data-platform 梳理 GraphQL 查询、SQL 表结构和数据质量检查。
Use coff0xc-api-data-platform to turn these curl examples into a stable CLI and SDK plan.

默认输出

  • 收口只写完成、验证、还剩、下一步;有文件/代码/规则产物给路径或位置。
  • 未真实运行的检查标为未验证,安全/架构结论标证据等级。

按需展开

  • 日常任务只执行上面的快速规则、能力边界和典型用法,不默认读取完整门禁。
  • 深度架构、复杂多阶段、质量评测、发版、正式交付或当前任务证据不足时,再读取 references/full-workflow.md
  • 读取 reference 后仍保持最小必要上下文;不要因为 reference 存在就输出长篇流程或额外自证材料。
Files

What ships with it

1 file 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. 2d ago First seen · 58 lines · 81 tokens per session scan A fb84faf3adb6

Subscribe to this mod's changes

api-data-platform is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 830 once invoked, about $0.0004 per session on Opus 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

db-repair

Auto-fix gbrain's Postgres access so the brain stays available. When any gbrain command or MCP tool result carries a GBRAINDBACCESS marker (or an operator reports the brain database is down), run the hardcoded gbrain db-repair ladder: diagnose, apply the safe tier, verify. The action is ALWAYS the hardcoded command …

garrytan/gbrain · 96 tokens

postgres-pro

Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.

Jeffallan/claude-skills · 41 tokens

postgres-database-migration

Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. Trigger when user asks to: Test a schema migration before applying it to production Add, remove, or rename columns safely on a live table Change a column's data…

timescale/pg-aiguide · 222 tokens

setup-timescaledb-hypertables

Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…

timescale/pg-aiguide · 219 tokens

claimable-postgres

Provision instant temporary Postgres databases via Claimable Postgres by Neon (neon.new) with no login, signup, or credit card. Supports REST API, CLI, and SDK. Use when users ask for a quick Postgres environment, a throwaway DATABASEURL for prototyping/tests, or "just give me a DB now". Triggers include: "quick…

neondatabase/mcp-server-neon · 123 tokens

dsql

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, FK…

awslabs/agent-plugins · 227 tokens