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 mhmdreza-rafiei/agent-tools --skill scaffoldgit clone --depth 1 https://github.com/mhmdreza-rafiei/agent-toolsWrote 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/mhmdreza-rafiei/agent-tools/scaffold)<a href="https://agentmods.dev/skills/mhmdreza-rafiei/agent-tools/scaffold"><img src="https://agentmods.dev/badge/skills/mhmdreza-rafiei/agent-tools/scaffold/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/mhmdreza-rafiei/agent-tools/scaffold"><img src="https://agentmods.dev/badge/skills/mhmdreza-rafiei/agent-tools/scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00077 | $0.00694 |
| Opus 5 | $0.00039 | $0.00347 |
| Sonnet 5 | $0.00015 | $0.00139 |
| Haiku 4.5 | $0.00008 | $0.00069 |
Grade A, and why
scaffold 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 7d 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/scaffold
Lay down the skeleton of a feature in one pass so the implementer starts at the logic, not the boilerplate. Scaffold reads the project's existing conventions and mimics them — naming, layout, test runner, doc style.
When to use
After /spec and /architect, before the real implementation; when the
user says "scaffold " or "stub "; on /scaffold.
Commands
/scaffold <feature>— scaffold a named feature./scaffold <feature> --type <api|cli|ui|lib>— hint the shape./scaffold --dry-run— print the file list without writing.
Step 1 — Read the project's conventions
- Find a neighbor module of the same kind and copy its: file layout, naming (snake_case / camelCase), test runner + location, doc style, export style.
- Detect the language/framework from the manifest.
- If no clear neighbor, ask once which convention to follow.
Step 2 — Plan the file set
A feature skeleton usually includes (omit what doesn't apply):
- Module — the entry file (empty or with the type signature +
TODO). - Types — a types file if the language separates them.
- Tests stub — one passing trivial test + one
TODOtest, so the runner is wired. - Docs stub — a one-line module doc + a
TODOfor the real doc. - Registration — wire the new module into the index/router/CLI as the project expects.
Step 3 — Write + verify
- Write the files using the detected conventions.
- Run the test stub to confirm the runner sees it (one passing trivial test).
- Run the linter/typecheck if present.
Output
- The skeleton files, committed per
git-workflowasfeat(<feature>): scaffold skeleton. - A passing trivial test proving the runner is wired.
Constraints
- Mimic existing conventions; do not introduce a new pattern.
- Stubs only — no real logic. The implementer fills the
TODOs. - One passing trivial test, not a real test suite.
- Follow
rule/files-folders-structurefor paths.
Related artifacts
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.
- 7d ago First seen · 75 lines · 77 tokens per session scan A cc53780f4b7f
scaffold is a skill published in the GitHub repository mhmdreza-rafiei/agent-tools (5 stars, last pushed 23d ago), licensed MIT. It adds 77 tokens to every session and 694 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-09-03.
Other skills, from other repositories
ag-pipeline-issue
Pipeline Issue→SPEC→Build→Verify→Test. Toda GitHub Issue gera SPEC antes de implementar, e toda implementacao e verificada contra a SPEC e testada. Use when starting work on a GitHub Issue.
hardening-gate-fixtures
Build truthful hardening-gate fixture scenarios for blocked, approved-deferral, and ready contract coverage.
ds-build
Plan executor — take an issue, a specs/{feature}/tasks.md, or a plain request and implement it unit by unit with a verify signal per unit, red-proven tests, budgeted backtracking, and a code-proven close. Use when the plan exists and the work is to be done, not planned.
project-setup
Bootstrap new projects with strong typing, linting, formatting, and testing. Supports Python, TypeScript, and other languages with research fallback.
bmad-agent-dev
Senior software engineer for story execution and code implementation. Use when the user asks to talk to Amelia or requests the developer agent.
migrate-xunit-to-xunit-v3
Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…