airbnb-cli
Searches Airbnb from the terminal via cli-web-airbnb — find stays by location, dates, and filters; get listing details, guest reviews, and availability…
Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in
$ npx -y skills add ItamarZand88/CLI-Anything-WEB --skill gap-analyzer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gap-analyzerContext preview
The summary Claude sees to decide when to auto-load this skill.
Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in
name: gap-analyzer version: 0.3.0 description: > Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in standards. when_to_use: > Trigger phrases: "gap analysis", "what's missing", "coverage report", "what endpoints are not implemented". For "refine" alone, use the /cli-anything-web:refine command (which invokes this skill first).
Produce a structured gap report comparing a CLI's documented API surface against its implemented commands.
**Where this skill runs:**
invokes this skill before reading or changing anything else; the gap report drives which endpoints get implemented.
otherwise handled by the traffic-fidelity-reviewer agent).
**Evidence rule:** the captured-vs-implemented diff must cite its sources — each reported gap references the endpoint entry in `<APP>.md` (the documented surface) and, when available, `traffic-capture/traffic-analysis.json` (the analyzer's detected endpoint inventory), plus `raw-traffic.json` hit counts for priority. A gap with no citation in either file is a guess, not a finding.
---
You need the path to an existing CLI's agent-harness directory:
Evidence files (read all that exist):
Run the mechanical layer diff first — it AST-parses the client and command modules and cross-references traffic-analysis.json, so you only spend judgment on what it can't decide:
cli-web-devkit gaps {app} # or: PYTHONPATH=devkit python -m cli_web_devkit gaps {app}The JSON report gives `unimplemented_endpoints` (captured but absent from client.py) and `unexposed_methods` (client methods no command calls). Treat these as candidate gaps to verify in Steps 1–3, not as final answers — the string-level endpoint matching is intentionally conservative.
Read all source files to build the set of implemented functionality:
Read all files in `{APP_PATH}/agent-harness/cli_web/{app}/commands/`:
Read `{APP_PATH}/agent-harness/cli_web/{app}/core/client.py`:
For each Click command, trace which client method it calls:
Read `{APP_PATH}/agent-harness/{APP_UPPER}.md` (the API map):
Cross-check against `{APP_PATH}/traffic-capture/traffic-analysis.json` (if it exists): endpoints the analyzer detected but `<APP>.md` never documented are themselves a gap (stale API map) — report them with the traffic-analysis.json entry as the citation.
Compare implemented vs documented:
Endpoints in `<APP>.md` that have no corresponding Click command:
For each documented endpoint: Find matching client method (by URL pattern or method name) Find matching Click command (that calls this client method) If no command found → MISSING
Click commands that call client methods not documented in `<APP>.md`:
For each Click command: Find the client method it calls Find the endpoint in <APP>.md for this method If no endpoint found → UNDOCUMENTED (possible hallucination)
Client methods that no Click command calls:
For each public client method: Search all commands/*.py for calls to this method If no command calls it → DEAD
For each resource group, check CRUD coverage:
For each resource in <APP>.md: Check which CRUD ops the API supports (list, get, create, update, delete) Check which are implemented as commands If any supported op is missing → INCOMPLETE
If `{APP_PATH}/traffic-capture/raw-traffic.json` exists:
capture may be ranked LOW even if they are important to users
If raw-traffic.json doesn't exist, skip priority scoring and list all gaps alphabetically.
Present the gap report in this format:
Gap Report: cli-web-{app}
━━━━━━━━━━━━━━━━━━━━━━━━━
Coverage: X/Y endpoints (Z%)
Missing (HIGH priority):
{HTTP_METHOD} {url} — {description} ({N} hits in traffic)
...
Missing (MED priority):
{HTTP_METHOD} {url} — {description} ({N} hits)
...
Missing (LOW priority):
{HTTP_METHOD} {url} — {description} ({N} hits)
...
Incomplete CRUD:
{resource}: has {oClaude Code plugin that generates production-grade Python CLIs for any web app. 20 CLIs and counting.
Repo: ItamarZand88/CLI-Anything-WEB
Searches Airbnb from the terminal via cli-web-airbnb — find stays by location, dates, and filters; get listing details, guest reviews, and availability…
Searches Amazon from the terminal via cli-web-amazon — product search, product details by ASIN, Best Sellers by category, and autocomplete suggestions. Use…
Searches Booking.com from the terminal via cli-web-booking — find hotels, apartments, and hostels by destination, dates, and guests; get property details by…
Queries US congressional stock trades (STOCK Act disclosures) on capitoltrades.com via the cli-web-capitoltrades command-line tool — trades with rich filters,…
Drives ChatGPT from the terminal via cli-web-chatgpt — ask questions, generate and download images, list and view conversations, browse models, and manage…
Browses Google Code Wiki (codewiki.google) via cli-web-codewiki — AI-generated documentation for open source repos. Search repositories, read wiki sections,…