repo-topic-tagger

repo-topic-tagger is a skill for Claude Code from jamestexas/agents. It costs 47 tokens per session (2,162 once invoked), scanned A, original, Apache-2.0.

A GitHub repository tool that reviews and manages topic tags, which are labels used to help people find repositories.

In plain words
What is it for?
Use it to audit repository topics and apply approved tags through the GitHub command-line API.
Why use it?
It identifies useful tags from the code, removes duplicates, and lets you review proposed changes before they are applied.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to audit repository topics and apply approved tags through the GitHub command-line API.

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

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 repo-topic-tagger

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamestexas/agents/repo-topic-tagger"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/repo-topic-tagger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,162 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.00047 $0.02162
Opus 5.5 $0.00019 $0.00865
Sonnet 5.5 $0.00009 $0.00432
Haiku 4.5 $0.00005 $0.00216

Measured 2mo ago against content hash 0fe7103ff5be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-topic-tagger 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 2mo 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.

skills/repo-topic-tagger/SKILL.md · 206 lines

How it starts

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

/repo-topic-tagger — GitHub Topic Curation

Apply a curated, discoverability-optimized set of GitHub topics to one or more repositories.

Arguments

$ARGUMENTS

  • <owner/repo> — one or more target repos (e.g. agentic-research/mache). If omitted, defaults to the repo containing the current working directory.
  • --dry-run (default) — propose changes but do not apply. Always the default. The user must explicitly pass --apply to write.
  • --apply — after presenting the proposal, prompt for approval and call gh api to write the new topic set.
  • --max=N — cap proposed tag count at N (default 12; GitHub allows 20 max).

What this solves

Many of the user's public repos ship with zero topics. This kills discoverability:

  • They never surface in GitHub's topic browser (github.com/topics/<x>)
  • They never appear in "related repositories" cards
  • LLM-based repo discovery tools weight topic metadata heavily
  • Human searchers filtering by topic on GitHub never see them

Topics are cheap to set, never break anything, and compound over time as GitHub's index picks them up.

Reference: a good topic set

agentic-research/cloister is the canonical good example:

capnproto, cloudflare-workers, durable-objects, gateway,
hypervisor, mcp, model-context-protocol, rust, typescript, workerd

Why it works:

  • Language(s): rust, typescript
  • Framework / runtime: cloudflare-workers, workerd, durable-objects
  • Substrate / protocol: capnproto, mcp, model-context-protocol
  • Problem-space label: hypervisor, gateway

Ten tags, every one of them is something a real searcher would type.

GitHub topic rules (hard constraints)

The GitHub API will reject violations. Validate before submitting:

  • Lowercase only
  • Alphanumerics, hyphens, +, . allowed; no underscores, no spaces
  • Each topic ≤ 50 chars
  • ≤ 20 topics per repo
  • Convention: prefer hyphens (code-intelligence, not codeintelligence)

Read the full file on GitHub · 206 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. 2mo ago Changed 0fe7103ff5be
  2. 3mo ago First seen · 206 lines · 47 tokens per session scan A 2eea85943e63

Subscribe to this mod's changes

repo-topic-tagger is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 2,162 once invoked, about $0.0002 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.

Related

repo-topic-tagger compared with skills from other repositories

repo-topic-tagger next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-topic-taggerjamestexas/agentsSkill2todayApache-2.0A47Claude Code
soul-gradercobibean/soul-grader-skillSkill603mo agoMITA45Codex
markdown-ui-dslMegaByteMark/markdown-ui-dslSkill258mo agoMITA25Claude Code, Codex
research-dspyGrayCodeAI/starlingSkill23mo agoMITA36Claude Code
research-guidanceGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
research-instructorGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
reviewvercel/eveSkill6.1ktodayApache-2.0A31Claude Code, Codex