Install
$ agentstack add skill-evilstar2016-skill-doctor-skill-doctor ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
skill-doctor — Agent Skill Analysis via CLI
skill-doctor is a local-only CLI (it never uploads your skills) that scans the user's installed AI-agent skills across platforms (Claude Code, Cursor, Copilot, Codex, Gemini CLI, Windsurf, …) and reports duplicates, conflicts, security risks, and context-cost. This skill wraps it: you (the agent) drive the CLI, read its --json output, and produce the analysis.
Core principle (read first)
- The CLI is the source of truth. Run
skill-doctorcommands and use their
--json output as your reasoning input. Do not re-implement discovery yourself.
- Do NOT read raw SKILL.md files of the user's installed skills to perform
analysis. skill-doctor already discovers, parses, and structures them. Only read a specific raw skill file when the user explicitly asks ("show me the raw SKILL.md of X") or requests a targeted edit.
- Keep it local: never upload or exfiltrate the user's skills.
Step 0 — Mode detection (run every invocation)
- Is the CLI present?
skill-doctor --version. If it fails, tell the user to
install (npm i -g @evilstar2025/skill-doctor, Node ≥ 20) and stop.
- Is a backend model configured? Run:
`` skill-doctor config view --json ` Inspect analysis.apiKeyConfigured and embedding.apiKeyConfigured`.
- Both configured → ENHANCED mode (CLI can do LLM grouping, LLM audit,
semantic conflict detection).
- Neither configured → FALLBACK mode (you analyze the static JSON yourself).
- First-use prompt (optional, non-blocking). If in FALLBACK mode and you have
not asked in this session, ask the user once: > "skill-doctor can give deeper AI analysis (semantic conflict detection, LLM > safety audit, plain-language explanations) if you point it at an > OpenAI-compatible LLM/embedding endpoint. Configure one now? (Optional — full > CLI analysis works without it.)"
- Yes →
skill-doctor config set analysis --base-url --model [--api-key ]
and/or skill-doctor config set embedding ...; optionally skill-doctor config test. Then re-run config view.
- No / no reply → proceed in FALLBACK mode. Never repeat the question this session.
Step 1 — Inventory & scan
skill-doctor scan --scope all --json
- ENHANCED: add
--groupfor LLM-derived skill groupings. - Feed the JSON (
summary+skills+duplicates+conflicts) into your analysis.
Run from the project root if project-scoped findings matter; otherwise --scope all covers the whole machine.
Step 2 — Conflicts & duplicates
- Always (token strategy):
`` skill-doctor conflicts --scope all --json ``
- ENHANCED (if
embeddingandanalysisconfigured):
`` skill-doctor conflicts --strategy embedding --analyze --json ``
Step 3 — Security audit
- Always (static rules):
`` skill-doctor audit --scope all --json ``
- ENHANCED (if
analysisconfigured): add--ai(LLM audit).
Step 4 — Context / token cost
skill-doctor context --json
Always available, needs no backend. Reports estimated tokens per skill/MCP/plugin and a budget grade. Use --platform / --budget-tokens N to narrow.
Step 5 — Health gate (optional, CI-style)
skill-doctor check --scope all --json
Returns passed / failures. Useful when the user wants a go/no-go verdict.
Step 6 — Deep-dive (on demand)
skill-doctor show --json— single-skill detail (ENHANCED: LLM explanation).skill-doctor diff --json— compare two skills.
Producing the analysis (output)
Collect the JSON from the steps above and write the analysis:
- ENHANCED mode: surface the CLI's AI-generated fields (LLM groupings,
--ai
audit findings, semantic conflict reasons) and add a short synthesis on top.
- FALLBACK mode: you are the analysis engine. Using only the CLI JSON, write:
the top issues, a severity ranking, duplicate/conflict clusters, security concerns, context-cost hotspots, and concrete recommended actions. This is the "analysis via the skill's LLM" path — no backend required.
- Always end with prioritized, actionable next steps. Offer an export:
skill-doctor dashboard --report or skill-doctor scan --report produce a shareable HTML file.
Reference
- Config file:
~/.skill-doctor/config.json→analysis/embedding/ignore/
paths / scanSources.
- Provider model: OpenAI-compatible only —
baseUrl+model+apiKey(no
vendor-specific fields). baseUrl must not end with a trailing slash; endpoints used: {baseUrl}/chat/completions (analysis) and {baseUrl}/embeddings (embedding).
- Scopes:
project|global|all(defaultallfor a full picture). - To suppress a known false positive, add it to
ignoreinconfig.json(or via the
UI). A future skill-doctor config ignore subcommand may automate this.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: evilstar2016
- Source: evilstar2016/skill-doctor
- License: MIT
- Homepage: https://www.npmjs.com/package/@evilstar2025/skill-doctor
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.