agentleFS
AI-ModConAI-ModCon/genesis-skills/skills/amsc-skills/skill-explorer/SKILL.md

skill-explorer

Skill30 starsChanged 50 days agoBSD-2-ClauseView on GitHub

Discover and manage agent skills stored in repositories across multiple GitLab groups and GitHub organizations for Codex CLI, Claude Code, and OpenCode CLI. Use when you need to list repositories under GitLab/GitHub scopes, detect repositories containing skills (SKILL.md/AGENTS.md), summarize available skills and their main functionality, compare with locally installed global/project skills across those CLIs, check overlap status against remote content, and optionally update local installs to match remote repositories.

  • Installs packages

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to audit and sync skills across GitLab groups and GitHub organizations for multiple CLI ecosystems.

    line 11
  2. Distinctive:

    Verify auth and hosts as needed:

    line 23
  3. Distinctive:

    Default local roots checked:

    line 77
  4. Very specific:

    Prefer --check-remote before --update.

    line 144
  5. Very specific:

    Use --format json for machine-readable output and downstream automation.

    line 145
  6. Very specific:

    When a repository contains multiple SKILL.md files, each one is treated as a separate discovered skill entry.

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Explorer

Use this skill to audit and sync skills across GitLab groups and GitHub organizations for multiple CLI ecosystems.

Preconditions

  1. Verify required tools:
jq --version
git --version
glab --version   # needed for GitLab scopes
gh --version     # needed for GitHub scopes
  1. Verify auth and hosts as needed:
# GitLab
glab auth status || glab auth login
glab config set -g host gitlab.nersc.gov

# GitHub
gh auth status || gh auth login

Scripts

1) List repositories in one GitLab group

scripts/glab-list-group-repos.sh --group nersc/agent-skills

2) List repositories in one GitHub organization

scripts/gh-list-org-repos.sh --org my-org

3) Discover skills across multiple scopes

scripts/skill-explorer-discover.sh \
  --gitlab-group nersc/agent-skills \
  --gitlab-group nersc/other-skill-group \
  --github-org my-org \
  --github-org my-other-org

Useful options:

  • --gitlab-host <host>
  • --github-host <host>
  • --no-subgroups (GitLab)
  • --include-shared (GitLab)
  • --format json

Detection markers:

  • SKILL.md (primary signal)
  • AGENTS.md (secondary signal)
  • CLAUDE.md (secondary signal)

4) Compare discovered skills with local installs

scripts/skill-explorer-overlap-sync.sh \
  --gitlab-group nersc/agent-skills \
  --github-org my-org

Default local roots checked:

  • Codex global: ${CODEX_HOME:-$HOME/.codex}/skills
  • Codex project: $PWD/.codex/skills
  • Claude global: $HOME/.claude/skills
  • Claude project: $PWD/.claude/skills
  • OpenCode global: ${XDG_CONFIG_HOME:-$HOME/.config}/opencode/skills
  • OpenCode project: $PWD/.opencode/skills

Restrict checks to selected CLIs:

scripts/skill-explorer-overlap-sync.sh \
  --gitlab-group nersc/agent-skills \
  --cli codex --cli claude

Include OpenCode compatibility-mode roots (optional):

scripts/skill-explorer-overlap-sync.sh \
  --gitlab-group nersc/agent-skills \
  --cli opencode \
  --include-compat-roots

Compatibility roots scanned when enabled:

  • $HOME/.opencode/agent
  • $PWD/.claude/agents
  • $PWD/.agents

5) Check whether overlapping local installs are up to date

scripts/skill-explorer-overlap-sync.sh \
  --gitlab-group nersc/agent-skills \
  --github-org my-org \
  --check-remote

Status values:

  • up_to_date: local content matches remote snapshot
  • different: local content differs from remote snapshot
  • remote_check_failed: remote repository could not be checked
  • remote_skill_path_missing: detected skill path not found in cloned snapshot

6) Update overlapping local installs from remote

# Prompt before each update
scripts/skill-explorer-overlap-sync.sh \
  --gitlab-group nersc/agent-skills \
  --github-org my-org \
  --update

# Non-interactive update
scripts/skill-explorer-overlap-sync.sh \
  --gitlab-group nersc/agent-skills \
  --github-org my-org \
  --update --yes

Compatibility Notes

  • Legacy GitLab-only scripts remain available:
    • scripts/glab-discover-group-skills.sh
    • scripts/glab-skill-overlap-sync.sh
  • scripts/skill-explorer-overlap-sync.sh also accepts --group and --host as aliases for GitLab-only usage.

Operational Notes

  • Prefer --check-remote before --update.
  • Use --format json for machine-readable output and downstream automation.
  • When a repository contains multiple SKILL.md files, each one is treated as a separate discovered skill entry.
  • Remote checks clone repositories with --depth 1 for speed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.