scaffold-app

scaffold-app is a skill for Claude Code from SyntaxArc/archipy-plugin. It costs 51 tokens per session (1,006 once invoked), scanned A, original, MIT.

A starter for a new ArchiPy Python service, including configuration, data models, repositories, business logic, API services, helpers, and an application entry point.

In plain words
What is it for?
Use it to start a new service or ArchiPy application, optionally with an initial domain.
Why use it?
It removes the repetitive setup needed to create a service and establishes the expected project layout and dependency configuration.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions subagents; mentions Claude Code.

Part of the archipy plugin — 22 skills, 1 agent shipped together

Good fit Use it to start a new service or ArchiPy application, optionally with an initial domain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/syntaxarc/archipy-plugin/scaffold-app
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 SyntaxArc/archipy-plugin --skill scaffold-app
Clone the repo
git clone --depth 1 https://github.com/SyntaxArc/archipy-plugin

Made for: Claude Code.

Or install archipy, the plugin that ships this one along with the rest of its 22 skills, 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-app

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/syntaxarc/archipy-plugin/scaffold-app"><img src="https://agentmods.dev/badge/skills/syntaxarc/archipy-plugin/scaffold-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,006 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.00051 $0.01006
Opus 5.5 $0.00020 $0.00402
Sonnet 5.5 $0.00010 $0.00201
Haiku 4.5 $0.00005 $0.00101

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

Security

Grade A, and why

scaffold-app 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 29d 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/scaffold-app/SKILL.md · 98 lines

How it starts

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

Scaffold ArchiPy App

Read first

Read these plugin rules in full before generating files (paths relative to this skill directory; Claude Code: ${CLAUDE_SKILL_DIR}/../../rules/):

  • ../../rules/architecture-for-apps.mdc
  • ../../rules/config-and-di.mdc

Before writing files

  1. Inspect the workspace for pyproject.toml, existing packages, config, and source layout.
  2. Infer the package name and installed extras when they already exist.
  3. Ask only for unresolved choices:
    • Python package name
    • ArchiPy extras to install
    • Optional first domain name (default user)
  4. If files already exist, merge compatible additions and preserve project conventions. Never replace an existing application tree without explicit approval.

Steps

  1. Ensure project uses uv and Python 3.14+.
  2. Install: uv add "archipy[<extras>]"
  3. Create layout:
<package>/
├── configs/
│   ├── __init__.py
│   ├── app_config.py      # AppConfig(BaseConfig) + set_global
│   └── containers.py      # DI stub (if dependency-injection extra)
├── models/
│   ├── __init__.py
│   ├── dtos/<domain>/
│   │   ├── domain/v1/
│   │   └── repository/
│   ├── entities/
│   └── errors/
├── helpers/               # optional — prefer archipy.helpers first
│   ├── __init__.py
│   ├── utils/__init__.py
│   ├── decorators/__init__.py
│   └── interceptors/__init__.py
├── repositories/
│   └── <domain>/
│       ├── adapters/
│       └── <domain>_repository.py
├── logics/
│   └── <domain>/
└── services/
    └── <domain>/v1/
manage.py                  # when fastapi (or HTTP) requested
features/                  # optional — /scaffold-bdd
.env.example
  1. Write app_config.py with customize() setting self.FASTAPI.PROJECT_NAME (and related defaults) + BaseConfig.set_global.
  2. Add a minimal domain DTO + error following ../scaffold-models/SKILL.md.
  3. When extras include fastapi (or user wants HTTP): emit root manage.py:
    • create_app() uses AppUtils.create_fastapi_app() and includes domain routers.
    • uvicorn.run("manage:create_app", factory=True, **AppUtils.uvicorn_config(config)) — host and port come from config.FASTAPI (SERVE_HOST, SERVE_PORT), the server settings from config.UVICORN (archipy >= 5.25.0). Never hardcode host/port.
  4. Document next steps: /scaffold-domain, /scaffold-models, /scaffold-adapter, /scaffold-bdd, /scaffold-health-checks, /docs-quickstart.

Read the full file on GitHub · 98 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. 29d ago Changed · +1 lines 9ff2e87263dd
  2. 1mo ago Changed 463a75794fb7
  3. 2mo ago Changed · +1 lines 998da28bcf67
  4. 2mo ago First seen · 96 lines · 51 tokens per session scan A 4e77f25a6141

Subscribe to this mod's changes

scaffold-app is a skill published in the GitHub repository SyntaxArc/archipy-plugin (3 stars, last pushed 24d ago), licensed MIT. It adds 51 tokens to every session and 1,006 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-24.

Related

scaffold-app compared with skills from other repositories

scaffold-app next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-appSyntaxArc/archipy-pluginSkill324d agoMITA51Claude Code
clean-architecture-pythonSebastienDegodez/skraft-pluginSkill17yesterdayGPL-3.0A73Claude Code
fastapi-templateswshobson/agentsSkill43kyesterdayMITA37Claude Code
azure-mgmt-apicenter-pytmolavi/mcp-agent-skills-hubSkill114d agoMITA31Claude Code, Codex
python-fastapi-developmenttmolavi/mcp-agent-skills-hubSkill114d agoMITA28Claude Code, Codex
dbos-pythontmolavi/mcp-agent-skills-hubSkill114d agoMITA43Claude Code, Codex
fastapi-router-pytmolavi/mcp-agent-skills-hubSkill114d agoMITA25Claude Code, Codex