github-repo

github-repo is a skill for Claude Code from jpd44/mesh44-plugins. It costs 24 tokens per session (489 once invoked), scanned A, original, MIT.

A procedure for creating a private repository on GitHub, a service for hosting Git code. It also pushes the first commit and sets the default branch.

In plain words
What is it for?
Checking whether a repository already exists, creating one under the configured organization, committing project files, pushing them, and setting its default branch.
Why use it?
It removes repetitive setup work when a new project needs a private GitHub repository.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the app-kit plugin — 6 skills shipped together

Good fit Checking whether a repository already exists, creating one under the configured organization, committing project files, pushing them, and setting its default branch.

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

Made for: Claude Code.

Or install app-kit, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpd44/mesh44-plugins/github-repo"><img src="https://agentmods.dev/badge/skills/jpd44/mesh44-plugins/github-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 489 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.00024 $0.00489
Opus 5.5 $0.00010 $0.00196
Sonnet 5.5 $0.00005 $0.00098
Haiku 4.5 $0.00002 $0.00049

Measured 1mo ago against content hash 48e703753dce, 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 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.

app-kit/skills/github-repo/SKILL.md · 56 lines

What it actually says

/app-kit:github-repo — private repo under the configured org

Load config first

GH_ORG=$(jq -r .github.org ~/.config/mesh44/config.json)

Prereqs

  • gh CLI installed and authed (gh auth status). If not, tell the user to run gh auth login — don't try to do it for them.
  • User is a member of $GH_ORG with repo-create permission.

Steps

  1. Sanity-check there isn't already a repo with this name:

    gh repo view $GH_ORG/<app-name> 2>&1 | head -1
    

    If it exists, stop and ask the user whether to reuse it or pick a new name. Do not delete.

  2. Initial commit in the local repo (created by new-app scaffold step):

    cd <app-path>
    git add .
    git commit -m "Initial commit from app-kit"
    
  3. Create the repo and push:

    gh repo create $GH_ORG/<app-name> \
      --private \
      --source . \
      --remote origin \
      --description "<app description from user, or leave blank>" \
      --push
    
  4. Default branch to main (gh respects local default, but verify):

    gh repo edit $GH_ORG/<app-name> --default-branch main
    
  5. No branch protection by default — the existing repos in this org (e.g., daily-deutsch, munichmotoclub) don't use it and adding it would block the CodePipeline auto-merges the user may rely on. If the user wants protection, they'll ask.

  6. Print the repo URL so the user can visit it.

What NOT to do

  • Don't push secrets. Inspect git status before staging if the local scaffold may have written .env or *.pem files.
  • Don't create a GitHub Actions workflow — deployment runs through CodePipeline, not Actions, in this setup.
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 · 56 lines · 24 tokens per session scan A 48e703753dce

Subscribe to this mod's changes

github-repo is a skill published in the GitHub repository jpd44/mesh44-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 489 once invoked, about $0.0001 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.