update-repo-meta

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

A workflow for changing GitHub repository metadata with the gh command-line tool. Repository metadata includes the description, homepage, topics, and public or private visibility.

In plain words
What is it for?
Use it to add or remove lowercase hyphenated topics, update the description or homepage, change visibility, and show the before-and-after state.
Why use it?
It makes repository-setting changes traceable by checking the current state, applying the requested edits, and verifying the result afterward.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to add or remove lowercase hyphenated topics, update the description or homepage, change visibility, and show the before-and-after state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/urmzd/dotfiles/update-repo-meta
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 update-repo-meta
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 update-repo-meta

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/update-repo-meta"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/update-repo-meta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 612 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.00100 $0.00612
Opus 5 $0.00050 $0.00306
Sonnet 5 $0.00020 $0.00122
Haiku 4.5 $0.00010 $0.00061

Measured 9d ago against content hash 09c911aa3820, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

update-repo-meta 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 9d 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/update-repo-meta/SKILL.md · 54 lines

What it actually says

Update Repo Meta

Update GitHub repository metadata.

Steps

  1. Read current state: gh repo view --json name,description,homepageUrl,repositoryTopics,visibility

  2. Determine changes: Based on the user's argument or conversation context, figure out what to update. Common operations:

    • Topics: gh repo edit --add-topic <topic> or --remove-topic <topic>
    • Description: gh repo edit --description "<text>"
    • Homepage: gh repo edit --homepage "<url>"
    • Visibility: gh repo edit --visibility public|private
  3. Apply changes: Run the appropriate gh repo edit commands.

  4. Verify: Run gh repo view --json name,description,homepageUrl,repositoryTopics,visibility again and show the updated state.

Rules

  • Show the before/after so the user can confirm the changes.
  • If no specific instructions are given, show the current metadata and ask what to change.
  • Topics should be lowercase, hyphenated (e.g., cli-tool, go, mcp-server).

Gotchas

  • Topic cap is 20. GitHub caps a repo at 20 topics; gh repo edit --add-topic past that limit fails. Check the current count before adding in bulk.
  • Server-side normalization is authoritative. GitHub lowercases topics and replaces spaces/invalid characters with hyphens on its end. Normalizing client-side first is only cosmetic; the server has the final say, so verify with gh repo view rather than assuming your input string was stored verbatim.
  • Visibility changes can be blocked. gh repo edit --visibility may require an explicit consent flag (e.g. --accept-visibility-change-consequences), and an org policy can block going public or private entirely. If the command errors, surface the policy/consent reason to the user rather than retrying blindly.
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. 9d ago First seen · 54 lines · 100 tokens per session scan A 09c911aa3820

Subscribe to this mod's changes

update-repo-meta is a skill published in the GitHub repository urmzd/dotfiles (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 100 tokens to every session and 612 once invoked, about $0.0005 per session on Opus 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.