Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skill-ecosystem-doctor

БесплатноЗапускает вложенные скриптыНе проверен

Audit and safely repair cross-runtime Skill governance: canonical-source ownership, divergent or duplicate projections, exposure scopes and budgets, lifecycle…

majiayu000от majiayu000★ 301 звезда на GitHub

Об этом скилле

Skill Ecosystem Doctor

Treat the local Skill collection as a governed software supply chain. Audit first, plan repairs from evidence, apply only authorized changes, and finish with fresh cross-runtime verification and a durable handoff.

This workflow is at skill maturity, not unattended automation maturity. Do not schedule or silently apply repairs.

Trigger boundary

Questions such as “Did Studio load or start these Skills?” belong to Studio's own configuration, projections, and runtime inventory. Inspect that project/runtime directly. Invoke this Doctor only when the user explicitly asks for cross-runtime or cross-scope ownership, projection, exposure, lifecycle, or repair governance.

Select the mode

User intent Mode Routing
Inspect, review, inventory, or diagnose audit execute_direct; read-only
Explain what should change plan plan_first; no mutations
Fix, unify, quarantine, or retire repair plan_first; explicit scope and rollback
Recheck an existing governance file verify execute_direct; read-only
Rotate credentials, rewrite history, push, publish, or change remotes external action clarify_first unless the current request grants that exact action

If the request mixes modes, run audit before repair. Do not infer repair authorization from a request to inspect or diagnose.

Operating Contract

  • Direct actions: read-only discovery, deterministic audits, report drafts, and local validation.
  • Escalate before: destructive changes, credential actions, history rewriting, remote publication, or any mutation not named by the current repair request.
  • Evidence-backed pushback: challenge a proposed source, deletion, or completion claim only with paths, state queries, tests, ownership records, or a concrete data-loss or security risk.
  • Feedback loop: promote repeated false positives, runtime-layout changes, and manual recovery steps into checks, fixtures, references, or evals.

1. Discover before creating

  1. Search active roots and source repositories before creating a Skill, governance file, script, alias, or projection.
  2. Locate every applicable AGENTS.md or equivalent before editing a source repository.
  3. Read runtime contracts and classify each path as canonical source, managed projection, generated cache, or unknown.
  4. Record the task goal, context, constraints, done-when conditions, dirty worktrees, runtime versions, and unavailable external permissions.
  5. If work will span many files or sessions, use flowguard and keep the handoff outside parent context.

Common roots are discovery candidates, not declarations. Verify them on the current machine; no data means unknown, not a guessed source relationship.

2. Run the deterministic audit

Use an existing governance file when one exists. Otherwise read the governance schema, adapt the example from discovered facts, and show the proposed configuration before writing it.

The Doctor accepts both its portable schema and the deployed Loom-style SKILL_GOVERNANCE_POLICY.json; do not create a second policy when the latter already exists.

For a large deployed catalog, prefer default_scope: "review" with an explicit global_allowlist. Keep specialist Skills in named profiles, bind profiles to project roots only when needed, and enforce an exposure_budget. A retained profile Skill is still canonical and usable on demand; it is not globally injected until a declared profile scope projects it.

From this Skill directory, run:

python3 scripts/ecosystem_doctor.py --governance ./skill-ecosystem-governance.json
python3 scripts/ecosystem_doctor.py --governance ./skill-ecosystem-governance.json --json

Use --skip-loom only when Loom is intentionally outside scope. A missing Loom binary is an error when Loom validation is requested. Use --fail-on-warn for a strict release gate.

For the deployed policy, run the exposure reconciler without --apply first:

python3 scripts/ecosystem_reconcile.py \
  --registry ~/.loom-registry \
  --policy ~/.loom-registry/SKILL_GOVERNANCE_POLICY.json

The dry-run reports trigger hardening, global/project/profile/review exposure, catalog budgets, plugin-state changes, and stale registry state. Run the same command with --apply only during an explicitly authorized repair run. Plugin configuration receives a timestamped backup before its exact boolean values are changed. Re-run the dry-run afterward and require an empty plan.

If the policy declares exact progressive-disclosure splits, inspect them with:

python3 scripts/ecosystem_split.py \
  --registry ~/.loom-registry \
  --policy ~/.loom-registry/SKILL_GOVERNANCE_POLICY.json

Use --apply only after reviewing the extracted headings and destinations.

The audit checks:

  • bro
Полный SKILL.md на GitHub

Установить skill-ecosystem-doctor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlassets/remediation-log-template.mdassets/skill-governance.example.jsonevals/evals.jsonreferences/governance-schema.mdreferences/lifecycle-drift.mdreferences/remediation-playbook.mdreferences/runtime-contracts.mdrequirements.txtscripts/ecosystem_checks.pyscripts/ecosystem_doctor.pyscripts/ecosystem_exposure.pyscripts/ecosystem_governance.pyscripts/ecosystem_legacy.pyscripts/ecosystem_model.pyscripts/ecosystem_plugins.pyscripts/ecosystem_reconcile.pyscripts/ecosystem_runtimes.pyscripts/ecosystem_scans.pyscripts/ecosystem_split.py

FAQ

Что делает скилл skill-ecosystem-doctor?

Audit and safely repair cross-runtime Skill governance: canonical-source ownership, divergent or duplicate projections, exposure scopes and budgets, lifecycle drift, quarantine, and retirement. Use when the user explicitly requests cross-runtime or cross-scope Skill governance; ignore project-local Skill inventory, product/runtime loading or enablement checks, usage statistics, and mentions/traces.

Как установить скилл skill-ecosystem-doctor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skill-ecosystem-doctor запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить skill-ecosystem-doctor с