Back to Skills

cli-detector

verified

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

View on GitHub

Marketplace

cruzanstx

cruzanstx/daplug

Plugin

daplug

development

Repository

cruzanstx/daplug
4stars

skills/cli-detector/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/cruzanstx/daplug/blob/main/skills/cli-detector/SKILL.md -a claude-code --skill cli-detector

Installation paths:

Claude
.claude/skills/cli-detector/
Powered by add-skill CLI

Instructions

# 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):

```bash
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:

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

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

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

List plugins:

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

Check a specific CLI:

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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
899 chars