Skip to content
Development
Skill

/github-repos

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

From plugin
dotfiles
26114 skills1 MCP

Claude Code

$ npx -y skills add fredrikaverpil/dotfiles --skill github-repos --agent claude-code

SKILL.md

github-repos.SKILL.md
name: github-repos
description:
  Find GitHub repos owned by a user or a team, via team permissions, repo
  ownership or CODEOWNERS entries

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 skips archived repos, so CODEOWNERS hits are already non-archived.
Read more
@fredrikaverpil
Ships withdotfiles

Personal dotfiles, managed in three layers: Nix (nix/): system configuration and packages, pinned by flake.lock and applied with a rebuild. Fully reproducible. Stow (stow/): dotfiles symlinked into $HOME with GNU Stow (not Nix).

26114 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
261
Star history of fredrikaverpil/dotfiles on GitHub, a chart by star-history.com

Other skills on dotfiles.

aip

aip

Google API Improvement Proposals (AIP) reference. Use BEFORE designing or reviewing APIs, protobuf definitions, or any work…

codebase-audit

codebase-audit

Analyze a git repo's history to surface high-churn files, ownership risks, bug hotspots, momentum trends, and firefighting…

gh-cli

gh-cli

GitHub CLI (gh) conventions and the inline PR review recipe. Use when working with GitHub repositories, PRs, issues, actions, `gh…

gh-pr

gh-pr

This skill should be used when creating a GitHub pull request via `gh pr create`. Covers the gh CLI mechanics; PR title and body…

git-commit

git-commit

This skill should be used BEFORE running any git commit command. Triggers when about to run `git commit`. Ensures commit messages…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about github-repos.

Which coding agents can use github-repos?
github-repos installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.