scaffold-farm

scaffold-farm is a command for Claude Code from Sagargupta16/claude-skills. It costs 15 tokens per session (406 once invoked), scanned A, original, MIT.

A command that creates a new FARM application: a Python FastAPI backend, a React frontend, and a MongoDB database. FastAPI is a Python framework for web APIs, and MongoDB is a document database.

In plain words
What is it for?
Use it to scaffold a starting application with Docker, environment and YAML configuration, health checks, database services, development commands, and a Vite-based React client.
Why use it?
It removes the repetitive setup work needed to create the project folders, configuration, containers, tests, and basic frontend and backend files.

Command for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the farm-stack plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it to scaffold a starting application with Docker, environment and YAML configuration, health checks, database services, development commands, and a Vite-based React client.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sagargupta16/claude-skills/scaffold-farm
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/Sagargupta16/claude-skills

Made for: Claude Code.

Or install farm-stack, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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-farm

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sagargupta16/claude-skills/scaffold-farm"><img src="https://agentmods.dev/badge/commands/sagargupta16/claude-skills/scaffold-farm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 406 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.00015 $0.00406
Opus 5 $0.00008 $0.00203
Sonnet 5 $0.00003 $0.00081
Haiku 4.5 $0.00002 $0.00041

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

Security

Grade A, and why

scaffold-farm 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 4d 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.

plugins/farm-stack/commands/scaffold-farm.md · 31 lines

What it actually says

Scaffold a new FARM stack (FastAPI + React + MongoDB) project in the current directory.

Steps:

  1. Ask for the project name and brief description
  2. Create the full directory structure following the farm-stack skill patterns
  3. Generate these files:
    • main.py with FastAPI app, CORS, lifespan, health check, static mount
    • config/__init__.py and config/secrets_parser.py with dual-layer config (env + YAML)
    • config/secrets.yml.example with MongoDB connection template
    • .env.example with all standard FARM env vars
    • requirements.txt with pinned FARM dependencies
    • pyproject.toml with ruff + pytest config
    • Dockerfile (python:3.13-alpine)
    • docker-compose.yml with MongoDB + backend services
    • Makefile with standard dev commands
    • .gitignore for Python projects
    • README.md with project description, setup, and usage
    • LICENSE (MIT)
    • Empty models/__init__.py, routes/__init__.py, services/__init__.py, utils/__init__.py, tests/__init__.py
    • client/ directory with Vite + React scaffold (package.json, vite.config.js, src/main.jsx, src/App.jsx)
  4. Initialize git repo if not already in one
  5. Smoke-test if the environment allows: install deps, verify uvicorn boots and GET /health returns 200, and pytest collects. If the environment does not allow a live check, state explicitly that the scaffold is unverified
  6. Show summary of created files and the smoke-test result

Use the farm-stack skill for all patterns and conventions.

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. 4d ago Changed 9e13b16d9996
  2. 11d ago First seen · 31 lines · 15 tokens per session scan A 55fc86c205fa

Subscribe to this mod's changes

scaffold-farm is a command published in the GitHub repository Sagargupta16/claude-skills (5 stars, last pushed 5d ago), licensed MIT. It adds 15 tokens to every session and 406 once invoked, about $0.0001 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.