# Scaffold init

> Scaffold init is an open-source agent skill for developer tools. Sets up a spec-driven AI workflow scaffold in a new or unscaffolded repository. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ramboz/jig/tree/main/hosts/claude/skills/scaffold-init
- **Repository:** https://github.com/ramboz/jig
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** scaffold-init
- **Collection:** https://github.com/ramboz/jig
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill bootstraps an AI-native development workspace by copying templates into a target directory: a CLAUDE.md with a hot cache section, a docs tree for architecture, workflow, conventions and specs, a hooks folder, a gitignore safety floor, and a manifest recording the install mode. A Python wizard (scaffold.py) runs the generation, and the agent asks a short set of questions about runtime, team setting, CI, tests and planned LLM work, skipping any the user cannot answer so the wizard can infer them from the filesystem.

By default the scaffold runs in plugin mode, keeping the repository lean and leaving jig's skills and hooks in the installed plugin. An optional in-repo mode copies the machinery into the project for CI or teammates without the plugin. The skill also includes a helper that installs Codex custom agents globally and refuses to overwrite user-owned files without a force flag.

It expects Python 3 and the jig plugin installed so the template paths resolve. It refuses to run in a directory that already has a scaffold manifest or looks spec-driven without one, and it does not edit generated files afterward.

## When your agent uses it

> Initialize an AI-native development workspace with spec-driven workflow infrastructure. Use when starting a new project, setting up Claude Code on a codebase for the first time, or when the user says scaffold, initialize, set up AI workflow, onboard this repo, or similar. Do not use for adding an individual skill or config to an already- scaffolded project — that is handled by the relevant tier skill directly.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/scaffold-init)
- [No network calls found in its scripts](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/scaffold-init)
- [License: MIT](https://github.com/ramboz/jig/tree/HEAD/hosts/claude/skills/scaffold-init)

## Features

- **Workspace template generation:** Copies CLAUDE.md, docs folders, hooks directory and gitignore templates into the target repository.
- **Guided setup questions:** Asks about runtime, team context, CI, tests and planned LLM work, each optional.
- **Plugin and in-repo modes:** Keeps machinery in the installed plugin by default or copies it into the repo on request.
- **Destructive command deny floor:** Seeds a project permissions file blocking force pushes, hard resets and recursive deletes where the host supports it.
- **Codex agent installer:** Provides a helper that installs jig role agents as TOML files into a Codex agents directory.
- **Migration safety checks:** Stops when a target looks spec-driven but lacks a manifest, pointing to the migrate command.

## Good for

- Set up an AI workflow in a brand new project
- Onboard an existing repository to Claude Code for the first time
- Scaffold spec and decision docs into a fresh codebase
- Install jig role agents for Codex globally

## Install

### Claude Code

This skill ships in the `jig` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ramboz/jig
/plugin install jig@jig
```

Or copy only this skill to `~/.claude/skills/scaffold-init`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/scaffold-init &&
cp -R "$tmp/hosts/claude/skills/scaffold-init" ~/.claude/skills/scaffold-init &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/scaffold-init` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/scaffold-init` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/scaffold-init &&
cp -R "$tmp/hosts/claude/skills/scaffold-init" ~/.agents/skills/scaffold-init &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/scaffold-init` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/scaffold-init` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/scaffold-init &&
cp -R "$tmp/hosts/claude/skills/scaffold-init" ~/.cursor/skills/scaffold-init &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/scaffold-init` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ramboz/jig.git --path hosts/claude/skills/scaffold-init
```

Or copy the folder to `~/.gemini/skills/scaffold-init` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/scaffold-init`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ramboz/jig.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/scaffold-init &&
cp -R "$tmp/hosts/claude/skills/scaffold-init" ~/.copilot/skills/scaffold-init &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/scaffold-init` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ramboz/jig.git
```

Then copy `jig/hosts/claude/skills/scaffold-init` into your agent's skills folder as `scaffold-init`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Scaffold init trigger?

When starting a new project, setting up Claude Code on a codebase for the first time, or when the user asks to scaffold, initialize, set up an AI workflow or onboard the repo.

### What does Scaffold init need to run?

It runs a Python script from the installed jig plugin, so Python 3 and the plugin must be available.

### Will Scaffold init overwrite my existing files?

It refuses to run in a directory already scaffolded with a manifest and does not overwrite an existing CLAUDE.md without confirmation.

### Are all questions required?

No. Each Q&A question can be skipped, and the wizard then infers answers from filesystem signals.

### How do I install Scaffold init in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/scaffold-init to use it in all your projects, or to .claude/skills/scaffold-init in one project. Or install the jig plugin, which includes it: /plugin marketplace add ramboz/jig, then /plugin install jig@jig.

### Does Scaffold init run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Scaffold init?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Scaffold init?

The closest alternatives to Scaffold init are Project scaffold, Agent hub init, Project bootstrap, Workshop create and Ghm self install.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Project scaffold](https://ai-powered.com/skills/project-scaffold): Project scaffold is an open-source agent skill for developer tools.
- [Agent hub init](https://ai-powered.com/skills/agent-hub-init): Agent hub init is an open-source agent skill for developer tools.
- [Project bootstrap](https://ai-powered.com/skills/project-bootstrap): Project bootstrap is an open-source agent skill for developer tools.
- [Workshop create](https://ai-powered.com/skills/workshop-create): Workshop create is an open-source agent skill for developer tools.
- [Ghm self install](https://ai-powered.com/skills/ghm-self-install): Ghm self install is an open-source agent skill for developer tools.
- [Migrate](https://ai-powered.com/skills/migrate): Migrate is an open-source agent skill for developer tools.
- [Setup repo skills](https://ai-powered.com/skills/setup-repo-skills): Setup repo skills is an open-source agent skill for developer tools.
- [Codebase onboarding](https://ai-powered.com/skills/codebase-onboarding): Codebase onboarding is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/scaffold-init
