Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/filipebraida/adonisjs-starter-kitnpx agentmods add skills/filipebraida/adonisjs-starter-kit/module-scaffoldingWrote 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/skills/filipebraida/adonisjs-starter-kit/module-scaffolding)<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/module-scaffolding"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/module-scaffolding/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/skills/filipebraida/adonisjs-starter-kit/module-scaffolding"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/module-scaffolding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00059 | $0.02183 |
| Opus 5.5 | $0.00024 | $0.00873 |
| Sonnet 5.5 | $0.00012 | $0.00437 |
| Haiku 4.5 | $0.00006 | $0.00218 |
Grade A, and why
module-scaffolding 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 5d 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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Module scaffolding
Every feature lives under app/<mod>/ as a self-contained module. There is no autoloader — the routes list, preloads, import aliases, migration paths, tsconfig includes, and event listener mounts are all wired explicitly. Miss any of these and the module simply won't load, its rows won't migrate, or its event types won't typecheck.
Quick start — make:module
Do not wire by hand unless you have to. The generator creates the skeleton and injects every touchpoint idempotently:
node ace make:module <mod> # routes + controller + ui page + smoke test
node ace make:module <mod> --db --i18n --events
--db— addsdatabase/migrations/and registers its path inconfig/database.ts.--i18n— addsresources/lang/{en,pt}/<mod>.json; the server and the frontend find the folder on their own.--events— addsstart/events.ts+types/events.ts, preloads events, and adds thetypes/**glob to the core tsconfig (skip that and theEventsListmerge breaks the client typecheck). The stub's commented example shows an inline closure; replace it with a listener-class binding (emitter.on('<mod>:created', [listeners.<mod>.<Name>Listener]), from#generated/listeners) — see [[actions-events]].
Always wired: the #<mod>/* alias, the #<mod>/routes line in start/routes.ts, and the ui/** tsconfig include. After running it, pnpm ace codegen regenerates route/page types, then pnpm typecheck. The rest of this skill is what the command does under the hood — use it to add a piece later or to wire a module by hand.
Conventions
- Module dir tree & existing modules — see AGENTS.md → "Architecture — module per bounded context" (always in context). Create only the pieces you need;
routes.tsis the only mandatory file. - Aliases go in
apps/web/package.json→"imports". Add"#<mod>/*": "./app/<mod>/*.js". - Routes are registered in
apps/web/start/routes.ts, oneawait import('#<mod>/routes')per module, in order. Never as a preload: Adonis imports the preloads in parallel, so the route order (and the precedence of overlapping routes) would depend on which file loads first. - Preloads go in
apps/web/adonisrc.ts→preloads. Add#<mod>/start/eventsif the module binds listeners,#<mod>/start/viewif it mounts edge templates. - Migrations/seeders paths append to
apps/web/config/database.ts→connections.postgres.migrations.pathsandseeders.paths. - tsconfig include — when the module has
ui/, add../../<mod>/ui/**/*.tsand../../<mod>/ui/**/*.tsxtoapps/web/app/core/ui/tsconfig.json→include. Add../../<mod>/types/**/*.tswhen it hastypes/events.ts, or theEventsListmerge is invisible to the client tsc and event typechecks break. - Durable workflows — a module's
workflows/folder is found on its own:config/durable.ts(workflowsPath) readsmoduleDirs(app.makePath(), 'workflows')(#core/utils/module_dirs), and the engine scans those folders at boot. - Lint —
apps/web/eslint.config.js→DEPENDENCIESdeclares which modules a new module may import; add it there. Folder placement is governed by the@filipebraida/eslint-config-adonispreset; an exception is a named block in that file, never aneslint-disable. - i18n — if the module has UI strings, drop JSON in
resources/lang/{en,pt}/<mod>.json. Two locales are canonical; both must exist.
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.
- 5d ago Changed e8669af54de7
- 12d ago Changed · +4 lines 8925e7bae3de
- 20d ago Changed · +4 lines e0f395e0ff53
- 3mo ago First seen · 121 lines · 59 tokens per session scan A 35c5adffe199
module-scaffolding is a skill published in the GitHub repository filipebraida/adonisjs-starter-kit (99 stars, last pushed 6d ago), licensed MIT. It adds 59 tokens to every session and 2,183 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-08-30.
module-scaffolding compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| module-scaffoldingfilipebraida/adonisjs-starter-kit | Skill | 99 | 6d ago | MIT | A | 59 | Claude Code |
| calendarcnvmnog/calendarcn | Skill | 168 | 5d ago | MIT | A | 76 | Claude Code, Codex |
| ui-beatsnikhils4/ui-beats | Skill | 236 | 3mo ago | MIT | A | 62 | Claude Code, Codex |
| declare-typesone-ie/one | Skill | 135 | 3d ago | none | A | 49 | Claude Code, Codex |
| sdkone-ie/one | Skill | 135 | 3d ago | none | A | 34 | Claude Code |
| react-doctorshipkit-io/bones | Skill | 21 | 3d ago | none | A | 31 | Claude Code, Codex |
| auth-setupfirtoz/cf-multiworker-starter-kit | Skill | 12 | 1mo ago | none | A | 39 | Claude Code, Codex |