Skip to content

[Bug]: openclaw doctor reports platform-incompatible skills (macOS-only / Linux-only) as 'missing requirements' on incompatible hosts #89232

Closed

Description

@CameronWeller

Summary

On Windows, openclaw doctor reports ~37 skills as "missing requirements" — almost all of which are macOS-only (apple-notes, bear-notes, imsg, homebrew, etc.) and cannot work on Windows by design. The user has no resolution path: the skills aren't broken installs, they're just on the wrong OS. The noise drowns out genuinely-broken installs that DO need attention.

Repro

  1. Fresh OpenClaw install on Windows.
  2. Install the standard ClawHub skill bundle (or ship pre-bundled — same effect).
  3. Run openclaw doctor.
  4. Observe ~37 entries flagged as "missing requirements" — apple-notes, bear-notes, imsg, homebrew, applescript, etc.

Expected

Skills with a declared platform requirement that doesn't match the current OS should be either:

  • Silently auto-skipped with no warning entry (cleanest), OR
  • Surfaced as a single concise "N skills not supported on this platform — auto-skipped" line, OR
  • Grouped under a separate "incompatible (platform mismatch)" section instead of mixed with genuinely-broken installs.

Actual

Every platform-mismatched skill appears in the same flat "missing requirements" list as actual broken installs. Real issues get hidden in the noise.

Suggested fix

In the doctor pre-flight, branch on skill.requirements.platforms (or equivalent metadata) vs process.platform and filter platform-mismatched entries out of the active warning list. A separate "skipped (incompatible platform)" rollup is fine — but it should be at most one line, not 30+.

Workaround

openclaw doctor --fix will disable them — but that's a user-visible state change, loses the metadata for users who later move to a compatible OS, and is overkill since the skills aren't actually broken, just inapplicable.

Environment

  • Windows 11 Pro 10.0.26200
  • OpenClaw 2026.5.28

Activity

  1. clawsweeper commented on Jun 1, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 15, 2026, 7:30 AM ET / 11:30 UTC.

    Summary
    Keep open: current main and v2026.6.6 still mix OS-mismatched skills into ordinary doctor missing-requirement and doctor --fix targets, while #89260 is an open closing PR for this issue.

    Reproducibility: yes. Source inspection shows unsupported OS requirements populate missing.os, make the skill ineligible, and current doctor code counts and repairs those entries as ordinary unavailable skills; I did not run the Windows bundle scenario live.

    Next step
    No new ClawSweeper fix lane: a clean open PR already closes this issue and should be reviewed or replaced, not duplicated.

    Review details

    Best possible solution:

    Land #89260, or an equivalent shared-evaluator-based fix, so doctor rolls up platform-only mismatches separately and keeps genuine missing requirements actionable.

    Do we have a high-confidence way to reproduce the issue?

    Yes. Source inspection shows unsupported OS requirements populate missing.os, make the skill ineligible, and current doctor code counts and repairs those entries as ordinary unavailable skills; I did not run the Windows bundle scenario live.

    Is this the best way to solve the issue?

    Yes. The linked shared-evaluator-based PR is the narrow maintainable path because it uses missing.os, preserves remote-platform eligibility, and updates both the doctor summary and doctor --fix target.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • No live Windows full-bundle doctor run was executed in this read-only pass; confidence comes from source inspection, current release source, sibling tests, and the linked PR's production-function proof.

    Codex review notes: model internal, reasoning high; reviewed against 8682d0701b27.

    Label changes

    Label changes:

    • remove clawsweeper:no-new-fix-pr: Current issue advisory state no longer selects this label.
    • remove clawsweeper:linked-pr-open: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: This is a normal-priority doctor diagnostics bug with clear Windows setup impact but limited blast radius to skills readiness reporting and repair prompts.
    • impact:other: The issue affects setup diagnostics by hiding real missing skill requirements behind noisy platform-incompatible skill entries.
    Evidence reviewed

    What I checked:

    Likely related people:

    • mushuiyu_xydt: Current-line blame on the central doctor, skill status, and requirements files points to a recent broad refactor commit that carried forward the present behavior. (role: recent area contributor; confidence: medium; commits: 44e6caff5401; files: src/skills/discovery/status.ts, src/commands/doctor-workspace-status.ts, src/commands/doctor-skills-core.ts)
    • steipete: History for the shared requirements evaluator and onboarding OS split points to the commits that define the missing.os contract this fix should reuse. (role: shared requirements contributor; confidence: high; commits: 4f61a3f52735, bc0160d0f2e0, 268094938b69; files: src/shared/requirements.ts, src/commands/onboard-skills.ts)
    • Alix-007: The open closing PR implements the platform-incompatible classification and doctor --fix exclusion for this issue. (role: active linked fix author; confidence: medium; commits: 979b5802ba83; files: src/skills/discovery/status.ts, src/commands/doctor-workspace-status.ts, src/commands/doctor-skills-core.ts)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P2
    impact:other
    issue-rating: 🦞 diamond lobster
    clawsweeper:source-repro
    clawsweeper:queueable-fix
    clawsweeper:fix-shape-clear
    on Jun 1, 2026
  3. added
    clawsweeper:linked-pr-open
    clawsweeper:no-new-fix-pr
    and removed
    clawsweeper:fix-shape-clear
    clawsweeper:queueable-fix
    on Jun 15, 2026
  4. locked as resolved and limited conversation to collaborators on Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:linked-pr-openclawsweeper:no-new-fix-prclawsweeper:source-reproimpact:otherissue-rating: 🦞 diamond lobster

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions