scaffold-init

scaffold-init is a skill for Claude Code from ramboz/jig. It costs 85 tokens per session (2,204 once invoked), scanned C, original, MIT.

A project setup tool that creates a ready-to-use workspace for developing with AI coding agents. It reads the project files, detects signs such as tests or existing agent setup, and chooses which setup pieces to add.

In plain words
What is it for?
Use it when starting a project, onboarding an existing codebase, or setting up Claude Code for the first time.
Why use it?
Starting an AI-assisted project can require many configuration files and decisions. This gives the project a consistent starting structure without overwriting one that is already set up.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the jig plugin — 20 skills shipped together

Good fit Use it when starting a project, onboarding an existing codebase, or setting up Claude Code for the first time.

Compare 6 skills from other repositories ↓
View source ↗ ramboz/jig
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ramboz/jig
Claude Code
/plugin install jig

Made for: Claude Code.

Or install jig, the plugin that ships this one along with the rest of its 20 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ramboz/jig/scaffold-init"><img src="https://agentmods.dev/badge/skills/ramboz/jig/scaffold-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00085 $0.02204
Opus 5.5 $0.00034 $0.00882
Sonnet 5.5 $0.00017 $0.00441
Haiku 4.5 $0.00009 $0.00220

Measured 1mo ago against content hash 5ec3090fcf6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

scaffold-init scanned grade C with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (copilot_hook_adapter.py, copilot_permissions_floor.py, governance.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`git reset --hard`, `rm -rf`). Hosts with no project-scoped permission surface
hosts/claude/skills/scaffold-init/SKILL.md · 166 lines

How it starts

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

Spec 001 is fully implemented: greenfield-scaffold, doc-content, signal-detection, deferred-decisions, and Q&A wizard. See docs/specs/001-scaffold-init/spec.md.

What this skill does

Generates an AI-native development workspace by copying templates from ${CLAUDE_PLUGIN_ROOT}/templates/ into a target directory. Detects project signals from the filesystem (LLM/agent files, CI, tests, team), runs an optional Q&A flow to let the user override those signals, and selects tiers accordingly. Tier 0 always installs; Tier 1 installs when test signals are present; Tier 2 is offered (not auto-installed) when LLM/agent signals are present.

How to use

  1. Determine the target directory. Default: the current working directory. If you're unsure, ask the user once before scaffolding.
  2. Check if the target already has a scaffold.json or docs/specs/ — if so, the project is already scaffolded. Stop and tell the user rather than overwriting.
  3. Run the Q&A flow (see next section). Collect answers as flag values.
  4. Invoke the wizard with the collected flags:
    python3 "${CLAUDE_PLUGIN_ROOT}/skills/scaffold-init/scaffold.py" \
      [--runtime <name>] [--team|--solo] [--has-ci|--no-ci] \
      [--has-tests|--no-tests] [--plans-ai|--no-ai] \
      [--in-repo] \
      <target-dir>
    
    With no machinery flag the wizard scaffolds plugin mode — the lean default (docs + primer only; jig runs from the installed plugin). Pass --in-repo only when the sixth question is answered "yes".
  5. Read the wizard's stdout summary and report back to the user. List the files that were created and the immediate next steps.

Codex custom-agent install

Codex scaffold mode (--host codex) writes project-local custom agents as TOML under .codex/agents/. For Codex plugin users who want jig's role agents globally available, run the explicit post-install helper:

python3 "${CLAUDE_PLUGIN_ROOT}/skills/scaffold-init/scaffold.py" --install-codex-agents

Read the full file on GitHub · 166 lines

Files

What ships with it

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

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. 1mo ago Changed · +1 lines 5ec3090fcf6e
  2. 3mo ago First seen · 165 lines · 85 tokens per session scan C a8a6ea18d72a

Subscribe to this mod's changes

scaffold-init is a skill published in the GitHub repository ramboz/jig (6 stars, last pushed 6d ago), licensed MIT. It adds 85 tokens to every session and 2,204 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

scaffold-init compared with skills from other repositories

scaffold-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-initramboz/jigSkill66d agoMITC85Claude Code
onboardingknitli/toolshedSkill13d agoMITA0Claude Code
setupknitli/toolshedSkill13d agoMITA0Claude Code
.codexknitli/toolshedSkill13d agoMITA0Claude Code, Codex
gh-stackknitli/toolshedSkill13d agoMITA65Claude Code, Codex
browser-agentdatit309/supergraphSkill236d agoMITA50Claude Code
executedatit309/supergraphSkill236d agoMITA26Claude Code