Agent Skills: CLI Detector

Detect installed AI coding CLIs and local model providers; outputs a cached JSON inventory for routing (/detect-clis).

UncategorizedID: cruzanstx/daplug/cli-detector

Install this agent skill to your local

pnpm dlx add-skill https://github.com/cruzanstx/daplug/tree/HEAD/skills/cli-detector

Skill Files

Browse the full folder contents for cli-detector.

Download Skill

Loading file tree…

skills/cli-detector/SKILL.md

Skill Metadata

Name
cli-detector
Description
Detect installed AI coding CLIs and local model providers; outputs a cached JSON inventory for routing (/detect-clis).

CLI Detector

Phase 1: Detect installed Tier 1 coding CLIs (Claude, Codex, Gemini, OpenCode) via an extensible plugin system.

Usage

Run the /detect-clis renderer (tables + optional fixes):

python3 skills/cli-detector/scripts/detect_clis.py
python3 skills/cli-detector/scripts/detect_clis.py --json
python3 skills/cli-detector/scripts/detect_clis.py --dry-run
python3 skills/cli-detector/scripts/detect_clis.py --reset
python3 skills/cli-detector/scripts/detect_clis.py --fix

Run a scan and print JSON:

python3 skills/cli-detector/scripts/detector.py --scan

Verbose scan (progress to stderr, JSON to stdout):

python3 skills/cli-detector/scripts/detector.py --scan --verbose

List plugins:

python3 skills/cli-detector/scripts/detector.py --list-plugins

Check a specific CLI:

python3 skills/cli-detector/scripts/detector.py --check codex