Skip to content
Back to skills

Cli Detector

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cli-detector --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Detector?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Detector
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cli-detector/badge)](https://www.skillsdirectory.com/skills/david-li0406-cli-detector)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-detector
description: Detect installed AI coding CLIs and local model providers; outputs a cached JSON inventory for routing (/detect-clis).
allowed-tools:
  - Bash(python3:*)
  - Read
---

# 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
```

Files in this skill

  • SKILL.md1.1 KB
  • scripts/__init__.py209 B
  • scripts/cache.py4.5 KB
  • scripts/detect_clis.py11.7 KB
  • scripts/detector.py7.3 KB
  • scripts/fixer.py10 KB
  • scripts/plugins/__init__.py1.3 KB
  • scripts/plugins/aider.py3.3 KB
  • scripts/plugins/base.py7.4 KB
  • scripts/plugins/claude.py8.1 KB
  • scripts/plugins/codex.py8.3 KB
  • scripts/plugins/gemini.py6 KB
  • scripts/plugins/ghcopilot.py2.6 KB
  • scripts/plugins/goose.py2.1 KB
  • scripts/plugins/opencode.py7.7 KB
  • scripts/providers/__init__.py1 KB
  • scripts/providers/base.py7.2 KB
  • scripts/providers/lmstudio.py1.2 KB
  • scripts/providers/ollama.py1.8 KB
  • scripts/providers/vllm.py1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…