repo-init

repo-init is a skill for Claude Code from urmzd/dotfiles. It costs 107 tokens per session (752 once invoked), scanned A, original, Apache-2.0.

A project-starting workflow that creates and prepares a new GitHub repository, a hosted home for code and collaboration.

In plain words
What is it for?
Use it when starting a project from zero and needing a pushed repository with CI, release configuration, language setup, a README, and contribution or security templates.
Why use it?
It gathers the initial repository, license, development setup, automation, documentation, and community files into one bootstrap process.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when starting a project from zero and needing a pushed repository with CI, release configuration, language setup, a README, and contribution or security templates.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/repo-init"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/repo-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 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.
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.00107 $0.00752
Opus 5.5 $0.00043 $0.00301
Sonnet 5.5 $0.00021 $0.00150
Haiku 4.5 $0.00011 $0.00075

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

Security

Grade A, and why

repo-init 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 1mo 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.

dot_agents/skills/repo-init/SKILL.md · 63 lines

What it actually says

Repo Init

Bootstrap a complete repository from zero to pushed.

Steps

  1. Create GitHub repo: gh repo create <name> --<visibility> --description "<description>" --clone (default public).

  2. Add LICENSE: Create an Apache-2.0 LICENSE file in the repo root.

  3. Scaffold: If a language is specified, invoke scaffold-project (which dispatches to scaffold-<lang>) to produce:

    • CI workflow (.github/workflows/ci.yml) and release workflow (.github/workflows/release.yml); see setup-ci.
    • sr.yaml for semantic release; see sync-release.
    • Task runner native to the language (npm scripts, Makefile, cargo, justfile for Python).
    • .envrc via the setup-devenv direnv pattern (vanilla direnv + per-language version manager, not a Nix dev shell).
    • Language-specific config (Cargo.toml, go.mod, pyproject.toml, package.json, etc.).
  4. Community health: Invoke community-health to add CODE_OF_CONDUCT.md, SECURITY.md, .github/pull_request_template.md, and .github/ISSUE_TEMPLATE/ (bug report, feature request, config). Substitute {OWNER}, {REPO}, {CURRENT_MAJOR}, and {CHECK_COMMAND} placeholders. For a brand-new pre-1.0 project, set {CURRENT_MAJOR} to 0 and rewrite the SECURITY.md supported-versions table to 0.x Yes / < 0.x No.

  5. README: Generate a README with the repo name, description, and standard badge layout.

  6. Set metadata: gh repo edit --add-topic <topics> --description "<description>" with relevant topics for the language/type.

  7. Initial commit and push:

    • git add -A (safe here since it's a brand new repo)
    • git commit -m "chore: initial project scaffold"
    • git push -u origin main
  8. Report: Show the repo URL.

Rules

  • Default to Apache-2.0 license.
  • Default to public visibility.
  • If no language is specified, create a minimal repo with just LICENSE, README, and .gitignore.
  • Use conventional commits for the initial commit.
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 First seen · 63 lines · 107 tokens per session scan A f38dc1185d37

Subscribe to this mod's changes

repo-init is a skill published in the GitHub repository urmzd/dotfiles (5 stars, last pushed today), licensed Apache-2.0. It adds 107 tokens to every session and 752 once invoked, about $0.0004 per session on Opus 5.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.