cf-scaffold-project

cf-scaffold-project is a command for Claude Code from jsgerman-oss/blackrim-nimbus-skills. It costs 37 tokens per session (2,458 once invoked), scanned A, original, MIT.

A command for starting a Cloudflare project with Workers, Pages, or related storage and database services. It creates the initial configuration, infrastructure files, and automated deployment setup.

In plain words
What is it for?
Use it to scaffold a Worker, Pages site, Worker with D1 and R2, or a project using Queues and Durable Objects, with Wrangler, Terraform, and GitHub Actions files.
Why use it?
It gives a new project a consistent starting structure and helps match the project type to its needs, such as static pages, APIs, structured data, or file storage.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the cloud-cloudflare plugin — 6 skills, 1 command, 2 agents shipped together

Good fit Use it to scaffold a Worker, Pages site, Worker with D1 and R2, or a project using Queues and Durable Objects, with Wrangler, Terraform, and GitHub Actions files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project
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.

Clone the repo
git clone --depth 1 https://github.com/jsgerman-oss/blackrim-nimbus-skills

Made for: Claude Code.

Or install cloud-cloudflare, the plugin that ships this one along with the rest of its 6 skills, 1 command, 2 agents.

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 cf-scaffold-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project/github.svg)](https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project)
Your own site
<a href="https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project"><img src="https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project/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 cf-scaffold-project

Your own site · 80×15
<a href="https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project"><img src="https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/cf-scaffold-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,458 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.00037 $0.02458
Opus 5 $0.00018 $0.01229
Sonnet 5 $0.00007 $0.00492
Haiku 4.5 $0.00004 $0.00246

Measured 12d ago against content hash 9696f58ddf15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cf-scaffold-project 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.

cloud-cloudflare/commands/cf-scaffold-project.md · 284 lines

How it starts

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

Cloudflare Scaffold Project

Scaffold a new Cloudflare project for a workload described as: $ARGUMENTS

What to do

  1. Confirm the project type. Ask the user which template they want, with a one-line recommendation based on the workload description:

    • Static site with optional edge logic → Pages (connect a GitHub repo; optional Pages Functions for API routes).
    • API handler, proxy, or lightweight service → Worker (module syntax, wrangler.toml, deployed via Wrangler).
    • Full-stack app with structured data and blob storage → Worker + D1 + R2 (Worker handles routing, D1 stores relational data, R2 stores user uploads or assets).
    • Long-running or multi-step processes → Worker + Queues + Durable Objects (add Queues for background tasks and Durable Objects for coordination state).

    Do not prescribe — recommend, then defer to the user.

  2. Confirm scope with up to three questions if not obvious:

    • Target Cloudflare account and zone (or workers.dev subdomain only)?
    • Multi-environment (staging + production) or single environment?
    • Greenfield, or migrating an existing app (import existing data, bind to existing resources)?
  3. Generate the project skeleton in the current working directory (or a subdirectory the user picks). Every scaffold must include:

    • wrangler.toml (or wrangler.jsonc) with per-environment stanzas.
    • package.json with wrangler pinned in devDependencies; npm run dev, npm run deploy, and npm test scripts.
    • TypeScript configuration (tsconfig.json) with @cloudflare/workers-types for type safety.
    • .gitignore covering node_modules/, .dev.vars, dist/, .wrangler/.
    • .dev.vars (local secrets file) — empty template with a comment; confirm it is already in .gitignore.
    • A README.md with setup, local dev, deploy, and environment variable instructions.
    • Terraform skeleton in infra/ for Cloudflare resources managed outside Wrangler.
    • GitHub Actions workflow(s) in .github/workflows/.
    • At least one unit test (vitest with @cloudflare/vitest-pool-workers) confirming the scaffold is testable.

Read the full file on GitHub · 284 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 First seen · 284 lines · 37 tokens per session scan A 9696f58ddf15

Subscribe to this mod's changes

cf-scaffold-project is a command published in the GitHub repository jsgerman-oss/blackrim-nimbus-skills (8 stars, last pushed 26d ago), licensed MIT. It adds 37 tokens to every session and 2,458 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.