scaffold-endpoint

scaffold-endpoint is a skill for Claude Code from RaNDoM6913/claude-code-superkit. It costs 40 tokens per session (1,440 once invoked), scanned A, original, MIT.

A project-aware guide for adding a new API endpoint, the URL and code path that a program exposes for requests.

In plain words
What is it for?
Use it to identify the project’s backend stack and patterns, then scaffold an endpoint that fits the existing architecture.
Why use it?
It avoids imposing a fixed framework or folder layout by first finding how the existing project registers routes, handles requests, runs business logic, and accesses data.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it to identify the project’s backend stack and patterns, then scaffold an endpoint that fits the existing architecture.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/random6913/claude-code-superkit/scaffold-endpoint
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 RaNDoM6913/claude-code-superkit --skill scaffold-endpoint
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/scaffold-endpoint"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/scaffold-endpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,440 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.00040 $0.01440
Opus 5.5 $0.00016 $0.00576
Sonnet 5.5 $0.00008 $0.00288
Haiku 4.5 $0.00004 $0.00144

Measured 12d ago against content hash 2c7c220b13da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffold-endpoint 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 12d 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.

packages/codex/skills/scaffold-endpoint/SKILL.md · 53 lines

How it starts

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

Scaffold Endpoint

Deliver the endpoint the user requested using the project's actual patterns. An endpoint implementation includes required wiring and business behavior; an explicitly requested scaffold may leave named gaps but is not a working endpoint. A design or review request remains read-only.

Context and contract

Read the task, applicable project instructions, relevant architecture/API documentation, manifests, and the closest existing endpoint. Discover the stack from evidence: for example, Go go.mod, Node package.json, Python requirements/pyproject.toml, or Rust Cargo.toml. Distinguish declared dependencies from verified installed/runtime versions; do not invent framework capabilities or API versions.

Locate the actual route registration, handlers, schemas/DTOs, middleware, domain logic, data access, tests, and API documentation. Follow the reference endpoint through its wiring and dependencies rather than copying an isolated handler. Document relevant working-tree changes and preserve others' edits.

Before creating files or registering a route, establish whether the task adds a new endpoint or changes an existing one. Inspect target paths and the composed method/path/group identity for existing definitions. Resolve unintended overwrite, duplicate or shadowing conflicts against the actual router contract before writing; an explicitly authorized modification of that endpoint is not itself a collision blocker.

Establish the method/path, path/query/body shape, validation, response shape/statuses, error cases, authn/authz and resource ownership, business effect, and persistence needs. Use explicit task requirements and verified project conventions; ask a focused question when an unresolved contract changes behavior or access. Do not guess privileged access, destructive semantics, or user-visible business rules.

For each authorized tool run that could write, compare repository-root snapshots immediately before and after it, separately from intentional edits. Use the AGENTS.md side-effect procedure: git status --short -uall, tracked and untracked content fingerprints, and --ignored=matching plus targeted content checks for relevant ignored outputs. Record changes or Side effects: not checked with the reason if comparison is incomplete. Preserve unexpected writes for the owner.

Read the full file on GitHub · 53 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. 12d ago Changed · +4 lines 2c7c220b13da
  2. 15d ago Changed · +4 lines 20a9a9daa6d6
  3. 1mo ago Changed · -41 lines · +19 tokens per session cf1dfa55707a
  4. 2mo ago First seen · 86 lines · 21 tokens per session scan A d0144031c868

Subscribe to this mod's changes

scaffold-endpoint is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,440 once invoked, about $0.0002 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-09-03.

Related

scaffold-endpoint compared with skills from other repositories

scaffold-endpoint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-endpointRaNDoM6913/claude-code-superkitSkill3yesterdayMITA40Claude Code
backend-workpmikutel/directed-memory-bankSkill64mo agoMITA25Claude Code, Codex
Supabase Expertyuchenbigpen1/normiesSkill48mo agoApache-2.0A47Claude Code, Codex
n8n-code-javascriptyuchenbigpen1/normiesSkill48mo agoApache-2.0A63Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
gemini-api-agent-platformdavila7/claude-code-templatesSkill35ktodayMITA61Claude Code, Codex
microservices-patternswshobson/agentsSkill43kyesterdayMITA38Claude Code