Agent skill

Repo Prep

by glebis in glebis/claude-skills

Interactively prepare a code repository for publication — LICENSE, NOTICE, AUTHORSHIP, README sections, package metadata, .gitignore, community docs (CONTRIBUTING/CODEOFCONDUCT/SECURITY/CHANGELOG)…

MITAuto-check passedLegal & Compliance

Install Repo Prep

skills CLI
$ npx skills add glebis/claude-skills --skill repo-prep -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install glebis/claude-skills repo-prep --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/glebis/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/repo-prep .claude/skills/repo-prep && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
repo-prep
GitHub stars
391
Token cost
~1.6k tokens
SKILL.md length
660 words
Files
23 (incl. scripts, references, assets)
Skills in repo
92
Repo updated
First seen
Licence
MIT

At a glance

Interactively prepare a code repository for publication — LICENSE, NOTICE, AUTHORSHIP, README sections, package metadata, .gitignore, community docs (CONTRIBUTING/CODEOFCONDUCT/SECURITY/CHANGELOG)…

  • Works in 3 steps: Detect cenno once per run: ToolSearch for → When using cenno → If cenno is wanted but not installed,…
  • Setting up a new repo for release
  • SKILL.md covers When to use, Operating principles, Asking questions (interview… and Central author profile (single…, plus 4 more sections
  • Calls git

What it does

Repo Prep is an agent skill from glebis/claude-skills. Interactively prepare a code repository for publication — LICENSE, NOTICE, AUTHORSHIP, README sections, package metadata, .gitignore, community docs (CONTRIBUTING/CODEOFCONDUCT/SECURITY/CHANGELOG), .github templates (issues/PR/CI/dependabot), a promo "more from the author" block, and conditional EU/Germany legal compliance (CRA, AI Act, GDPR, Impressum, product liability). Includes a dedicated authorship wizard that documents human decisions, judgment, direction, and art direction with jurisdiction-aware legal…

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 28 other files, including scripts, reference files and assets (for example `assets/github/ISSUE_TEMPLATE/bug_report.md`, `assets/github/ISSUE_TEMPLATE/feature_request.md` and `assets/github/dependabot.yml`).

It sits in Legal & Compliance, covering Dependency management, Privacy and GDPR and Policy and terms drafting. It works with GitHub and Model Context Protocol. The repository describes itself as: Collection of Claude Code skills for enhanced AI workflows. The licence is MIT.

When your agent uses it

  • Setting up a new repo for release
  • Adding missing legal/meta/community files
  • Writing an AUTHORSHIP record for AI-assisted work
  • Asking prepare this repo for GitHub / open-sourcing

Example prompts

  • “more from the author”
  • “prepare this repo for GitHub / open-sourcing”
  • “/repo-prep”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Detect cenno once per run: ToolSearch for
  2. When using cenno
  3. If cenno is wanted but not installed, mention it can be set up via the

What it can do on your machine

Read from SKILL.md and the folder at commit 3b88261. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repo Prep loads about 1.6k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 183 tokens; SKILL.md has 660 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~183
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from glebis/claude-skills at commit 3b88261, republished under its MIT licence (© glebis). 660 words, ~1,574 tokens.

Download SKILL.mdSave it as .claude/skills/repo-prep/SKILL.md (or your agent's skills folder). This skill also uses 22 other files; get the full folder from GitHub.
name
repo-prep
description
Interactively prepare a code repository for publication — LICENSE, NOTICE, AUTHORSHIP, README sections, package metadata, .gitignore, community docs (CONTRIBUTING/CODE_OF_CONDUCT/SECURITY/CHANGELOG), .github templates (issues/PR/CI/dependabot), a promo "more from the author" block, and conditional EU/Germany legal compliance (CRA, AI Act, GDPR, Impressum, product liability). Includes a dedicated authorship wizard that documents human decisions, judgment, direction, and art direction with jurisdiction-aware legal framing. Use when setting up a new repo for release, adding missing legal/meta/community files, writing an AUTHORSHIP record for AI-assisted work, or asking "prepare this repo for GitHub / open-sourcing".

Repo Prep

Interactively scaffold the legal, metadata, community, and compliance files a repository needs before publication — consistently, from a central author profile, with author choices respected per repo.

When to use

  • Preparing a new or existing repo for GitHub / open-sourcing.
  • Adding missing LICENSE, NOTICE, AUTHORSHIP, README sections, or package metadata.
  • Writing a defensible AUTHORSHIP record for AI-assisted work (the wizard).
  • Adding community docs or .github/ templates.
  • Checking EU/Germany compliance obligations for a repo.

Operating principles

  • Interactive, not assumed. Ask the user for choices (see Asking questions below); respect the author profile's defaults but confirm per repo. Don't blindly dump templates.
  • Idempotent. Detect what already exists; skip or refresh, never clobber silently. Show a plan before writing.
  • Evidence over assertion (especially authorship): mine the repo for facts.
  • Confirm outward-facing actions (anything via gh, pushes) before running.
  • Follow the user's git conventions — commit only when asked.

Asking questions (interview transport)

Prefer cenno when it is installed — it gives a nicer panel, progress dots, and voice input (great for the reflective authorship answers).

  1. Detect cenno once per run: ToolSearch for mcp__cenno__ask_sequence. If the tools resolve, use cenno; otherwise fall back to AskUserQuestion (choices) / plain conversational prompts (free text).
  2. When using cenno:
    • Multi-question flows (the authorship wizard, scope selection) → mcp__cenno__ask_sequence with flow: "question"; it auto-fills progress dots.
    • Single questions → mcp__cenno__ask_user.
    • Use input.kind: "choice" + choices for pick-one; "confirm" for yes/no; "voice_text" for reflective free-text (Decisions, Judgment, Direction, Art Direction); "scale" for ratings.
    • Parse the returned JSON ({answers: [...]} / {answer, ...}). Handle {answered: false} (timeout) by retrying or falling back.
  3. If cenno is wanted but not installed, mention it can be set up via the cenno skill; do not block — fall back gracefully.

Central author profile (single source of truth)

Identity, promo links ("ads"), and defaults live in ~/.config/personal-os/repo-prep/profile.toml (override with REPO_PREP_PROFILE).

  1. On first run, if it doesn't exist, copy assets/templates/profile.example.toml there and walk the user through filling it (name, email, github, url, promo projects, defaults). It is pre-seeded for this author.
  2. Read it at the start of every run to resolve {{author}}, {{email}}, {{github}}, the promo block, and default choices.
Show full SKILL.md (312 more words)Show less

Workflow

  1. Detect — inspect the repo: manifest/ecosystem (pyproject.toml, package.json, Cargo.toml, go.mod), existing files, git remote, default branch, whether it's already on GitHub. Read the author profile.
  2. Scope — confirm which components to do via AskUserQuestion (core / community / .github / promo / compliance / gh remote). Pre-fill from profile defaults.
  3. Resolve placeholders — once, per references/checklist.md.
  4. Generate — for each chosen component, create files from assets/templates/ and assets/github/, filling placeholders. Use scripts/fetch_license.py for LICENSE. Edit package metadata inline.
  5. Authorship — if doing AUTHORSHIP.md, run the wizard (below), don't just fill the template.
  6. Compliance — if requested or the author is EU-based, run the gating questions in references/eu-germany-compliance.md and add only what applies.
  7. gh remote (optional) — confirm, then create/configure the repo.
  8. Verify — run the test suite (metadata edits can break builds); show the diff; commit only if asked.

Full item-by-item detail, placeholder table, and ecosystem detection: references/checklist.md (read it before generating).

The authorship wizard

A first-class feature. To produce a defensible AUTHORSHIP.md for AI-assisted work, read and follow references/authorship-wizard.md. It:

  • gathers external evidence first (ADRs, git log, changelog, AI session logs, CLAUDE.md/AGENTS.md, design tokens) and offers a draft to edit;
  • asks the jurisdiction first, then interviews across five sections — Decisions, Exercise of Judgment, Goal Setting & Direction, Art Direction, AI Implementation;
  • writes a Legal & Copyright section with jurisdiction-aware framing (US human-authorship bar, EU/Germany "own intellectual creation", UK CGW);
  • always states it is not legal advice.

Output template: assets/templates/AUTHORSHIP.md.

EU / Germany compliance

references/eu-germany-compliance.md covers CRA (SBOM, vuln reporting), AI Act Art. 50 transparency, German Impressum (DDG), GDPR, the Product Liability Directive, and the EAA. Obligations are conditional — ask the gating questions and add only what applies. Not legal advice.

Resources

  • assets/licenses/ — bundled MIT, BSD-3-Clause (offline); others fetched.
  • assets/templates/ — AUTHORSHIP, CODE_OF_CONDUCT, CONTRIBUTING, SECURITY, NOTICE, CHANGELOG, profile.example.toml.
  • assets/github/ — PR + issue templates, dependabot, CI workflows (python/node).
  • scripts/fetch_license.py — write a filled LICENSE for any SPDX id.
  • references/ — checklist.md, licenses.md, authorship-wizard.md, eu-germany-compliance.md.

© glebis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 22 other files (scripts, references, assets) in repo-prep of glebis/claude-skills.

  • SKILL.md
  • assets/github/ISSUE_TEMPLATE/bug_report.md
  • assets/github/ISSUE_TEMPLATE/feature_request.md
  • assets/github/dependabot.yml
  • assets/github/pull_request_template.md
  • assets/github/workflows/ci-node.yml
  • assets/github/workflows/ci-python.yml
  • assets/licenses/BSD-3-Clause.txt
  • assets/licenses/MIT.txt
  • assets/templates/AUTHORSHIP.md
  • assets/templates/CHANGELOG.md
  • assets/templates/CODE_OF_CONDUCT.md
  • assets/templates/CONTRIBUTING.md
  • assets/templates/NOTICE.txt
  • assets/templates/SECURITY.md
  • … and 8 more

Open the folder on GitHubat commit 3b88261

Compare with similar skills

Repo Prep next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Repo Prep compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo Prep this skillglebis/claude-skills391—~1.6kAutomated safety check: PassMIT
Pii Contract Analyzegregmos/PII-Shield150—~8.9kAutomated safety check: NotesMIT
Plane Release Notes Generatormakeplane/plane61k—~2.5kAutomated safety check: PassAGPL-3.0
Release Prepjohnhuang316/code-index-mcp1k—~680Automated safety check: PassMIT
Store Submitzhitongblog/solomd1.2k—~1.7kAutomated safety check: NotesMIT
Releaseyoanbernabeu/grepai1.9k—~918Automated safety check: PassMIT

Similar skills

  • Pii Contract Analyze

    gregmos/PII-Shield

    Universal legal document processor with PII anonymization. An agent skill from gregmos/PII-Shield.

    150 GitHub stars~8.9k tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check: notes
  • Builds categorized release notes for a Plane release pull request from its commits and writes them into the PR description, for both the plane-cloud and plane-ee repos.

    61k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release Prep

    johnhuang316/code-index-mcp

    A skill your agent uses when code-index-mcp implementation is complete and a version bump, release notes, tag, package publication, or GitHub release is being prepared.

    1k GitHub stars~680 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Store Submit

    zhitongblog/solomd

    Publish a SoloMD release to the stores that have no usable submission API — Google Play Console and Microsoft Partner Center — by driving them through the local Unzoo Browser REST API.

    1.2k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check: notes
  • Release

    yoanbernabeu/grepai

    Create a new release for grepai. An agent skill from yoanbernabeu/grepai.

    1.9k GitHub stars~918 tokensUpdated 19 days ago
    DevelopmentAuto-check passed
  • Git Release

    wesammustafa/opencode-primer

    Draft release notes from merged PRs, propose a semver bump, and emit a copy-pasteable gh release create command.

    399 GitHub stars~409 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed

More from glebis/claude-skills

All 92 skills in this repo
  • Runs a human-first workflow for labeling PII spans in a transcript, then scores inter-annotator agreement and drafts an adjudicated gold set.

    391 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Automates a dedicated, logged-in Chrome instance per profile without ever closing the user's own open tabs or browser windows.

    391 GitHub stars~973 tokensUpdated 2 days ago
    Auto-check passed
  • Deep Research

    glebis/claude-skills

    This skill should be used when conducting comprehensive research on any topic using the OpenAI Deep Research API.

    391 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check: notes
  • Elimination Research

    glebis/claude-skills

    This skill should be used for elimination-style research where the user wants to choose from a shortlist of products, tools, services, vendors, or other options using explicit criteria, numeric…

    391 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Narrated HTML Presentations

    glebis/claude-skills

    Generates a self-contained HTML presentation with article and slides modes, ElevenLabs voiceover narration and optional GPT Image 2 illustrations.

    391 GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check: notes
  • Writes fictional but realistic coaching or therapy session transcripts for evals, demos and few-shot examples, in several modalities and export formats.

    391 GitHub stars~2.9k tokensUpdated 2 days ago
    Auto-check passed

Questions about Repo Prep

What does Repo Prep do?

Interactively prepare a code repository for publication — LICENSE, NOTICE, AUTHORSHIP, README sections, package metadata, .gitignore, community docs (CONTRIBUTING/CODEOFCONDUCT/SECURITY/CHANGELOG)…. Repo Prep is an agent skill from glebis/claude-skills.github templates (issues/PR/CI/dependabot), a promo "more from the author" block, and conditional EU/Germany legal compliance (CRA, AI Act, GDPR, Impressum, product liability).

When should I use Repo Prep?

Repo Prep fits situations like: setting up a new repo for release; adding missing legal/meta/community files; writing an AUTHORSHIP record for AI-assisted work; asking prepare this repo for GitHub / open-sourcing.

How do I install Repo Prep in Claude Code?

Run `npx skills add glebis/claude-skills --skill repo-prep -a claude-code`. Or copy the skill folder (repo-prep in glebis/claude-skills) into .claude/skills/repo-prep in your project. Claude Code loads it when a task matches its description.

How do I install Repo Prep in Codex?

Run `npx skills add glebis/claude-skills --skill repo-prep -a codex`. Or copy the skill folder (repo-prep in glebis/claude-skills) into .agents/skills/repo-prep in your project. Codex loads it when a task matches its description.

Can I use Repo Prep in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add glebis/claude-skills --skill repo-prep -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-prep, .gemini/skills/repo-prep, .github/skills/repo-prep and .opencode/skills/repo-prep in your project.

What does Repo Prep need to run?

Going by SKILL.md and its folder, Repo Prep needs the command-line tools its instructions call (git).

Does Repo Prep access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Repo Prep safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Repo Prep use?

Repo Prep is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo Prep use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Repo Prep?

Skills that share tags, products or a category with Repo Prep: Pii Contract Analyze (gregmos/PII-Shield, 150 stars), Plane Release Notes Generator (makeplane/plane, 61k stars), Release Prep (johnhuang316/code-index-mcp, 1k stars) and Store Submit (zhitongblog/solomd, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo Prep?

glebis (a GitHub user) maintains it in glebis/claude-skills, which has 391 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 8, 2026.

Source: glebis/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.