repo-scaffold

repo-scaffold is a skill for Codex from majiayu000/spellbook. It costs 81 tokens per session (613 once invoked), scanned A, original, MIT.

A repository starter and standards guide for turning a new or unfinished code project into an organized, maintainable codebase.

In plain words
What is it for?
It helps create or standardize source folders, tests, CI workflows, agent instructions, product and technical specs, release notes, and runbooks.
Why use it?
It prevents important foundations—such as tests, continuous integration (automatic checks), configuration examples, specifications, and operating notes—from being missed.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit It helps create or standardize source folders, tests, CI workflows, agent instructions, product and technical specs, release notes, and runbooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/spellbook/repo-scaffold
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.

Any agent
npx skills add majiayu000/spellbook --skill repo-scaffold
Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Codex.

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 repo-scaffold

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

agentmods 80×15 button for repo-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/spellbook/repo-scaffold"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/repo-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00081 $0.00613
Opus 5 $0.00041 $0.00307
Sonnet 5 $0.00016 $0.00123
Haiku 4.5 $0.00008 $0.00061

Measured 8d ago against content hash d71a5af3f474, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

repo-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 8d 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.

skills/repo-scaffold/SKILL.md · 58 lines

How it starts

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

Repo Scaffold

Purpose

Use this skill to create the repo foundation that lets product, architecture, implementation, verification, and operations stay connected. It is broader than agentsmd-scaffold; it may include AGENTS.md, but also specs, tests, CI, config, release, and runbook structure.

Search First

Before adding files, inspect the repo for existing equivalents:

rg --files -g 'AGENTS.md' -g 'CONTRIBUTING.md' -g 'README*' -g 'pyproject.toml' -g 'package.json' -g 'go.mod' -g 'Cargo.toml' -g '.github/workflows/*' -g 'docs/**' -g 'specs/**' -g 'tests/**'

Reuse existing conventions. Do not create parallel docs/, spec/, planning/, or test/ trees when the repo already has a standard location.

Scaffold Layers

Add only the layers needed for the repo:

Layer Typical Files
Product and specs specs/PRODUCT.md, specs/TECH.md, docs/adr/
Agent context AGENTS.md, scoped AGENTS.md, local skill notes
Source layout language-specific src/, pkg/, cmd/, app/, lib/
Tests tests/, fixtures, golden snapshots, e2e harness
CI .github/workflows/ci.yml, lint/typecheck/test jobs
Config .env.example, config schema, secret inventory
Release CHANGELOG.md, release checklist, versioning notes
Operations docs/runbooks/, SLO and incident templates

Decision Rules

  • For a new repo, propose the tree first, then create files only after the user asks to apply.
  • For an existing repo, make the smallest additive change that closes the foundation gap.
  • Keep generated starter files short and executable. Prefer empty placeholders only when a tool requires them.
  • Do not hardcode credentials, service names, ports, or cloud providers without repo evidence.
  • Do not overwrite existing README, CI, or config files without showing the diff intent.

Minimal Output

For planning:

existing_foundation:
missing_layers:
proposed_tree:
files_to_create_or_update:
verification_commands:

Read the full file on GitHub · 58 lines

Files

What ships with it

1 file 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. 8d ago First seen · 58 lines · 81 tokens per session scan A d71a5af3f474

Subscribe to this mod's changes

repo-scaffold is a skill published in the GitHub repository majiayu000/spellbook (278 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 613 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.

Related

Other skills, from other repositories

pneuma-session

Instructions for renaming an active Pneuma session and replacing its default preview with a useful title and summary. A Pneuma session is one work area inside a larger project.

pandazki/pneuma-skills · 127 tokens

proactive-background-watcher

Grants the AI the ability to act proactively using native cron/timer scheduling. The agent can monitor systems, poll APIs, or watch logs in the background and self-trigger without waiting for user prompts.

roedyrustam/vibes-plug · 46 tokens

ci-score

Grades a repository's GitHub Actions configuration against CI best practices (the CI Score: eleven pass/fail configuration facts computed from the repo's own workflow YAML) and hands back concrete fixes for every gap, ranked by impact and risk, each with an apply-now option and a paste-able agent prompt. Use when: (1)…

starslingdev/skills · 209 tokens

session-handoff

Use when the user wants to hand off, transfer, pause, or continue the current session in a new session or with another agent — asks for a "session handoff", a "prompt para a próxima sessão", to "continuar de onde paramos", or invokes /session-handoff; also when context is running low and in-flight work must survive a…

will-pagane/claude-superdev-harness · 91 tokens

GitHub Actions CI Patterns

Use this skill when adding or debugging GitHub Actions workflows and you want repeatable CI behavior, minimal permissions, and clear failure logs.

AmariahAK/atlarix-skills · 5 tokens

aenv

Use when the user wants to set up, switch between, or manage aenv namespaces — named bundles of CLAUDE.md, skills, MCP entries, and other AI-coding-harness config — in a project OR globally across $HOME. Triggers include aenv … mentioned directly, "switch namespace/profile", "activate/deactivate", "create/snapshot a…

Blevene/aenv · 176 tokens