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.
npx skills add mblode/agent-skills --skill scaffold-cligit clone --depth 1 https://github.com/mblode/agent-skillsWrote 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/mblode/agent-skills/scaffold-cli)<a href="https://agentmods.dev/skills/mblode/agent-skills/scaffold-cli"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/scaffold-cli/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/mblode/agent-skills/scaffold-cli"><img src="https://agentmods.dev/badge/skills/mblode/agent-skills/scaffold-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 117 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 118 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00052 | $0.02337 |
| Opus 5.5 | $0.00021 | $0.00935 |
| Sonnet 5.5 | $0.00010 | $0.00467 |
| Haiku 4.5 | $0.00005 | $0.00234 |
Grade A, and why
scaffold-cli 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 25d 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scaffold CLI
- IS: bootstrapping a brand-new TypeScript CLI or npm package (Node 24, TypeScript 7) from the pinned templates in
references/, through to a green first CI run and a package npm can publish over OIDC. - IS NOT: a Next.js web app (use
scaffold-nextjs), folder structure or module contracts for an existing codebase (usecodebase-architecture), auditing an existing CLI's ergonomics (usedx-audit), or shipping a release of an existing package (useautoship).
The templates encode the house toolchain. Substitute project values and verify template APIs against installed package versions; repair proven incompatibilities instead of blindly reproducing them. The toolchain is the opinion: tsdown not tsup, vitest not jest, oxlint and oxfmt via ultracite not eslint or prettier, node:util styleText not chalk, @clack/prompts not ora. Swapping any of them or restructuring the layout produces a repo the templates' notes no longer describe.
Reference Files
| File | Read When |
|---|---|
references/scaffold-configs.md |
Step 3: package.json, pnpm-workspace.yaml, tsconfig, tsdown, gitignore, license, changeset config, GitHub Actions |
references/scaffold-source.md |
Steps 4-5: src/cli.ts, src/index.ts, src/types.ts, AGENTS.md, README.md, skills/SKILL.md |
references/agent-friendly-cli.md |
Step 4, only when a command takes an identifier, path, or URL, or mutates state: input validation, dry-run, confirmation, schema |
references/post-scaffold.md |
Steps 6-8: post-scaffold commands, validation checklist, GitHub and npm bootstrap, troubleshooting |
Scaffold Workflow
Copy this checklist to track progress:
Scaffold progress:
- [ ] Step 1: Gather project info
- [ ] Step 2: Create directory structure
- [ ] Step 3: Generate config files
- [ ] Step 4: Generate source files
- [ ] Step 5: Generate docs and skill
- [ ] Step 6: Run post-scaffold commands
- [ ] Step 7: Validate scaffold
- [ ] Step 8: Bootstrap GitHub and npm (with the user's go-ahead)
What ships with it
59 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 6.4 KB
- evals/fixtures/cache-scripts-to-cli/base/.editorconfig 115 B
- evals/fixtures/cache-scripts-to-cli/base/.gitignore 35 B
- evals/fixtures/cache-scripts-to-cli/base/.nvmrc 3 B
- evals/fixtures/cache-scripts-to-cli/base/scripts/lib/common.sh 285 B runs code
- evals/fixtures/cache-scripts-to-cli/base/scripts/list-buckets.sh 369 B runs code
- evals/fixtures/cache-scripts-to-cli/base/scripts/purge-cache.sh 574 B runs code
- evals/fixtures/cache-scripts-to-cli/fixture.json 31 B
- evals/fixtures/emitted-extension-mismatch/base/.gitignore 49 B
- evals/fixtures/emitted-extension-mismatch/base/package.json 1.0 KB
- evals/fixtures/emitted-extension-mismatch/base/src/cli.ts 1.1 KB runs code
- evals/fixtures/emitted-extension-mismatch/base/src/index.ts 711 B runs code
- evals/fixtures/emitted-extension-mismatch/base/src/types.ts 143 B runs code
- evals/fixtures/emitted-extension-mismatch/base/tsconfig.json 392 B
- evals/fixtures/emitted-extension-mismatch/base/tsdown.config.ts 385 B runs code
- evals/fixtures/emitted-extension-mismatch/fixture.json 29 B
- evals/fixtures/emitted-extension-mismatch/worktree/dist/cli.mjs 1.0 KB runs code
- evals/fixtures/emitted-extension-mismatch/worktree/dist/index.d.mts 394 B
- evals/fixtures/emitted-extension-mismatch/worktree/dist/index.mjs 610 B runs code
- evals/fixtures/fresh-report-repo/base/.editorconfig 147 B
- evals/fixtures/fresh-report-repo/base/.gitattributes 32 B
- evals/fixtures/fresh-report-repo/base/.gitignore 35 B
- evals/fixtures/fresh-report-repo/base/.npmrc 36 B
- evals/fixtures/fresh-report-repo/base/.nvmrc 3 B
- evals/fixtures/fresh-report-repo/fixture.json 23 B
- evals/fixtures/half-finished-package/base/.gitignore 49 B
- evals/fixtures/half-finished-package/base/package.json 1.2 KB
- evals/fixtures/half-finished-package/base/src/cli.ts 1.4 KB runs code
- evals/fixtures/half-finished-package/base/src/index.ts 1004 B runs code
- evals/fixtures/half-finished-package/base/src/types.ts 126 B runs code
- evals/fixtures/half-finished-package/base/tsconfig.json 392 B
- evals/fixtures/half-finished-package/base/tsdown.config.ts 481 B runs code
- evals/fixtures/half-finished-package/fixture.json 29 B
- evals/fixtures/hand-rolled-json-flag/base/.gitignore 24 B
- evals/fixtures/hand-rolled-json-flag/base/bin/dunlin.js 1.3 KB runs code
- evals/fixtures/hand-rolled-json-flag/base/notes.json 304 B
- evals/fixtures/hand-rolled-json-flag/base/package.json 333 B
- evals/fixtures/hand-rolled-json-flag/base/src/commands/add.js 582 B runs code
- evals/fixtures/hand-rolled-json-flag/base/src/commands/list.js 332 B runs code
- evals/fixtures/hand-rolled-json-flag/base/src/format.js 265 B runs code
- evals/fixtures/hand-rolled-json-flag/base/src/store.js 430 B runs code
- evals/fixtures/hand-rolled-json-flag/base/test/list.test.js 748 B runs code
- evals/fixtures/hand-rolled-json-flag/fixture.json 29 B
- evals/fixtures/rushed-scaffold-check/base/.changeset/config.json 271 B
- evals/fixtures/rushed-scaffold-check/base/.github/workflows/ci.yml 761 B
- evals/fixtures/rushed-scaffold-check/base/.github/workflows/npm-publish.yml 816 B
- evals/fixtures/rushed-scaffold-check/base/.gitignore 49 B
- evals/fixtures/rushed-scaffold-check/base/LICENSE 1.1 KB
- evals/fixtures/rushed-scaffold-check/base/package.json 1.3 KB
- evals/fixtures/rushed-scaffold-check/base/src/cli.ts 1.4 KB runs code
- evals/fixtures/rushed-scaffold-check/base/src/index.ts 537 B runs code
- evals/fixtures/rushed-scaffold-check/base/src/types.ts 165 B runs code
- evals/fixtures/rushed-scaffold-check/base/tsconfig.json 392 B
- evals/fixtures/rushed-scaffold-check/base/tsdown.config.ts 437 B runs code
- evals/fixtures/rushed-scaffold-check/fixture.json 29 B
- references/agent-friendly-cli.md 3.5 KB
- references/post-scaffold.md 4.7 KB
- references/scaffold-configs.md 8.9 KB
- references/scaffold-source.md 5.5 KB
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.
- 25d ago Changed · +1 lines 8857c53c84fe
- 2mo ago Changed · -4 lines · -19 tokens per session 98d7fad936fa
- 2mo ago Changed 49aef3196ea1
- 2mo ago Changed 33aadc1110c2
- 2mo ago Changed 141e1a0e07a9
- 3mo ago Changed · +13 lines · -80 tokens per session f1a417d36021
- 3mo ago First seen · 120 lines · 151 tokens per session scan A 8fcc3f561ed9
scaffold-cli is a skill published in the GitHub repository mblode/agent-skills (239 stars, last pushed 3d ago), licensed MIT. It adds 52 tokens to every session and 2,337 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.
scaffold-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scaffold-climblode/agent-skills | Skill | 239 | 3d ago | MIT | A | 52 | Claude Code, Codex |
| nestjs-patternsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 33 | Claude Code, Kiro |
| bun-runtimeaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 34 | Claude Code, Codex |
| turborepoHigorAlves/orc | Skill | 7 | yesterday | MIT | A | 40 | Claude Code |
| pytorch-patternsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 32 | Claude Code, Kiro |
| autonomous-loopsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 26 | Claude Code, Kiro |
| cpp-coding-standardsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 48 | Claude Code, Kiro |