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.
git clone --depth 1 https://github.com/iwritec0de/app-devWrote 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/commands/iwritec0de/app-dev/scaffold)<a href="https://agentmods.dev/commands/iwritec0de/app-dev/scaffold"><img src="https://agentmods.dev/badge/commands/iwritec0de/app-dev/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.
<a href="https://agentmods.dev/commands/iwritec0de/app-dev/scaffold"><img src="https://agentmods.dev/badge/commands/iwritec0de/app-dev/scaffold.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.00012 | $0.00691 |
| Opus 5.5 | $0.00005 | $0.00276 |
| Sonnet 5.5 | $0.00002 | $0.00138 |
| Haiku 4.5 | $0.00001 | $0.00069 |
Grade A, and why
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 1mo 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
API Scaffold
Generate route handlers, validation, and types for API endpoints.
Load the nextjs-typescript-engineer and api-design skills for conventions and API patterns.
Usage
/scaffold <resource> [--methods GET,POST,PUT,DELETE] [--auth]
Arguments
Parse $ARGUMENTS to extract:
- resource (required) — Resource name (e.g.,
users,posts,orders) - --methods (optional, default:
GET,POST,PUT,DELETE) — HTTP methods to generate - --auth — Add authentication middleware/guards to all endpoints
Instructions
1. Detect Framework
Search the project for:
grep -l "express\|fastify\|koa\|hono" package.json 2>/dev/null # Node.js
ls app/api/ 2>/dev/null # Next.js App Router
ls pages/api/ 2>/dev/null # Next.js Pages Router
grep -l "flask\|fastapi\|django" requirements.txt 2>/dev/null # Python
grep -l "gin\|echo\|fiber\|chi" go.mod 2>/dev/null # Go
grep -l "laravel\|slim" composer.json 2>/dev/null # PHP
2. Detect Existing Patterns
Read 1-2 existing route files to understand:
- File organization (routes/, controllers/, handlers/)
- Naming conventions
- Error handling pattern
- Validation approach (zod, joi, class-validator, etc.)
- Response format (envelope pattern, direct, etc.)
- Database layer (ORM, raw SQL, repository pattern)
3. Generate Route Handlers
For each method, generate appropriate handlers following the project's existing patterns.
Standard REST endpoints:
| Method | Route | Handler | Description |
|---|---|---|---|
| GET | /<resource> |
list | List all with pagination |
| GET | /<resource>/:id |
get | Get single by ID |
| POST | /<resource> |
create | Create new |
| PUT | /<resource>/:id |
update | Update existing |
| DELETE | /<resource>/:id |
delete | Delete by ID |
Each handler should include:
- Input validation (request body, query params, path params)
- Error handling (404, 400, 500)
- Response typing
- Authentication check (if
--auth)
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.
- 1mo ago First seen · 87 lines · 12 tokens per session scan A 3ade4dbfa80e
scaffold is a command published in the GitHub repository iwritec0de/app-dev (3 stars, last pushed 6mo ago), licensed MIT. It adds 12 tokens to every session and 691 once invoked, about $0.0000 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.
Other commands, from other repositories
cloudflare-durable-objects:debug
Interactive Durable Objects debugging workflow. Diagnoses common DO errors, configuration issues, and runtime problems with step-by-step troubleshooting.
cloudflare-durable-objects:optimize
Interactive Durable Objects performance optimization assistant. Analyzes existing DO code and provides specific optimization recommendations with implementation guidance.
cloudflare-durable-objects:setup
Interactive Durable Objects project initialization. Scaffolds new DO project with proper bindings, migrations, and boilerplate code.
cloudflare-durable-objects:migrate
Interactive Durable Objects migration assistant. Guides through new class creation, renaming, deletion, and transfer migrations with validation.
cloudflare-queues:setup
Interactive wizard to set up Cloudflare Queues with queue creation, producer/consumer binding configuration, and Dead Letter Queue setup. Use when user wants to create first queue or add queues to existing Worker.
cloudflare-r2:multipart-init
Set up multipart upload for large files (>100MB).