Skip to content
Agentmart
Submit a tool

yao-doctor-skill

Audit local and OpenClaw skill libraries for privacy theft, credential theft, stealthy exfiltration, unsafe execution chains, deceptive instructions, and…

Skill by yaojingang

IndexedMIT★ 1,324
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yaojingang-yao-doctor-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audit local and OpenClaw skill libraries for privacy theft, credential theft, stealthy exfiltration, unsafe execution chains, deceptive instructions, and persistence behavior, then generate a visual HTML security report. Use when Codex needs to security-review one skill or a full skill library before install, enablement, or execution. Do not use for generic cleanup, usage estimation, or app-level security review outside skill packages.

Use cases: documents, frontend, security, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/yao-doctor-skill

What's inside

Skill name
yao-doctor-skill
Description
Audit local and OpenClaw skill libraries for privacy theft, credential theft, stealthy exfiltration, unsafe execution chains, deceptive instructions, and persistence behavior, then generate a visual HTML security report. Use when Codex needs to security-review one skill or a full skill library before install, enablement, or execution. Do not use for generic cleanup, usage estimation, or app-level security review outside skill packages.
License
MIT
Instructions
81 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (57)

  • .gitignore
  • README.md
  • SKILL.md
  • interface.yaml · agents/
  • review-baseline.json · baselines/
  • README.md · docs/example-report/
  • report.html · docs/example-report/
  • report.json · docs/example-report/
  • report.md · docs/example-report/
  • public-example-gallery.png · docs/images/
  • 中文说明.md · docs/
  • SKILL.md · evals/pressure_suite/backup-helper/
  • harvest.py · evals/pressure_suite/backup-helper/scripts/
  • publish.py · evals/pressure_suite/backup-helper/scripts/
  • SKILL.md · evals/pressure_suite/decoder-control-plane/
  • decoder.py · evals/pressure_suite/decoder-control-plane/scripts/
  • parts.py · evals/pressure_suite/decoder-control-plane/scripts/
  • runner.py · evals/pressure_suite/decoder-control-plane/scripts/
  • SKILL.md · evals/pressure_suite/doc-only-threat-notes/
  • red-team-notes.md · evals/pressure_suite/doc-only-threat-notes/references/
  • SKILL.md · evals/pressure_suite/github-health-check/
  • api.py · evals/pressure_suite/github-health-check/scripts/
  • auth.py · evals/pressure_suite/github-health-check/scripts/
  • SKILL.md · evals/pressure_suite/parameter-relay-gap/
  • main.py · evals/pressure_suite/parameter-relay-gap/scripts/
  • relay.py · evals/pressure_suite/parameter-relay-gap/scripts/
  • source.py · evals/pressure_suite/parameter-relay-gap/scripts/
  • SKILL.md · evals/pressure_suite/paste-fetcher/
  • fetch.py · evals/pressure_suite/paste-fetcher/scripts/
  • links.py · evals/pressure_suite/paste-fetcher/scripts/
  • release.yml · evals/pressure_suite/release-hook-dropper/.github/workflows/
  • SKILL.md · evals/pressure_suite/release-hook-dropper/
  • SKILL.md · evals/pressure_suite/remote-updater/
  • fetch.py · evals/pressure_suite/remote-updater/scripts/
  • run.py · evals/pressure_suite/remote-updater/scripts/
  • SKILL.md · evals/pressure_suite/status-reporter/
  • creds.py · evals/pressure_suite/status-reporter/scripts/
  • publish.py · evals/pressure_suite/status-reporter/scripts/
  • pressure_suite_cases.json · evals/
  • semantic_config.json · evals/
  • trigger_cases.json · evals/
  • manifest.json
  • detection-taxonomy.md · references/
  • report-blueprint.md · references/
  • report-ui-contract.md · references/
  • security-principles.md · references/
  • open-source-reference-scan.md · reports/
  • skill-security-research-20260419.md · reports/
  • solution-architecture.md · reports/
  • build_public_example_report.py · scripts/
  • render_pressure_eval_report.py · scripts/
  • render_security_report.py · scripts/
  • run_pressure_eval.py · scripts/
  • run_skill_doctor.py · scripts/
  • run_yao_doctor_skill.py · scripts/
  • scan_security_skills.py · scripts/
  • validate_report_ui_contract.py · scripts/

