github-repo-setup

github-repo-setup is a skill for Claude Code, Codex from FilipNowakowicz/nixos-config. It costs 76 tokens per session (1,577 once invoked), scanned A, original, MIT.

A workflow for setting up or reviewing a GitHub repository, the online home for a Git project. It can initialize Git locally, connect the project to GitHub, add basic documentation and metadata, and apply repository settings.

In plain words
What is it for?
It is for first pushes, README creation, repository descriptions and topics, branch protection, and hiding unused GitHub tabs.
Why use it?
It removes repetitive setup work for a solo or portfolio project while asking before overwriting existing project conventions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit It is for first pushes, README creation, repository descriptions and topics, branch protection, and hiding unused GitHub tabs.

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

Made for: Claude Code, 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 github-repo-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/filipnowakowicz/nixos-config/github-repo-setup"><img src="https://agentmods.dev/badge/skills/filipnowakowicz/nixos-config/github-repo-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,577 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.00076 $0.01577
Opus 5.5 $0.00030 $0.00631
Sonnet 5.5 $0.00015 $0.00315
Haiku 4.5 $0.00008 $0.00158

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

Security

Grade A, and why

github-repo-setup 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 12d 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.

home/files/agents/skills/github-repo-setup/SKILL.md · 145 lines

How it starts

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

GitHub Repo Setup

Bring a local project to a fully-configured GitHub repo in one pass: get it onto GitHub if it isn't there yet, then apply the description/topics/tabs/ branch-protection baseline this user wants on every solo repo. Designed for early-stage personal/portfolio projects, not for team repos that may already have their own conventions — if the repo already has non-default settings (existing branch protection, a CONTRIBUTING.md with a different workflow, etc.), ask before overwriting them rather than assuming this baseline applies.

Workflow

1. Establish local git state

  • git status (this also confirms whether the directory is a git repo). If it isn't, git init.
  • git remote -v. If there's no origin:
    • If the user gave a GitHub URL, git remote add origin <url>.
    • If not, ask whether to create a new repo (gh repo create <name> --private|--public --source=. --remote=origin) or whether one already exists remotely to link to — don't guess a repo name or visibility.

2. Make sure there's something to commit

  • If there's no README, write a short one from what's actually in the repo (existing docs, CLAUDE.md, pyproject/package metadata, code structure) — what the project is, its current status, how to use it if that's already true. Don't invent features or an install story that doesn't exist yet; say "early development" plainly if that's the state.
  • Before staging, review git status output (and read any file that looks like it might hold secrets — .env, credentials, keys) rather than blindly git add -A.

3. First commit and push

  • Stage explicitly, write a plain commit message (no Claude/Anthropic mention, no co-author trailer — this user's global CLAUDE.md rule applies here same as everywhere else), then git push -u origin <default-branch>.

4. Description and topics

  • gh repo edit --description "..." — one line, what it does.
  • gh repo edit --add-topic ... — infer 5-8 relevant topics from the project's domain/stack; apply them without asking unless genuinely unclear, but list them in the final report so the user can amend.
  • Visibility: ask if it isn't already obvious from context which one the user wants (default suggestion for a brand-new repo with little content yet: private until there's something worth showing, public once it is). Don't flip an existing repo's visibility without asking — it has real consequences (stars/watchers, detached forks, Actions log visibility — gh repo edit --visibility surfaces the same warning).

Read the full file on GitHub · 145 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. 12d ago First seen · 145 lines · 76 tokens per session scan A 37edf7e62001

Subscribe to this mod's changes

github-repo-setup is a skill published in the GitHub repository FilipNowakowicz/nixos-config (6 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,577 once invoked, about $0.0003 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-11-19.

Related

github-repo-setup compared with skills from other repositories

github-repo-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-repo-setupFilipNowakowicz/nixos-configSkill6todayMITA76Claude Code, Codex
nixkits-package-upstreamKihara777/NixKitsSkill305d agoMITA136Claude Code, Codex
jjadampoit/aiSkill29d agoMITA55Claude Code, Codex
ghadampoit/aiSkill29d agoMITA51Claude Code, Codex
gh-clialyraffauf/hoennSkill2352mo agoGPL-3.0A52Claude Code, Codex
github-issuesoftinio/nix-configSkill112mo agoMITC72Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k2d agoMITA46Claude Code