api-scaffold

api-scaffold is a skill for Claude Code, Codex from xmqywx/claude-code-skills. It costs 36 tokens per session (2,770 once invoked), scanned A, original, no licence file.

A tool for creating REST API endpoints with create, read, update, and delete operations. It supports Express and Fastify and includes validation, error handling, rate limiting, and test skeletons.

In plain words
What is it for?
Use it to scaffold REST endpoints for managing resources in Express or Fastify applications, along with their basic validation and tests.
Why use it?
Building a reliable endpoint requires more than writing its main handler. This covers common supporting pieces that are easy to omit or implement inconsistently.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to scaffold REST endpoints for managing resources in Express or Fastify applications, along with their basic validation and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xmqywx/claude-code-skills/api-scaffold
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.

Any agent
npx skills add xmqywx/claude-code-skills --skill api-scaffold
Clone the repo
git clone --depth 1 https://github.com/xmqywx/claude-code-skills

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xmqywx/claude-code-skills/api-scaffold"><img src="https://agentmods.dev/badge/skills/xmqywx/claude-code-skills/api-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,770 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 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.00036 $0.02770
Opus 5 $0.00018 $0.01385
Sonnet 5 $0.00007 $0.00554
Haiku 4.5 $0.00004 $0.00277

Measured 8d ago against content hash 79ba495618e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

api-scaffold 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 8d 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.

skills/api-scaffold/SKILL.md · 344 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 344 lines · 36 tokens per session scan A 79ba495618e9

Subscribe to this mod's changes

api-scaffold is a skill published in the GitHub repository xmqywx/claude-code-skills (2 stars, last pushed 5mo ago), with no licence file. It adds 36 tokens to every session and 2,770 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

trigger-authoring-tasks

Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx, retries, waits, queues and concurrency, idempotency keys, run metadata, logging, triggering other tasks (and the Result shape), scheduled/cron tasks, and the essentials of trigger.config.ts.…

triggerdotdev/trigger.dev · 115 tokens

voiden

Create and edit Voiden .void files for API testing. Covers the .void file format and all enabled extension block types.

VoidenHQ/voiden · 28 tokens

detecting-api-enumeration-attacks

Detect and prevent API enumeration attacks including BOLA and IDOR exploitation by monitoring sequential identifier access patterns and authorization failures.

xalgorix/xalgorix · 32 tokens

exploiting-excessive-data-exposure-in-api

Tests APIs for excessive data exposure where endpoints return more data than the client application needs, relying on the frontend to filter sensitive fields. The tester intercepts API responses and analyzes them for leaked PII, internal identifiers, debug information, or sensitive business data that the UI does not…

xalgorix/xalgorix · 114 tokens

implementing-api-rate-limiting-and-throttling

Implements API rate limiting and throttling controls using token bucket, sliding window, and fixed window algorithms to protect against brute force attacks, credential stuffing, resource exhaustion, and API abuse. The engineer configures per-user, per-IP, and per-endpoint rate limits using Redis-backed counters, API…

xalgorix/xalgorix · 114 tokens

performing-api-inventory-and-discovery

Performs API inventory and discovery to identify all API endpoints in an organization's environment including documented, undocumented, shadow, zombie, and deprecated APIs. The tester uses passive traffic analysis, active scanning, DNS enumeration, JavaScript analysis, and cloud resource inventory to build a…

xalgorix/xalgorix · 100 tokens