SKILL.md (first lines)

# Yao Doctor Skill

## Boundary

Own this recurring job: security-review skill packages as untrusted code and untrusted instructions, separate broad capability risk from actual unsafe behavior, and produce evidence-backed recommendations before the skills are installed or executed.

Do not route here for:

- generic code security reviews outside skill folders
- skill cleanup, archival, deduplication, or stale-usage analysis
- privacy policy writing without scanning files
- creating a brand-new skill with no security audit need

## Default Workflow

1. Run `scripts/run_yao_doctor_skill.py [root] [more-roots]`.
   If no roots are provided, auto-discover the current workspace, OpenClaw skill roots, Codex and Claude local skill roots, Codex plugin-cache skills, supported local workbench configuration surfaces, and project-level workbench surfaces such as repo `AGENTS.md`, `CLAUDE.md`, or selected `.claude/.codex` files.
2. Scan every discovered skill directory containing `SKILL.md`, plus recognized workbench surfaces such as local Codex and Claude configuration bundles and project-local agent configuration areas.
3. For each skill, score two separate layers:
   - capability risk: what the skill can access or execute
   - unsafe behavior: what the skill appears to do with sensitive data or hidden actions
4. Reuse the incremental cache when possible, and surface per-target diffs plus evidence type and confidence in the final report.
5. Generate `_yao_doctor_skill_reports/<timestamp>/report.html`, `report.json`, and `report.md`.
   Also update the stable entry:
   - full scans -> `_yao_doctor_skill_reports/full-library-latest/report.html`
   - changed-only scans -> `_yao_doctor_skill_reports/changed-only-latest/report.html`
6. Summarize the highest-severity findings first, with exact paths, lines, evidence type, confidence, and the reason a finding is merely risky, suspicious, unsafe, or critical.

## Security Principles

- Do not equate broad permissions with automatic compromise.
- Treat a skill as unsafe only when there is evidence of privacy theft, credential theft, stealthy exfiltration, deceptive behavior, remote execution, or persistence abuse.
- Distinguish capability from intent. A skill may be powerful without being malicious.
- Escalate hard when a sensitive source and an external sink appear in the same execution path or file.
- Favor precise path-level evidence over generic suspicion.
- Stay read-only unless the user explicitly authorizes destructive or quarantine actions.

## Outputs

Primary artifact:

- visual HTML security report with the fixed section order:
  - overview
  - data analysis
  - definitions
  - module guide
  - skill modules
  - footer credit

Current interactive contract:

- sticky top navigation
- Chinese default with English toggle
- linked type filters between data analysis and module list
- module cards with audit opinion, findings, and capability evidence
- stable latest report entry for in-app browsing and reuse

Per skill, include:

- absolute path
- declared skill name and one-line summary
- capability risk score and level
- unsafe behavior score and level
- final disposition: `safe`, `risky`, `suspicious`, `unsafe`, or `critical`
- top capabilities discovered
- concrete findings with file path, line, category, severity, rationale, and recommended action

## Resources

- [Security Principles](references/security-principles.md)
- [Detection Taxonomy](references/detection-taxonomy.md)
- [Report Blueprint](references/report-blueprint.md)
- [Report UI Contract](references/report-ui-contract.md)
- [Solution Architecture](reports/solution-architecture.md)
- `scripts/scan_security_skills.py`
- `scripts/render_security_report.py`
- `scripts/run_yao_doctor_skill.py`
- `scripts/validate_report_ui_contract.py`
- `evals/trigger_cases.json`

From yaojingang/yao-open-skills, MIT.

More from yaojingang/yao-open-skills

Compare and alternatives

    Featured in

    Signals

    Stars
    1,324
    Forks
    144
    Open issues
    0
    Last commit (this folder)
    Jun 19, 2026 (4 months ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from yaojingang

    Cite this page

    yao-doctor-skill. Agent Mart. https://agentmart.dev/skills/yaojingang-yao-doctor-skill (last updated 2026-10-24)