github-repos

github-repos is a skill for Claude Code from fredrikaverpil/dotfiles. It costs 27 tokens per session (615 once invoked), scanned A, original, MIT.

A GitHub repository finder that lists repositories owned by a person or team, or assigned to them through a CODEOWNERS file. CODEOWNERS is a file that names the people or teams responsible for parts of a codebase.

In plain words
What is it for?
It helps identify a user's or team's non-archived repositories and find repositories where they are listed as code owners.
Why use it?
It avoids checking repositories one by one when ownership is spread across team permissions and code-ownership files.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps identify a user's or team's non-archived repositories and find repositories where they are listed as code owners.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fredrikaverpil/dotfiles/github-repos"><img src="https://agentmods.dev/badge/skills/fredrikaverpil/dotfiles/github-repos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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.00027 $0.00615
Opus 5.5 $0.00011 $0.00246
Sonnet 5.5 $0.00005 $0.00123
Haiku 4.5 $0.00003 $0.00061

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

Security

Grade A, and why

github-repos 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 2d 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.

stow/shared/.claude/skills/github-repos/SKILL.md · 61 lines

What it actually says

GitHub repos

Ask for the owner if not given: a team (<org>/<team>) or a user (<user>, optionally scoped to an <org>).

Team

Non-archived repos in <org> where <team> is admin, or where a CODEOWNERS file lists @<org>/<team>:

{
  gh api --paginate orgs/<org>/teams/<team>/repos \
    --jq '.[] | select(.role_name == "admin" and (.archived | not)) | .full_name'
  gh search code '@<org>/<team>' --owner <org> \
    --filename CODEOWNERS --limit 1000 --json repository,path \
    --jq '.[] | select(.path | IN("CODEOWNERS", ".github/CODEOWNERS", "docs/CODEOWNERS")) | .repository.nameWithOwner'
} | sort -u
  • <team> is the team slug, as in its URL.
  • role_name is one of admin, maintain, push, triage, pull; widen the filter if the user asks for more than admin.

User

Non-archived repos owned by <user>, or where a CODEOWNERS file in <org> lists @<user>:

{
  gh repo list <user> --no-archived --limit 1000 \
    --json nameWithOwner --jq '.[].nameWithOwner'
  gh search code '@<user>' --owner <org> \
    --filename CODEOWNERS --limit 1000 --json repository,path \
    --jq '.[] | select(.path | IN("CODEOWNERS", ".github/CODEOWNERS", "docs/CODEOWNERS")) | .repository.nameWithOwner'
} | sort -u
  • Drop the code search when no <org> is given; --owner <user> covers only repos the user owns, which the first command already lists.
  • Add --source to gh repo list to leave out forks.

Caveats

  • --filename matches loosely (e.g. codeowners_test.go); hence the path filter.
  • Code search matches text: @<user> also hits @<user>-bot, @<org>/<team> also hits @<org>/<team>-leads. Check doubtful hits in the CODEOWNERS file.
  • Code search covers default branches only and may lag; the team and repo APIs are exact.
  • Code search returns no archived flag; check a CODEOWNERS-only hit with gh repo view <repo> --json isArchived.
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. 2d ago First seen · 61 lines · 27 tokens per session scan A e04cd2bc411b

Subscribe to this mod's changes

github-repos is a skill published in the GitHub repository fredrikaverpil/dotfiles (260 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 615 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-11-06.

Related

github-repos compared with skills from other repositories

github-repos next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-reposfredrikaverpil/dotfilesSkill260todayMITA27Claude Code
prdenolfe/dotfilesSkill885d agononeA35Claude Code, Codex
finishing-a-development-branchdenolfe/dotfilesSkill885d agononeA27Claude Code, Codex
using-git-worktreesdenolfe/dotfilesSkill885d agononeA36Claude Code, Codex
mbo-plansfc-gh-eraigosa/dotfilesSkill535d agoApache-2.0A260Claude Code, Codex
herdrsfc-gh-eraigosa/dotfilesSkill535d agoApache-2.0A91Claude Code, Codex
pr-groomingsfc-gh-eraigosa/dotfilesSkill535d agoApache-2.0A147Claude Code, Codex