darto-scaffold-project

darto-scaffold-project is a skill for Claude Code, Codex from evandersondev/darto. It costs 81 tokens per session (827 once invoked), scanned A, original, MIT.

A guide for creating and running a Darto web project in Dart using the darto command-line tool. It covers the generated project structure, development server, production build, and typed API client.

In plain words
What is it for?
Use it when starting an app, creating feature modules, running a hot-reload development server, compiling a production binary, or generating an API client.
Why use it?
It gives a repeatable starting layout and the commands needed to develop and package a new Darto application.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when starting an app, creating feature modules, running a hot-reload development server, compiling a production binary, or generating an API client.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evandersondev/darto/darto-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.

Any agent
npx skills add evandersondev/darto --skill darto-scaffold-project
Clone the repo
git clone --depth 1 https://github.com/evandersondev/darto

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/evandersondev/darto/darto-scaffold-project"><img src="https://agentmods.dev/badge/skills/evandersondev/darto/darto-scaffold-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 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.00081 $0.00827
Opus 5 $0.00041 $0.00413
Sonnet 5 $0.00016 $0.00165
Haiku 4.5 $0.00008 $0.00083

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

Security

Grade A, and why

darto-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 9d 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/darto-scaffold-project/SKILL.md · 112 lines

How it starts

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

Scaffold & run a Darto project

The official darto_cli scaffolds projects and provides dev/build tooling. Use it when starting a new app or wiring up run/build commands.

Install the CLI (once)

dart pub global activate darto_cli

Make sure ~/.pub-cache/bin is on your PATH (otherwise the darto command won't be found).

Create a project

darto create my_api
cd my_api
dart pub get

This generates a ready-to-run project with a NestJS-style module structure:

my_api/
  bin/server.dart            # entrypoint — boots the app and listens
  lib/
    app.dart                 # createApp() — registers modules/routes; CLI introspects this
    config/env.dart          # environment config
    modules/
      user/
        user_controller.dart # route handlers (Context-based)
        user_service.dart    # business logic
        user_repository.dart # data access
        user_routes.dart     # wires the module's routes onto a Router/group

Convention: one folder per module under lib/modules/, each splitting routes → controller → service → repository. New features = a new module folder following the same split, mounted in app.dart.

Develop with hot reload

darto dev                 # watches lib/, bin/, src/; auto-restarts on .dart change
darto dev bin/main.dart   # specify a custom entrypoint

Build for production

darto build                                   # compile to build/server + generate Dockerfile
darto build --output build/my_server --no-docker
darto start                                   # run the compiled binary

Generate a typed client (optional)

darto_cli can read createApp() from lib/app.dart, introspect every registered route, and emit a fully typed Dart/Flutter API client:

darto gen client flutter
darto gen client flutter --output lib/src/api_client.dart --base-url https://api.example.com
final api = ApiClient(baseUrl: 'https://api.example.com');
api.setToken(accessToken);
final users = await api.users.getAll();
final user  = await api.users.getById('42');

Read the full file on GitHub · 112 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. 9d ago First seen · 112 lines · 81 tokens per session scan A e6f3d0bbbeef

Subscribe to this mod's changes

darto-scaffold-project is a skill published in the GitHub repository evandersondev/darto (43 stars, last pushed 2mo ago), licensed MIT. It adds 81 tokens to every session and 827 once invoked, about $0.0004 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-30.