repo-scaffold

repo-scaffold is a skill for Claude Code from sailingnaturali/claude-skills. It costs 0 tokens per session (8,722 once invoked), scanned C, original, MIT.

A repository setup guide for creating or upgrading a code repository. It covers shared agent instructions, consistent line endings, code-quality checks, container vulnerability scans, publishing, and release notes.

In plain words
What is it for?
Adding repository guidance, formatting and lint checks, container security scans, automated publishing, and generated release notes.
Why use it?
It reduces repeated setup work and prevents common failures such as formatting problems on different operating systems. It also documents conventions so coding agents can follow the repository’s rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the repo-scaffold plugin — 1 skill shipped together

Good fit Adding repository guidance, formatting and lint checks, container security scans, automated publishing, and generated release notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sailingnaturali/claude-skills/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 sailingnaturali/claude-skills --skill repo-scaffold
Clone the repo
git clone --depth 1 https://github.com/sailingnaturali/claude-skills

Made for: Claude Code.

Or install repo-scaffold, the plugin that ships this one along with the rest of its 1 skill.

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/sailingnaturali/claude-skills/repo-scaffold/github.svg)](https://agentmods.dev/skills/sailingnaturali/claude-skills/repo-scaffold)
Your own site
<a href="https://agentmods.dev/skills/sailingnaturali/claude-skills/repo-scaffold"><img src="https://agentmods.dev/badge/skills/sailingnaturali/claude-skills/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/sailingnaturali/claude-skills/repo-scaffold"><img src="https://agentmods.dev/badge/skills/sailingnaturali/claude-skills/repo-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,722 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.00000 $0.08722
Opus 5.5 $0.00000 $0.03489
Sonnet 5.5 $0.00000 $0.01744
Haiku 4.5 $0.00000 $0.00872

Measured 23d ago against content hash e09f7211c223, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

repo-scaffold 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 23d 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.

Recursive force deletehighDestructive command

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

&& rm -rf /var/lib/apt/lists/*
repo-scaffold/skills/repo-scaffold/SKILL.md · 550 lines

How it starts

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

Repo scaffolding that pays rent

Seven pieces of scaffolding, each of which has already paid for itself in a maintained repo. Copy the shapes; the rationale is what keeps them from being cargo cult.

1. Agent context: AGENTS.md, imported by CLAUDE.md

Repo conventions (architecture, invariants, workflow rules) live in AGENTS.md — the vendor-neutral file that multiple coding agents read. CLAUDE.md then contains exactly one line:

@AGENTS.md

The @ import syntax matters: it inlines the whole file into the agent's context at session start. A plain markdown link (See [AGENTS.md](AGENTS.md).) is not followed automatically — observed side by side in two live repos: the @-import version loaded the full conventions, the link version loaded only the one-line stub. If your conventions aren't reaching the agent, check which form the repo uses.

Give it a code style rule that keeps agents from padding the code, because by default an agent tends to add a docstring to every function and a comment to every block:

## Code style

- **Code explains itself.** Names and small functions carry the meaning;
  a comment says why, never what, and only where the code cannot. No
  docstrings for their own sake, no long or echo comments.

2. .gitattributes: one line ends a whole failure class

* text=auto eol=lf

Prettier and eslint enforce LF. Without this line, Windows CI runners (and contributors with core.autocrlf) check out CRLF and prettier --check fails on every line with Delete `␍` — a wall of red unrelated to the change. Related Windows-runner trap: npm script globs must be double-quoted ("dist/test/*.test.js") or Windows expands them.

3. Format locally, verify in CI

Two package.json scripts, one writing, one read-only:

  • format — prettier --write . && eslint --fix (the developer's command)
  • ci-lint — eslint && prettier --check . (what CI runs — read-only, so uncommitted format drift fails the build instead of being silently "fixed")

Read the full file on GitHub · 550 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. 23d ago Changed · +40 lines e09f7211c223
  2. 1mo ago Changed · +49 lines ccd366823c74
  3. 1mo ago Changed · +87 lines · -175 tokens per session scan A → C b2026aed867d
  4. 1mo ago Changed · +185 lines c2231f38be48
  5. 2mo ago First seen · 189 lines · 175 tokens per session scan A f12422b91316

Subscribe to this mod's changes

repo-scaffold is a skill published in the GitHub repository sailingnaturali/claude-skills (3 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,722 tokens. 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-09-07.

Related

repo-scaffold compared with skills from other repositories

repo-scaffold next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-scaffoldsailingnaturali/claude-skillsSkill34d agoMITC0Claude Code
github-release-managementruvnet/RuViewSkill106ktodayMITA27Claude Code
agent-github-modesruvnet/rufloSkill83ktodayMITA21Claude Code
xberg-releasexberg-io/xbergSkill9.6ktodayMITA16Claude Code, Codex
releaseprcompozy/compozySkill2.9ktodayMITA53Claude Code, Codex
gitlab-devopsautomateyournetwork/netclawSkill740todayApache-2.0A67Claude Code, Codex
seed-snapshot-releasedaangn/seed-designSkill1.2ktodayApache-2.0A19Claude Code, Codex