git-remote

A command for creating a GitHub remote repository for a project and preparing its basic public-facing files. It checks the current Git setup and guides choices such as the repository name, visibility, and license.

In plain words
What is it for?
Use it when a local project needs a new GitHub repository. It helps set up the remote, README, license, contributing and security documents, and issue templates.
Why use it?
It helps avoid publishing an unfinished repository or overwriting existing project documentation. It also checks that no GitHub remote already exists and that the user is authenticated.

Command for Claude Code

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.

agentmods
npx agentmods add commands/robconery/kolea/git-remote
Clone the repo
git clone --depth 1 https://github.com/robconery/kolea

Made for: Claude Code.

Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,718 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00028 $0.01718
Opus 5 $0.00014 $0.00859
Sonnet 5 $0.00006 $0.00344
Haiku 4.5 $0.00003 $0.00172

Measured yesterday against content hash 50341ffba673, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-remote 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 yesterday.

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.

Origin

This is a copy

100% identical to git-remote — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/git-remote.md · 201 lines

How it starts

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

git-remote

Stand up the GitHub remote for this project and treat it like a calling card. A scrappy first-push leaves a scrappy first impression. Don't ship a stub. Use the github skill for any commit / PR work along the way.

Preflight

  1. Refuse if a remote already exists. git remote -v — if origin is set and points at github.com, stop and tell the user. Suggest gh repo view or gh repo edit.
  2. gh auth status — refuse if not logged in. Tell the user to run gh auth login.
  3. Read context: CLAUDE.md, docs/PROJECT.md, existing README.md, any LICENSE, CONTRIBUTING.md, SECURITY.md, .github/ — never overwrite without consent.

Interview (ask in one batch)

Use AskUserQuestion to settle the choices that need a human:

  1. Repo name — propose one derived from the project (CLAUDE.md / PROJECT.md), kebab-case, short. Offer 2–3 options.
  2. Visibility — public, private. Default: public (it's a calling card).
  3. License — propose one with a one-line rationale each:
    • MIT — most permissive, easiest to adopt (Recommended for libs/tools).
    • Apache-2.0 — same permissions + explicit patent grant; good for anything corporates will touch.
    • AGPL-3.0 — strong copyleft; use when you want network-use modifications shared back.
    • MPL-2.0 — file-level copyleft; middle ground.
    • Unlicense / CC0 — public domain dedication. Recommend based on project type (CLI/lib → MIT; service/SaaS-y → Apache-2.0; opinionated stack you want kept open → AGPL).
  4. Owner — personal account vs an org (only ask if gh auth status shows the user belongs to orgs).

Calling-card requirements (the bar)

The repo gets pushed only after all of these are in place:

README.md — must be real, never boilerplate

A boilerplate README is anything matching:

  • Just the project name and a one-liner.
  • Contains TODO, Lorem ipsum, "your project here", or the literal scaffold text (e.g. the /init stub TODO — one-line description.).
  • No installation, no usage, no example.
  • Auto-generated create-foo-app content untouched.

Read the full file on GitHub · 201 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. yesterday First seen · 201 lines · 28 tokens per session scan A 50341ffba673

Subscribe to this mod's changes

git-remote is a command published in the GitHub repository robconery/kolea (1 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 1,718 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to git-remote, differing in 0 lines, and is treated as a copy.