TopGun is a plugin that automatically finds, compares, security-audits, and installs the best available skill for any job — searching 16 active registries in parallel so you never settle for a suboptimal tool.
codex plugin marketplace add https://github.com/alo-labs/codex-plugins.git
npx skills add alo-labs/topgun
/topgun "find a deployment skill"
TopGun will:
- Search 16 active skill registries via parallel in-process Task dispatch
- Compare candidates across capability, security, popularity, and recency
- Audit the top pick with bundled SENTINEL v2.3.0 (2 clean passes required)
- Present the audit manifest for your approval
- Install the skill and display the audit trail
Find → Compare → Secure → Install
The /topgun orchestrator dispatches four sub-skills in sequence:
| Step | Skill | What it does |
|---|---|---|
| 1 | find-skills |
16 active registries searched in parallel via in-process Task sub-agents (v1.5+) |
| 2 | compare-skills |
Multi-factor ranking: capability, security posture, popularity, recency |
| 3 | secure-skills |
Bundled SENTINEL v2.3.0 audit — 2 consecutive clean passes required |
| 4 | install-skills |
Installs the approved skill and writes the audit trail |
Security is a gate, not a step. A skill that fails Sentinel is never presented for installation.
| Flag | Description |
|---|---|
--registries <list> |
Comma-separated list of registries to search (default: all) |
--offline |
Use cached results only — no network requests |
--reset |
Clear state and start fresh |
--force-audit |
Bypass audit cache and re-run Sentinel |
TopGun uses SENTINEL v2.3.0 — bundled directly in the plugin — to audit every candidate before installation. No external dependencies required.
- Structural envelope check: validates skill file layout and manifest integrity
- 2-clean-pass requirement: Sentinel must return a clean result on two independent runs before a skill is considered safe
- Audit manifest: every installation produces a signed audit trail you can inspect
TopGun ships matching .claude-plugin/plugin.json and .codex-plugin/plugin.json manifests, both pointing at the shared skills/ tree and the root hooks/hooks.json hook bundle, mirrored under .claude-plugin/hooks/hooks.json for Claude packaging, so Codex Settings > Hooks shows it as Plugin · topgun instead of User config.
bin/hooks/validate-partials.sh intercepts any write to a found-skills-*.json file. It extracts the run hash from the filename, counts the corresponding registry-{hash}-*.json partial files, and blocks the write (exit 1) if fewer than 16 are present. This prevents the finder from producing an incomplete result set regardless of agent behavior.
If an older install wrote this hook into ~/.codex/hooks.json, node /path/to/topgun/bin/topgun-tools.cjs init removes only TopGun's legacy entries, refreshes the hook trust block in ~/.codex/config.toml from the exact source each prefix names, and treats any uppercase ~/.Codex mirror as legacy-only migration state that can be backed up and removed once the lowercase install is valid.
- Codex with plugin support
MIT — Alo Labs
npx skills add alo-labs/topgun
TopGun's .claude-plugin/ structure is natively compatible with the skills.sh ecosystem, and the Codex-facing .codex-plugin/plugin.json points to the same shared skills bundle. The bundled hook manifest lives at hooks/hooks.json and is mirrored under .claude-plugin/hooks/hooks.json for Claude packaging. The Claude marketplace metadata lives in .claude-plugin/marketplace.json for alo-labs/claude-plugins, and the Codex marketplace metadata lives in .agents/plugins/marketplace.json for alo-labs/codex-plugins. Both marketplace entries are named Ālo Labs.
To list TopGun on skills.sh:
- Ensure the GitHub repository is public at
https://github.com/alo-labs/topgun - Verify
.claude-plugin/plugin.jsonand.claude-plugin/marketplace.jsonare in.claude-plugin/foralo-labs/claude-plugins - Verify
.codex-plugin/plugin.jsonexists and.agents/plugins/marketplace.jsonis present foralo-labs/codex-plugins - Tag a release:
git tag v0.7.8 && git push origin v0.7.8 - Submit via:
npx skills submit alo-labs/topgun
TopGun keeps the Claude marketplace metadata in .claude-plugin/marketplace.json and the Codex marketplace metadata in .agents/plugins/marketplace.json, so both Ālo Labs marketplace entries stay aligned with the release tags.
Keep your TopGun installation current with the built-in update skill:
/topgun-update
TopGun will:
- Check the installed version against the latest GitHub release
- Display the changelog delta since your installed version
- Verify the commit SHA before touching anything
- Update the plugin cache, stable
currentalias, and registry atomically
If the versioned cache tree was removed during a clean reinstall, TopGun first bootstraps it from the local snapshot before refreshing the live alias and registry rows.
/topgun-update --check # check for updates without installing
State preserved across updates: ~/.topgun/ audit cache, keychain tokens, hook config, and the stable current alias.
TopGun uses GitHub release tags for versioning. To create a release:
git tag -a v{version} -m "TopGun v{version} — release description"
git push origin v{version}The tag triggers autoUpdate for existing installations.