[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75P0JQEGMCFFGZ7GG3DZCHV":3,"skill-same:01M75P0JQEGMCFFGZ7GG3DZCHV":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M75P0JQEGMCFFGZ7GG3DZCHV","doctor",null,"Use when asked to run Crew Doctor, verify installation or onboarding, debug missing roles\u002Fskills, or report what this session can reach. Separates installed, enabled, runtime-loaded, granted, degraded, and untested evidence.","pixeloven\u002Fcrew","pixeloven","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5751260?v=4","01M75P0048G371B0AWRKQ7FJN8","PixelOven","01M75P0051RK1ZEY0SA9HCMX2Z",1,"MIT","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Fskills\u002Fdoctor\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: doctor\ndescription: Use when asked to run Crew Doctor, verify installation or onboarding, debug missing roles\u002Fskills, or report what this session can reach. Separates installed, enabled, runtime-loaded, granted, degraded, and untested evidence.\ntier: concept\nrequires: []\n---\n\n# Doctor\n\nCrew Doctor is fully read-only. Never install, enable, update, delete, edit, or\nrestart anything while running it. Absence is evidence, not permission to repair.\nRun free checks first and report only the current harness's runtime as runtime\ntruth; one harness cannot verify another.\n\n## Evidence vocabulary\n\nKeep these dimensions separate:\n\n- **installation** — package\u002Fcatalogue files exist at a declared install root;\n- **enablement** — settings select that installation;\n- **resolved runtime** — this harness actually loaded it in this session;\n- **capability grant** — the session was given a tool or credential surface.\n\nFor observations use exactly: **present** (visible, not exercised), **working**\n(a read-only probe succeeded), **unavailable** (absent or a probe proved unusable),\n**not tested** (deliberately unprobed), **loaded-but-undiscoverable** (loaded but\nits description is absent), **truncated**, and **omitted**. A config claim is\nnever `working`. Label every report item as **fact**, **inference**,\n**recommendation**, or **untested** and retain the command\u002Fpath that produced it.\n\n## Probe cost and order\n\nRun these free, read-only checks before considering inference calls:\n\n1. inspect settings, manifests, registries, caches, and the session's supplied\n   tool\u002Fskill\u002Fagent catalogues;\n2. `claude plugin validate \u003Cabsolute-crew-root> --strict` and\n   `claude --plugin-dir \u003Cabsolute-crew-root> plugin details crew`;\n3. `codex debug prompt-input \"hi\"` for Codex's model-visible catalogue — this\n   is native introspection and makes no model call;\n4. the distributed validators under the resolved Crew package root.\n\n`claude -p`, `pi -p`, `codex exec`, and equivalent prompt-mediated probes are\n**billed**. Never run one without explicit approval for that probe. State what\nthe billed run would establish and leave it `not tested` when approval is absent.\nA fresh session is sometimes the only runtime proof after an install change;\nthat does not make it free or implicitly authorized.\n\n`scripts\u002Fcrew_doctor.py` contains the fixture-tested evidence rules and probe\nledger. It starts no model processes. Locate it from the **resolved package\nroot**, never from the consumer's `scripts\u002F` directory:\n\n- Pi git package: the checkout containing `.claude-plugin\u002Fplugin.json`;\n- Claude: the marketplace\u002Fcache `installLocation` or `installPath` root;\n- Codex: the parent of the `\u002Fskills` root shown by `codex debug prompt-input`.\n\nRun `python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Fcheck_skill_layout.py\n\u002Fabsolute\u002Fconsumer\u002Frepo`. Both paths must be absolute. This prevents a consumer's\nsame-named script from being invoked. If the installed root lacks the validator,\nreport that installed version as unable to perform the gate; do not fall back to\nan incidental source clone.\n\n## Checks\n\n### 1. Reconcile installation, enablement, and version\n\n**Pi.** In applicable project\u002Fuser `.pi\u002Fsettings.json`, find the current git\nidentity `git:github.com\u002Fpixeloven\u002Fcrew@vX.Y.Z`. Report the configured pin and\nthe resolved checkout separately. Read the resolved version from that checkout's\n`.claude-plugin\u002Fplugin.json`; never use `git describe`. A pin below `v0.35.0` is\n**DEGRADED**, not missing: pi-subagents silently drops roles without frontmatter\n`name:`, so the Crew fleet is invisible below the first role-discoverable\nrelease. From `v0.62.0`, Crew on Pi ships skills and readable role files only:\nit declares no pi-subagents agents, peer, or `crew_agent` tool, so do not report\ntheir absence as a fault. Also report duplicate\nproject\u002Fuser scopes and which scope the current runtime actually resolved, if\nthis Pi session exposes it.\n\n**Claude Code.** Reconcile four distinct facts:\n\n1. settings declare marketplace `pixeloven` (sourced from `pixeloven\u002Fmarketplace`)\n   and enable `crew@pixeloven`;\n2. `known_marketplaces.json` records source, install location, and timestamp —\n   it does **not** carry a served version;\n3. the marketplace clone's `.claude-plugin\u002Fplugin.json` carries the served\n   version;\n4. `installed_plugins.json` records installed paths\u002Fversions\u002Fscopes. Enumerate\n   every `plugins[\"crew@pixeloven\"][]` record and flag stale or duplicate scopes.\n\nOnly this Claude session's catalogue can prove its loaded version. Registry\nagreement is installation evidence, not runtime proof.\n\n**Codex.** Check the marketplace pin and `plugins.\"crew@pixeloven\".enabled` in\n`config.toml`, then inspect\n`~\u002F.codex\u002Fplugins\u002Fcache\u002F\u003Cmarketplace>\u002F\u003Cplugin>\u002F\u003Cversion>\u002Fskills` and the exact\nskill-root paths from free `codex debug prompt-input`. A repo\u002Fuser\n`.agents\u002Fskills\u002F` copy remains a supported vendored alternative. Report every\nroot and version; duplicate\u002Fstale roots are findings. An absent `mcp_servers`\nentry belongs only to the capability-grant check below, never installation.\n\nAfter all three, report cross-harness version skew as an observed comparison,\nwithout claiming that any one harness loaded another harness's files.\n\n### 2. Validate entry files without judging by size\n\nConfirm the repo-root `AGENTS.md`; Claude projects normally have a `CLAUDE.md`\nimporting it. Audit behavior, filled placeholders, delegation, tripwires,\ndelivery contracts, and runbook pointers. Facts may merit an Onboarding\nrecommendation, but a mature or long file is not inherently degraded.\n\nThe reporting contract is a required spine section, however mature the file.\nCheck it with the read-only helper from the resolved package root:\n`python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Fonboarding_contract.py\n--check-reporting \u002Fabsolute\u002Fconsumer\u002Frepo\u002FAGENTS.md`. A missing section is\n**MISSING** and a section without its decisions-first rule is **DEGRADED**; both\nare drift for Onboarding to merge, never for Doctor to repair. When the session's\nhost reserves `AGENTS.md` for humans, add `--audit-profile hosted`: a missing or\npartial section is **N\u002FA** instead of drift, because the host's task contract\nsupplies reporting; a complete section is still **OK**.\n\n### 3. Separate capability declarations from working probes\n\nDerive foundation requirements from installed `requires:` frontmatter and local\nrequirements from the consumer overlay. A listed tool\u002Fgrant is `present`; call\nonly safe read-only probes and promote it to `working` on success. A failed probe\nis `unavailable`; an intentionally skipped or billed probe is `not tested`.\nInspecting an MCP config proves configuration only. Record shell\u002FCLI fallback as\na separate capability, not MCP parity.\n\n### 4. Derive local slots and profile\n\nUnion the installed catalogue's actual `expects-local:` declarations. Today the\ndeclared set is `platform-conventions`, `topology`, `protected-seams`,\n`secret-paths`, `agent-runtime`, and `decision-record-format`; derive rather than hard-code it in a report.\nCrew currently ships no recommended vocabulary beyond the declared slots; a name\nthat no installed skill declares must never appear as unfilled.\n\nPass the other installed plugin and package roots found in check 1 to\n`inspect_packs`. A root is a pack when a skill declares `plugin:crew@>=X` or\n`provides:`. Then pass the packs to `declared_local_slots(..., packs=...)`: each\npack's `slots.txt` adds its own slots to the declared set, labelled with the\npack, and an unfilled one is reported as that pack's slot. A slot name two packs\ndeclare, or a pack declares over a Crew slot, is `DEGRADED`; never pick an owner.\n\nThen report who fills each declared slot. A local overlay skill fills a slot by\n`provides:` or by the `\u003Cproject>-\u003Cslot>` naming convention; a pack skill fills one\nonly by `provides:`, including a slot another pack declares. Report \"slot X\nfilled by pack Y\" alongside local fills. **A local overlay outranks a pack.** On\nClaude and Codex both copies\nload, so name both. A local fill that still carries `▸ Fill` is `DEGRADED`\n(partial): name its unfilled section headings and point at onboarding (Thorough). Verify every pack's `plugin:crew@>=X` against the resolved\nCrew manifest; an unmet minimum is `DEGRADED`.\n\nThen check for skills that moved out of Crew. `moved_skill_references` scans the\nconsumer's `AGENTS.md`, `CLAUDE.md`, local skills, and role overlays for any name\nin the `MOVED_SKILLS` table, bare or `crew:`-prefixed; pass its result with the\ndetected packs to `compose_doctor_report`. A referenced skill whose pack is not\ndetected is `DEGRADED` — name the pack to install. With the pack installed, a\nlingering `crew:\u003Cskill>` is still `DEGRADED` until it becomes `\u003Cpack>:\u003Cskill>`.\nReport only; the rename is Onboarding's to propose.\n\nReport the always-on description total for Crew plus every detected pack against\nthe dated harness budgets in `crew_doctor.py`, which are measurements and not\nlimits. This row never fails. When the total exceeds a budget, name the packs an\noperator could disable for headroom.\n\nAlso pass `entry_file_cost(\u003Ccrew root>)` as `entry_file=`. The\n`description-cost.entry-file` row sizes, in the same characters, the sections\nOnboarding merges from `templates\u002FAGENTS.md` into the entry file, names the\nlargest, and adds them to the description total for the full always-on cost.\nIt measures Crew's template, not the consumer's file. This row never fails: the\nmerged sections, Work quality included, are always-on by design.\n\nFor Claude Code, also pass `claude_listing_inputs(\u003Cproject>, \u003Chome>,\ncontext_window=\u003Cthis session's window>)` as `claude_listing=`. The\n`description-cost.claude-code` row predicts which Crew and pack skills Claude\nCode would list by name only. It is `DEGRADED` when any would, and `N\u002FA` when no\nwindow is supplied, in which case it predicts for 200K and 1M. The fix it names\nis `skillListingBudgetFraction`, sized for the smallest collapsing window, or\n`SLASH_COMMAND_TOOL_CHAR_BUDGET` when that variable sets the budget. It also\nrecommends project-scope enablement for any pack enabled in user settings. Other plugins and synced skills are not\ncounted, so a crowded session collapses sooner than predicted.\n\nEmit exactly one profile using this shared taxonomy:\n\n- `personas` when repository evidence declares an OpenClaw\u002Fpersona runtime;\n- otherwise `platform` when at least one project capability is **working**;\n- otherwise `portable`.\n\nPersona evidence takes precedence; list working platform capabilities separately.\nOnboarding consumes this exact value and rule.\n\n### 5. Validate role files and effective posture\n\nValidate package roles plus consumer `agents\u002F*.md`, `.claude\u002Fagents\u002F**\u002F*.md`, and\n`.pi\u002Fagents\u002F**\u002F*.md` with the absolute package-root layout validator. Require YAML\nfrontmatter `name` and `description`. Neutral and Pi role names must match their\nfilenames; a Claude consumer role's frontmatter `name` owns its resolved identity\nand may differ from its filename. Claude role names use lowercase letters and\nhyphens. Reject missing, malformed, or duplicate resolved identities. A Pi\noverlay shadows a Crew role only when it declares `package: crew` with the same\nname (identity `crew.\u003Crole>`); report a bare-named one as a separate agent, and a\nbare `reviewer` or `researcher` as overriding the pi-subagents built-in. A missing\nPi name is a silent-drop finding. Reject `model`, `thinking`,\n`effort`, `model_reasoning_effort`, `turnBudget`, and `maxTurns`: dispatch owns them.\n\nReport every resolved role's effective tools, not only its declared posture.\n`drafts` on Claude denies surgical `Edit`\u002F`NotebookEdit` but retains `Write`, so\nit can create **and overwrite** files. All shipped roles retain shell access;\ntherefore frontmatter write restrictions are advisory unless the host sandbox or\npermission system enforces them.\n\nPackage-role runtime expectations are harness-specific: Claude and Pi should\nresolve the six rendered roles; Codex plugins do not carry them, so confirm the\nproject's routing contract and available Codex dispatch primitives instead.\n\n### 6. Check intake and collisions\n\nIf Triage is routed, read the repository's label taxonomy and verify it through\nthe configured GitHub interface. Do not create labels. For collisions, Pi's flat\nnamespace lets the nearest project entry win; Claude and Codex namespace plugin\nskills (`crew:name`) so plugin and bare project entries coexist. Name both copies,\ntheir roots, and whether the local copy appears stale. Counts are per resolved\nruntime name, so a namespaced collision counts as two.\n\n### 7. Compare disk and runtime in both directions\n\nEnumerate directory-form skill files in the resolved foundation root and local\noverlay. Compare them with **this harness's** model-visible catalogue. Report:\n\n- disk-only entries as `omitted` when a runtime catalogue was captured, or `not\n  tested` when none was;\n- runtime-only entries as `present` from another root and identify that root;\n- entries with absent descriptions as `loaded-but-undiscoverable`;\n- shortened descriptions as `truncated`;\n- exact, usable entries as `working`.\n\nBoth Codex and Claude can degrade catalogues under pressure. Codex may report\n`omitted_skills` and `truncated_skill_descriptions`; observed totals are dated\nmeasurements, not permanent byte limits. Pi runtime discovery must come from Pi;\nif unavailable, say `not tested`. A matching count is insufficient: pass only\nwhen names, backing roots, and full descriptions match after applying the\nharness's namespace rules.\n\n### 8. Compare the capability map with this machine\n\nRun the read-only inventory engine from the resolved package root:\n`python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Fcrew_inventory.py --project\n\u002Fabsolute\u002Fconsumer\u002Frepo --format json`. Pipe what only this session can see\nwith `--observations -`: the MCP servers and tool names visible to you, in the\ncapture shape (`schema_version: 1`, `harness`, `captured_at`,\n`source_command`). Never run `claude mcp list` or `codex mcp list` to get\nthem. An observation can raise a provider to `present`, never to `working`.\n\nPass the result to `compose_doctor_report` as `inventory=`. The\n`inventory.capability-map` row compares the `## Capabilities` table in the\n`agent-runtime` slot with this machine:\n\n- **OK** when the digest in its markers matches;\n- **DEGRADED** when it differs on this machine, naming the changed rows. A\n  committed map can describe a teammate's machine, so recommend onboarding\n  and let the operator decide;\n- **MISSING** when there are no markers, or only the template's empty ones.\n\nReport only. Writing the map is Onboarding's job.\n\n### 9. Check the proposal queue and learned skills\n\nRead the consumer's declared `proposal-queue:` and learned skills with\n`learn_contract.inspect_proposals(\u003Cconsumer-root>, tool_versions=...)` (or\n`python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Flearn_contract.py --inspect\n\u003Cconsumer-root> --tool-version gh=X.Y.Z`), and pass the result to\n`compose_doctor_report(proposals=...)`. Supply only versions this session\nobserved, such as a `gh --version` you already ran; an unsupplied version stays\nuntested. The rows follow docs\u002FLEARNING.md:\n\n- `proposals.queue` — `N\u002FA` when nothing is declared (learn is report-only);\n  `DEGRADED` when the queue sits in a skill root or holds a malformed proposal.\n- `proposals.staleness` — `DEGRADED` when an open proposal's target hash or tool\n  version moved since drafting.\n- `learned.skills` — `DEGRADED` when a learned skill's marker version differs\n  from the current tool; name its `promoted-in` commit to roll back.\n\nThere is no age threshold. Report only: promotion and rollback are the operator's.\n\n## Report contract\n\nProduce one row per check:\n\n`check | status (OK \u002F MISSING \u002F DEGRADED \u002F N\u002FA) | fact | inference | recommendation | untested | repeatable evidence`\n\nThen include:\n\n- **Profile:** one of `portable`, `platform`, `personas`, using the rule above;\n- **Top action:** exactly one highest-leverage next action, or `healthy — nothing\n  to do`.\n\nNever turn an untested state into an assertion. Keep Doctor read-only even when\nthe next action is obvious.\n","# Doctor\n\nCrew Doctor is fully read-only. Never install, enable, update, delete, edit, or\nrestart anything while running it. Absence is evidence, not permission to repair.\nRun free checks first and report only the current harness's runtime as runtime\ntruth; one harness cannot verify another.\n\n## Evidence vocabulary\n\nKeep these dimensions separate:\n\n- **installation** — package\u002Fcatalogue files exist at a declared install root;\n- **enablement** — settings select that installation;\n- **resolved runtime** — this harness actually loaded it in this session;\n- **capability grant** — the session was given a tool or credential surface.\n\nFor observations use exactly: **present** (visible, not exercised), **working**\n(a read-only probe succeeded), **unavailable** (absent or a probe proved unusable),\n**not tested** (deliberately unprobed), **loaded-but-undiscoverable** (loaded but\nits description is absent), **truncated**, and **omitted**. A config claim is\nnever `working`. Label every report item as **fact**, **inference**,\n**recommendation**, or **untested** and retain the command\u002Fpath that produced it.\n\n## Probe cost and order\n\nRun these free, read-only checks before considering inference calls:\n\n1. inspect settings, manifests, registries, caches, and the session's supplied\n   tool\u002Fskill\u002Fagent catalogues;\n2. `claude plugin validate \u003Cabsolute-crew-root> --strict` and\n   `claude --plugin-dir \u003Cabsolute-crew-root> plugin details crew`;\n3. `codex debug prompt-input \"hi\"` for Codex's model-visible catalogue — this\n   is native introspection and makes no model call;\n4. the distributed validators under the resolved Crew package root.\n\n`claude -p`, `pi -p`, `codex exec`, and equivalent prompt-mediated probes are\n**billed**. Never run one without explicit approval for that probe. State what\nthe billed run would establish and leave it `not tested` when approval is absent.\nA fresh session is sometimes the only runtime proof after an install change;\nthat does not make it free or implicitly authorized.\n\n`scripts\u002Fcrew_doctor.py` contains the fixture-tested evidence rules and probe\nledger. It starts no model processes. Locate it from the **resolved package\nroot**, never from the consumer's `scripts\u002F` directory:\n\n- Pi git package: the checkout containing `.claude-plugin\u002Fplugin.json`;\n- Claude: the marketplace\u002Fcache `installLocation` or `installPath` root;\n- Codex: the parent of the `\u002Fskills` root shown by `codex debug prompt-input`.\n\nRun `python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Fcheck_skill_layout.py\n\u002Fabsolute\u002Fconsumer\u002Frepo`. Both paths must be absolute. This prevents a consumer's\nsame-named script from being invoked. If the installed root lacks the validator,\nreport that installed version as unable to perform the gate; do not fall back to\nan incidental source clone.\n\n## Checks\n\n### 1. Reconcile installation, enablement, and version\n\n**Pi.** In applicable project\u002Fuser `.pi\u002Fsettings.json`, find the current git\nidentity `git:github.com\u002Fpixeloven\u002Fcrew@vX.Y.Z`. Report the configured pin and\nthe resolved checkout separately. Read the resolved version from that checkout's\n`.claude-plugin\u002Fplugin.json`; never use `git describe`. A pin below `v0.35.0` is\n**DEGRADED**, not missing: pi-subagents silently drops roles without frontmatter\n`name:`, so the Crew fleet is invisible below the first role-discoverable\nrelease. From `v0.62.0`, Crew on Pi ships skills and readable role files only:\nit declares no pi-subagents agents, peer, or `crew_agent` tool, so do not report\ntheir absence as a fault. Also report duplicate\nproject\u002Fuser scopes and which scope the current runtime actually resolved, if\nthis Pi session exposes it.\n\n**Claude Code.** Reconcile four distinct facts:\n\n1. settings declare marketplace `pixeloven` (sourced from `pixeloven\u002Fmarketplace`)\n   and enable `crew@pixeloven`;\n2. `known_marketplaces.json` records source, install location, and timestamp —\n   it does **not** carry a served version;\n3. the marketplace clone's `.claude-plugin\u002Fplugin.json` carries the served\n   version;\n4. `installed_plugins.json` records installed paths\u002Fversions\u002Fscopes. Enumerate\n   every `plugins[\"crew@pixeloven\"][]` record and flag stale or duplicate scopes.\n\nOnly this Claude session's catalogue can prove its loaded version. Registry\nagreement is installation evidence, not runtime proof.\n\n**Codex.** Check the marketplace pin and `plugins.\"crew@pixeloven\".enabled` in\n`config.toml`, then inspect\n`~\u002F.codex\u002Fplugins\u002Fcache\u002F\u003Cmarketplace>\u002F\u003Cplugin>\u002F\u003Cversion>\u002Fskills` and the exact\nskill-root paths from free `codex debug prompt-input`. A repo\u002Fuser\n`.agents\u002Fskills\u002F` copy remains a supported vendored alternative. Report every\nroot and version; duplicate\u002Fstale roots are findings. An absent `mcp_servers`\nentry belongs only to the capability-grant check below, never installation.\n\nAfter all three, report cross-harness version skew as an observed comparison,\nwithout claiming that any one harness loaded another harness's files.\n\n### 2. Validate entry files without judging by size\n\nConfirm the repo-root `AGENTS.md`; Claude projects normally have a `CLAUDE.md`\nimporting it. Audit behavior, filled placeholders, delegation, tripwires,\ndelivery contracts, and runbook pointers. Facts may merit an Onboarding\nrecommendation, but a mature or long file is not inherently degraded.\n\nThe reporting contract is a required spine section, however mature the file.\nCheck it with the read-only helper from the resolved package root:\n`python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Fonboarding_contract.py\n--check-reporting \u002Fabsolute\u002Fconsumer\u002Frepo\u002FAGENTS.md`. A missing section is\n**MISSING** and a section without its decisions-first rule is **DEGRADED**; both\nare drift for Onboarding to merge, never for Doctor to repair. When the session's\nhost reserves `AGENTS.md` for humans, add `--audit-profile hosted`: a missing or\npartial section is **N\u002FA** instead of drift, because the host's task contract\nsupplies reporting; a complete section is still **OK**.\n\n### 3. Separate capability declarations from working probes\n\nDerive foundation requirements from installed `requires:` frontmatter and local\nrequirements from the consumer overlay. A listed tool\u002Fgrant is `present`; call\nonly safe read-only probes and promote it to `working` on success. A failed probe\nis `unavailable`; an intentionally skipped or billed probe is `not tested`.\nInspecting an MCP config proves configuration only. Record shell\u002FCLI fallback as\na separate capability, not MCP parity.\n\n### 4. Derive local slots and profile\n\nUnion the installed catalogue's actual `expects-local:` declarations. Today the\ndeclared set is `platform-conventions`, `topology`, `protected-seams`,\n`secret-paths`, `agent-runtime`, and `decision-record-format`; derive rather than hard-code it in a report.\nCrew currently ships no recommended vocabulary beyond the declared slots; a name\nthat no installed skill declares must never appear as unfilled.\n\nPass the other installed plugin and package roots found in check 1 to\n`inspect_packs`. A root is a pack when a skill declares `plugin:crew@>=X` or\n`provides:`. Then pass the packs to `declared_local_slots(..., packs=...)`: each\npack's `slots.txt` adds its own slots to the declared set, labelled with the\npack, and an unfilled one is reported as that pack's slot. A slot name two packs\ndeclare, or a pack declares over a Crew slot, is `DEGRADED`; never pick an owner.\n\nThen report who fills each declared slot. A local overlay skill fills a slot by\n`provides:` or by the `\u003Cproject>-\u003Cslot>` naming convention; a pack skill fills one\nonly by `provides:`, including a slot another pack declares. Report \"slot X\nfilled by pack Y\" alongside local fills. **A local overlay outranks a pack.** On\nClaude and Codex both copies\nload, so name both. A local fill that still carries `▸ Fill` is `DEGRADED`\n(partial): name its unfilled section headings and point at onboarding (Thorough). Verify every pack's `plugin:crew@>=X` against the resolved\nCrew manifest; an unmet minimum is `DEGRADED`.\n\nThen check for skills that moved out of Crew. `moved_skill_references` scans the\nconsumer's `AGENTS.md`, `CLAUDE.md`, local skills, and role overlays for any name\nin the `MOVED_SKILLS` table, bare or `crew:`-prefixed; pass its result with the\ndetected packs to `compose_doctor_report`. A referenced skill whose pack is not\ndetected is `DEGRADED` — name the pack to install. With the pack installed, a\nlingering `crew:\u003Cskill>` is still `DEGRADED` until it becomes `\u003Cpack>:\u003Cskill>`.\nReport only; the rename is Onboarding's to propose.\n\nReport the always-on description total for Crew plus every detected pack against\nthe dated harness budgets in `crew_doctor.py`, which are measurements and not\nlimits. This row never fails. When the total exceeds a budget, name the packs an\noperator could disable for headroom.\n\nAlso pass `entry_file_cost(\u003Ccrew root>)` as `entry_file=`. The\n`description-cost.entry-file` row sizes, in the same characters, the sections\nOnboarding merges from `templates\u002FAGENTS.md` into the entry file, names the\nlargest, and adds them to the description total for the full always-on cost.\nIt measures Crew's template, not the consumer's file. This row never fails: the\nmerged sections, Work quality included, are always-on by design.\n\nFor Claude Code, also pass `claude_listing_inputs(\u003Cproject>, \u003Chome>,\ncontext_window=\u003Cthis session's window>)` as `claude_listing=`. The\n`description-cost.claude-code` row predicts which Crew and pack skills Claude\nCode would list by name only. It is `DEGRADED` when any would, and `N\u002FA` when no\nwindow is supplied, in which case it predicts for 200K and 1M. The fix it names\nis `skillListingBudgetFraction`, sized for the smallest collapsing window, or\n`SLASH_COMMAND_TOOL_CHAR_BUDGET` when that variable sets the budget. It also\nrecommends project-scope enablement for any pack enabled in user settings. Other plugins and synced skills are not\ncounted, so a crowded session collapses sooner than predicted.\n\nEmit exactly one profile using this shared taxonomy:\n\n- `personas` when repository evidence declares an OpenClaw\u002Fpersona runtime;\n- otherwise `platform` when at least one project capability is **working**;\n- otherwise `portable`.\n\nPersona evidence takes precedence; list working platform capabilities separately.\nOnboarding consumes this exact value and rule.\n\n### 5. Validate role files and effective posture\n\nValidate package roles plus consumer `agents\u002F*.md`, `.claude\u002Fagents\u002F**\u002F*.md`, and\n`.pi\u002Fagents\u002F**\u002F*.md` with the absolute package-root layout validator. Require YAML\nfrontmatter `name` and `description`. Neutral and Pi role names must match their\nfilenames; a Claude consumer role's frontmatter `name` owns its resolved identity\nand may differ from its filename. Claude role names use lowercase letters and\nhyphens. Reject missing, malformed, or duplicate resolved identities. A Pi\noverlay shadows a Crew role only when it declares `package: crew` with the same\nname (identity `crew.\u003Crole>`); report a bare-named one as a separate agent, and a\nbare `reviewer` or `researcher` as overriding the pi-subagents built-in. A missing\nPi name is a silent-drop finding. Reject `model`, `thinking`,\n`effort`, `model_reasoning_effort`, `turnBudget`, and `maxTurns`: dispatch owns them.\n\nReport every resolved role's effective tools, not only its declared posture.\n`drafts` on Claude denies surgical `Edit`\u002F`NotebookEdit` but retains `Write`, so\nit can create **and overwrite** files. All shipped roles retain shell access;\ntherefore frontmatter write restrictions are advisory unless the host sandbox or\npermission system enforces them.\n\nPackage-role runtime expectations are harness-specific: Claude and Pi should\nresolve the six rendered roles; Codex plugins do not carry them, so confirm the\nproject's routing contract and available Codex dispatch primitives instead.\n\n### 6. Check intake and collisions\n\nIf Triage is routed, read the repository's label taxonomy and verify it through\nthe configured GitHub interface. Do not create labels. For collisions, Pi's flat\nnamespace lets the nearest project entry win; Claude and Codex namespace plugin\nskills (`crew:name`) so plugin and bare project entries coexist. Name both copies,\ntheir roots, and whether the local copy appears stale. Counts are per resolved\nruntime name, so a namespaced collision counts as two.\n\n### 7. Compare disk and runtime in both directions\n\nEnumerate directory-form skill files in the resolved foundation root and local\noverlay. Compare them with **this harness's** model-visible catalogue. Report:\n\n- disk-only entries as `omitted` when a runtime catalogue was captured, or `not\n  tested` when none was;\n- runtime-only entries as `present` from another root and identify that root;\n- entries with absent descriptions as `loaded-but-undiscoverable`;\n- shortened descriptions as `truncated`;\n- exact, usable entries as `working`.\n\nBoth Codex and Claude can degrade catalogues under pressure. Codex may report\n`omitted_skills` and `truncated_skill_descriptions`; observed totals are dated\nmeasurements, not permanent byte limits. Pi runtime discovery must come from Pi;\nif unavailable, say `not tested`. A matching count is insufficient: pass only\nwhen names, backing roots, and full descriptions match after applying the\nharness's namespace rules.\n\n### 8. Compare the capability map with this machine\n\nRun the read-only inventory engine from the resolved package root:\n`python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Fcrew_inventory.py --project\n\u002Fabsolute\u002Fconsumer\u002Frepo --format json`. Pipe what only this session can see\nwith `--observations -`: the MCP servers and tool names visible to you, in the\ncapture shape (`schema_version: 1`, `harness`, `captured_at`,\n`source_command`). Never run `claude mcp list` or `codex mcp list` to get\nthem. An observation can raise a provider to `present`, never to `working`.\n\nPass the result to `compose_doctor_report` as `inventory=`. The\n`inventory.capability-map` row compares the `## Capabilities` table in the\n`agent-runtime` slot with this machine:\n\n- **OK** when the digest in its markers matches;\n- **DEGRADED** when it differs on this machine, naming the changed rows. A\n  committed map can describe a teammate's machine, so recommend onboarding\n  and let the operator decide;\n- **MISSING** when there are no markers, or only the template's empty ones.\n\nReport only. Writing the map is Onboarding's job.\n\n### 9. Check the proposal queue and learned skills\n\nRead the consumer's declared `proposal-queue:` and learned skills with\n`learn_contract.inspect_proposals(\u003Cconsumer-root>, tool_versions=...)` (or\n`python3 \u002Fabsolute\u002Fresolved\u002Fcrew\u002Froot\u002Fscripts\u002Flearn_contract.py --inspect\n\u003Cconsumer-root> --tool-version gh=X.Y.Z`), and pass the result to\n`compose_doctor_report(proposals=...)`. Supply only versions this session\nobserved, such as a `gh --version` you already ran; an unsupplied version stays\nuntested. The rows follow docs\u002FLEARNING.md:\n\n- `proposals.queue` — `N\u002FA` when nothing is declared (learn is report-only);\n  `DEGRADED` when the queue sits in a skill root or holds a malformed proposal.\n- `proposals.staleness` — `DEGRADED` when an open proposal's target hash or tool\n  version moved since drafting.\n- `learned.skills` — `DEGRADED` when a learned skill's marker version differs\n  from the current tool; name its `promoted-in` commit to roll back.\n\nThere is no age threshold. Report only: promotion and rollback are the operator's.\n\n## Report contract\n\nProduce one row per check:\n\n`check | status (OK \u002F MISSING \u002F DEGRADED \u002F N\u002FA) | fact | inference | recommendation | untested | repeatable evidence`\n\nThen include:\n\n- **Profile:** one of `portable`, `platform`, `personas`, using the rule above;\n- **Top action:** exactly one highest-leverage next action, or `healthy — nothing\n  to do`.\n\nNever turn an untested state into an assertion. Keep Doctor read-only even when\nthe next action is obvious.\n",{"name":5,"tier":24,"requires":25,"description":7},"concept",[],"main","686d42537f9efddb1aeece969b1a4fee2e4d1a88","skills\u002Fdoctor",0,"https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew","https:\u002F\u002Fgithub.com\u002Fpixeloven","www.pixeloven.com","2026-11-07 09:18:41",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add pixeloven\u002Fcrew --skill doctor",{"tool":40,"command":41},"bunx","bunx skills add pixeloven\u002Fcrew --skill doctor",{"tool":43,"command":44},"pnpm","pnpm dlx skills add pixeloven\u002Fcrew --skill doctor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Fskills\u002Fdoctor\u002FSKILL.md",true,[],[49,56,63,70,76,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M75P2X72QCY4H2H6C7D3KQ1Z","orchard-gh-runs","Use when reading a failed GitHub Actions run with the gh CLI in this project, before re-running it or reporting a CI failure, so the failing step's log is read instead of the whole run.","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fproposals\u002Forchard\u002F.agents\u002Fskills\u002Forchard-gh-runs\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M75P2T76B22B314Q3W25GDCK","orchard-gh","Hand-edited after promotion; the learned marker was dropped, so Doctor and check_skills --local can no longer see it.","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fproposals\u002Finvalid\u002F.agents\u002Fskills\u002Forchard-gh\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75P2Q410WX0H3ZZ61R210F4","demo-topology","Use when exercising the inventory contract fixture so that this fixture description comfortably clears the schema-v2 minimum length.","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finventory\u002Fproject\u002F.agents\u002Fskills\u002Fdemo-topology\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M75P2KTWZ94KNSKHPGFB6Y6J","helper-jq","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finventory\u002Fhome\u002F.codex\u002Fplugins\u002Fcache\u002Facme\u002Fhelper\u002F2.0.0\u002Fskills\u002Fhelper-jq\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M75P2GT2CXZR4EZE2DS9GTS7","user-notes","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finventory\u002Fhome\u002F.claude\u002Fskills\u002Fuser-notes\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M75P2D61GDSH9NFNEBV4HDBS","toolkit-gh","https:\u002F\u002Fgithub.com\u002Fpixeloven\u002Fcrew\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Finventory\u002Fhome\u002F.claude\u002Fplugins\u002Fcache\u002Facme\u002Ftoolkit\u002F1.2.0\u002Fskills\u002Ftoolkit-gh\u002FSKILL.md",[],[]]