scaffold

scaffold is a command for coding agents from HigorAlves/orc. It costs 40 tokens per session (696 once invoked), scanned A, original, MIT.

A starter command for creating the basic structure of a new library, service, application, or command-line tool. It sets up documentation, an initial test, and a first commit, but no business code.

In plain words
What is it for?
Use it when starting a package, service, app, or CLI in TypeScript, Go, Rust, or Python, with the location and license chosen during setup.
Why use it?
It removes the repetitive setup work and gives a new project a consistent starting structure before features are built.

Command

Part of the orc plugin — 80 skills, 30 commands, 14 agents, 5 hooks shipped together

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.

agentmods
npx agentmods add commands/higoralves/orc/scaffold
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc

Or install orc, the plugin that ships this one along with the rest of its 80 skills, 30 commands, 14 agents, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/higoralves/orc/scaffold.svg)](https://agentmods.dev/commands/higoralves/orc/scaffold)
Your own site
<a href="https://agentmods.dev/commands/higoralves/orc/scaffold"><img src="https://agentmods.dev/badge/commands/higoralves/orc/scaffold.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.00696
Opus 5 $0.00020 $0.00348
Sonnet 5 $0.00008 $0.00139
Haiku 4.5 $0.00004 $0.00070

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

Security

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 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.

orc/commands/scaffold.md · 77 lines

How it starts

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

/orc:scaffold

Stand up a new package/service shell with the structure that future-you will not regret. Strictly the skeleton — no business logic, no fake examples.

Arguments

  • <name> — package or service name (kebab-case).
  • --typelib (default), service, app, cli. Affects the initial directory layout.

Workflow

Phase 1 — Confirm intent

Print the Gate headline (**⛔ Gate — scaffold shape**, per orc:callouts), then AskUserQuestion:

  • Where does this live? (project root / packages/<name>/ / services/<name>/ / apps/<name>/)
  • Language? (TypeScript / Go / Rust / Python)
  • License? (MIT / Apache-2.0 / inherit from repo)

Phase 2 — Initialize

Create the directory. Run the appropriate init for the language (npm init -y, go mod init, cargo init, python -m venv + pyproject.toml).

Phase 3 — Author README

Invoke orc:readme-writing. The skill writes a README with the standard sections (What / Why / Install / Usage / Test / License). Adjust to type-specific bits (services include "Run", apps include "Dev server").

Phase 4 — Author docs

Invoke orc:documentation-writing. Set up the Diátaxis structure under docs/:

  • docs/tutorial/ — getting-started flows
  • docs/how-to/ — task recipes
  • docs/reference/ — API/CLI/config reference
  • docs/explanation/ — concepts, architecture

Create a stub docs/README.md linking the four quadrants.

Phase 5 — First failing test

Invoke orc:tdd. Write the simplest possible failing test for the package/service entry point. Run the suite — it must fail meaningfully.

Phase 6 — First commit

Invoke orc:git-commit. Conventional Commits format. Title: chore(scaffold): initialize <name> package or similar. Body lists what was scaffolded.

Output

  • New directory with proper layout for the chosen type
  • README.md, docs/ Diátaxis quadrants, license file
  • One failing test, one commit
  • Echo the path to the new package, then close with the handoff:
> **➡️ Next**
>
> Run `/orc:start` to begin real work in `<path>`.

Read the full file on GitHub · 77 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. 5d ago First seen · 77 lines · 40 tokens per session scan A ae9eac3c32b5

Subscribe to this mod's changes

scaffold is a command published in the GitHub repository HigorAlves/orc (6 stars, last pushed 8d ago), licensed MIT. It adds 40 tokens to every session and 696 once invoked, about $0.0002 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-31.