[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M756T6EXXXMM7BV7574RV9QF":3,"skill-same:01M756T6EXXXMM7BV7574RV9QF":59},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M756T6EXXXMM7BV7574RV9QF","doctor-universal-plugin",null,"Use this skill to diagnose a universal agent plugin — when `plugin build` reports \"built 0\" or \"nothing to build\", when it warns \"No vendors declared in harnesses\", when a repository still carries `.plugin\u002Fplugin.json` or a top-level `vendorExtensions` block after upgrading universal-plugin across a major, when a released version never reached the vendor manifests, when a runtime loads none of the plugin's skills, when a vendor manifest is missing or looks out of date after a pull, or when checking whether what the canonical plugin.json declares still matches what is on disk for Claude Code, Cursor, Codex, and GitHub Copilot CLI. Trigger on \"is my plugin set up right\", \"why isn't my plugin loading\", \"the build says built 0\", \"why did nothing get built\", \"check the plugin\", \"are the vendor manifests current\", or \"what does this plugin declare\".","cyberuni\u002Funiversal-plugin","cyberuni","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F65646890?v=4","01M756SKHC8BY8C4GQSZ9FTK9F","CyberUni","01M756SKJF0TPEBQ7YC0QVGZN6",1,"MIT","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fdoctor-universal-plugin\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: doctor-universal-plugin\ndescription: Use this skill to diagnose a universal agent plugin — when `plugin build` reports \"built 0\" or \"nothing to build\", when it warns \"No vendors declared in harnesses\", when a repository still carries `.plugin\u002Fplugin.json` or a top-level `vendorExtensions` block after upgrading universal-plugin across a major, when a released version never reached the vendor manifests, when a runtime loads none of the plugin's skills, when a vendor manifest is missing or looks out of date after a pull, or when checking whether what the canonical plugin.json declares still matches what is on disk for Claude Code, Cursor, Codex, and GitHub Copilot CLI. Trigger on \"is my plugin set up right\", \"why isn't my plugin loading\", \"the build says built 0\", \"why did nothing get built\", \"check the plugin\", \"are the vendor manifests current\", or \"what does this plugin declare\".\n---\n\n# Plugin Doctor\n\nRoot `plugin.json` is the canonical manifest. Every other manifest a runtime reads is derived from\nit, and a derived manifest that is missing, stale, or hand-edited fails silently: the runtime loads\nwhat it finds, or loads nothing, and says nothing either way.\n\nThis skill is **read-only**. It never repairs. Every finding names the skill that owns its repair —\nhand it over rather than fixing it here, because a repair can rewrite a manifest the user maintains\nand that judgment belongs to the skill that owns the write.\n\n## Diagnose\n\n```bash\nnode scripts\u002Fdoctor.mjs\n```\n\nResolve that path against this skill's own directory. It asks the project's installed CLI\n(`pnpm exec universal-plugin`), else the CLI pinned to this skill's version (`npx`), about the\ncurrent working directory; add `--root \u003Cpath>` to diagnose elsewhere.\nAdd `--marketplace-root \u003Cpath>` (repeatable) to also check a **separately-cloned** shared marketplace\nrepository (e.g. a local clone of `cyberuni\u002Fcyberplace`) — see\n[Catalogs are checked at the repository root](#catalogs-are-checked-at-the-repository-root).\nIt never prompts and never writes, so it is safe to run unattended.\n\nStdout is one JSON object — that is the contract to read, not the CLI's own terminal output:\n\n```json\n{\n  \"root\": \"…\",\n  \"manifest\": { \"name\": \"my-plugin\", \"version\": \"1.0.0\" },\n  \"vendors\": [{ \"vendor\": \"claude-code\", \"path\": \".claude-plugin\u002Fplugin.json\", \"status\": \"built\", \"exists\": true, \"stale\": false }],\n  \"findings\": [{ \"code\": \"unbuilt\", \"severity\": \"high\", \"detail\": \"…\", \"repair\": \"…\" }],\n  \"ok\": false\n}\n```\n\n`findings` is empty and `ok` is `true` when everything resolves — say so outright rather than\nreporting an empty list. Exit status is `0` whether or not findings exist; a finding is a result, not\na failure. Add `--verbose` for a human-readable summary on stderr.\n\nRead `vendors[].status` literally:\n\n| Status | Means |\n| --- | --- |\n| `built` | the build writes this vendor's output. For `copilot-cli` that output is the `com.github.copilot\u002F` component tree, not a manifest |\n| `canonical` | the vendor reads root `plugin.json`; **no file is written, and that is correct** |\n| `skipped` | an unknown vendor id — a typo in `vendors` |\n| `failed` | the write itself failed; the finding names why |\n\n`copilot-cli` reporting `canonical` is a healthy plugin, not a missing build — root `plugin.json`\nserves it, and a plugin declaring no agents, commands, rules, hooks, or LSP servers has nothing else\nto derive. Never report it as a fault.\n\nA plugin that **does** declare those reports `copilot-cli` as `built` at `com.github.copilot\u002F`\ninstead. Declaring the canonical `$schema` moves them there: Copilot CLI stops reading them from the\nplugin root entirely, so a root-only layout loads none of them and says nothing\n([ADR-0015](https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002F.agents\u002Fspec\u002Fdesign\u002Fdecisions\u002F0015-copilot-spec-mode-namespace.md)). That is what\n`copilot-root-components` reports.\n\nIf `node` is unavailable, read `scripts\u002Fdoctor.mjs` and apply the same checks by hand: it composes\n`universal-plugin plugin build --dry-run --format json` with filesystem facts that build cannot see.\n\n## Findings and their repairs\n\nEach `code` below is what the script emits.\n\n| Finding | What it means | Repair |\n| --- | --- | --- |\n| `no-manifest` | no root `plugin.json` — this is not a plugin yet | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) |\n| `legacy-manifest` | root `plugin.json` with neither `$schema` nor `extensions` — a single-vendor manifest on the canonical path | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), adopt route |\n| `vendor-only` | a vendor manifest with no canonical manifest above it | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), adopt route |\n| `unbuilt` | a declared vendor whose output path holds no file — that runtime sees no plugin | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `stale` | a derived manifest older than `plugin.json`; for a derived directory (`com.github.copilot\u002F`), its newest file is what is compared | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `hand-edited` | a derived manifest that `build` would rewrite — the edit is already lost, it just has not been overwritten yet | move the field to the canonical manifest or to `harnesses.\u003Cvendor>`, then rebuild |\n| `unknown-vendor` | a `vendors` entry no build target matches; reported as `skipped` plus a warning | fix the id in `plugin.json` |\n| `unsupported-component` | a component path on the shared extension names a component one targeted vendor has none of (`agents` for Codex, `rules` for Claude Code, …); the build leaves it out of that vendor's manifest | declare the path under `harnesses.\u003Cvendor>` for the vendors that read it, or leave it — nothing is lost |\n| `stale-script` | a compiled skill script (`scripts` in the extension) is missing, or no longer matches what its source compiles to. A script that differs only in its embedded version is `version-drift` instead, never both | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`), then commit the compiled script |\n| `script-compile-failed` | a declared script entry could not be compiled into one self-contained file — usually an import that does not resolve from the plugin root | fix the entry, then `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `script-over-budget` | a compiled skill script is over the 150 KB budget | have the skill call the installed CLI instead: `pnpm exec \u003Cbin>` with a pinned `npx` fallback |\n| `skill-link-escapes` | a relative Markdown link in a skill climbs out of the skill folder (`..\u002F..\u002Freadme.md`). pnpm links or copies each skill folder on its own, and a plugin cache keeps only what ships, so the link resolves to nothing there | copy the file into the skill and link it relatively, or link it by URL |\n| `unaccepted-metadata` | `plugin.json` writes `repository` or `author` in a form the spec allows and a targeted runtime refuses — an object `repository` where Codex reads the canonical manifest, or an `author` with no `name` for Claude Code or Cursor. The build converts what it can in the derived manifests; this is what it cannot (severity high: the runtime does not load the plugin, or loses the field) | rewrite the field in `plugin.json` as the warning says: `repository` as the URL string, `author.name` set |\n| `undeliverable-override` | `harnesses[\"copilot-cli\"]` sets fields that reach nothing | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), update route — move them to a vendor that has a derived manifest, or drop them |\n| `codex-fields-missing` | Codex is targeted without `version` or `description`; the build fails and writes **nothing at all**, including for the other vendors | add both to the canonical top level |\n| `version-drift` | one file carries a different version from the release's number — the canonical manifest, a derived vendor manifest, a catalog entry, a skill pin, a marked `mcpServers` entry, or the version a compiled skill script embeds; one finding per file, named by path | `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) (for a package-sourced drift, `universal-plugin plugin version --from-package`); then [offer the CI check](#offer-the-check-to-ci) |\n| `unstamped` | a place holds `0.0.0-development`, semantic-release's placeholder. The release has not stamped it yet, so it is not drift (severity low) | in `prepareCmd`, `plugin version ${nextRelease.version}`, and commit the stamped files back with `@semantic-release\u002Fgit`; see `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) |\n| `unreleased-content` | shipped content was committed after the commit that set the current version — a consumer keyed on that version never re-extracts it | `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) |\n| `copilot-root-components` | agents, commands, rules, hooks, or LSP servers sit at the plugin root with no copy under `com.github.copilot\u002F` — Copilot CLI reads them only from there in spec mode, so it loads none of them, silently | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `stale-github-plugin` | a leftover `.github\u002Fplugin\u002Fplugin.json` from an older build — shadowed by root and no longer generated | `\u002Funiversal-plugin:remove-plugin` (pnpm install: `pnpm-universal-plugin-remove-plugin`) |\n| `shadowing-manifest` | a `.plugin\u002Fplugin.json` exists — it outranks root in Copilot CLI's search order and silently shadows the canonical manifest | `\u002Funiversal-plugin:remove-plugin` (pnpm install: `pnpm-universal-plugin-remove-plugin`) |\n| `no-vendors` | no vendor is declared, so the build writes nothing and no runtime reads the plugin. When the repository carries `vendorExtensions` or a `.plugin\u002Fplugin.json`, the build stops rather than reporting an empty result, and the detail says so — read it beside `legacy-manifest` and `shadowing-manifest`, which name the signals | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), adopt route when `vendorExtensions` or `.plugin\u002Fplugin.json` is present, else update route |\n| `package-path-missing` | `packagePath` names a directory with no readable `package.json` | fix `packagePath`, or create the package |\n| `package-path-unknown` | the CLI could not report `packagePath` (a version too old to read it), so `version-drift` and `unreleased-content` were skipped rather than guessed | upgrade universal-plugin |\n| `undeclared-package-path` | the plugin root holds a public `package.json` that publishes `plugin.json`, but no `packagePath` is declared, so `publish-plugin` and `marketplace add` treat an npm-shipped plugin as git-distributed | declare `\"packagePath\": \".\"` in `.agents\u002Funiversal-plugin.json`, or set `\"private\": true` if the package is not published |\n| `misplaced-package-path` | `plugin.json` declares `packagePath` under `extensions[\"org.cyberuni.universal-plugin\"]`, where the CLI never reads it — the plugin is silently treated as not shipping to npm | move it to `.agents\u002Funiversal-plugin.json`, relative to the plugin root |\n| `changesets-no-package` | the repository is released with changesets, the plugin ships to no npm package, and its root has no `package.json` — changesets releases only a package, so `changeset version` and `changeset publish` fail | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) — `plugin init` writes a private `package.json` |\n| `changesets-private-untagged` | a non-npm plugin in a changesets repository, and `.changeset\u002Fconfig.json` does not set `\"privatePackages\": { \"version\": true, \"tag\": true }` — `changeset publish` tags no private package, so no release is made | set `privatePackages` in `.changeset\u002Fconfig.json` |\n| `changesets-no-publish-script` | a non-npm plugin in a changesets repository, and a workflow runs `changesets\u002Faction` with no `publish-script` (`publish` in v1) — after the Version Packages PR merges the action does nothing, so no tag or GitHub release is made | add `publish-script: pnpm release` to the step, with a `release` script running `changeset publish` |\n| `release-please-no-restamp` | the plugin ships to no npm package, `release-please-config.json` bumps its `plugin.json` through `extra-files`, and no workflow runs `plugin version` — release-please runs no command before its release commit, so the release PR leaves the vendor manifests, catalogs, skill pins and compiled scripts on the old version | add a workflow step on the release PR branch running `universal-plugin plugin version --from-manifest` and pushing the stamped files — `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) has the workflow |\n| `release-please-restamp-no-ci` | a workflow restamps the release PR with `plugin version --from-manifest` and pushes with the default `GITHUB_TOKEN` — that push starts no workflow run, so the PR's checks never run on its head commit and a required check blocks the merge. A `workflow_dispatch` re-run does not fix it: its checks do not count toward a required check | mint a GitHub App token with `actions\u002Fcreate-github-app-token` and pass it as `token:` to `release-please-action` and `actions\u002Fcheckout` — `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) has the workflow |\n| `release-it-no-stamp` | a release-it config (`.release-it.*`, or the `release-it` key of `package.json`) has no hook running `plugin version` — release-it commits and tags the release with `plugin.json` and the vendor manifests still on the previous version | add `\"hooks\": { \"after:bump\": \"universal-plugin plugin version ${version}\" }` to the config |\n| `semantic-release-no-stamp` | a semantic-release config (`.releaserc*`, `.config\u002Freleaserc*`, `release.config.*`, or the `release` key of `package.json`) has no `@semantic-release\u002Fexec` `prepareCmd` running `plugin version` — the release is tagged with `plugin.json`, the vendor manifests and the catalogs still on the previous version | add `[\"@semantic-release\u002Fexec\", { \"prepareCmd\": \"universal-plugin plugin version ${nextRelease.version}\" }]` before `@semantic-release\u002Fgit` — `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) wires it |\n| `semantic-release-npm-unshipped` | the plugin ships to no npm package, and its semantic-release config lists `@semantic-release\u002Fnpm` or relies on the default `plugins` list, which includes it — with no `package.json` the release fails (`ENOPKG`), and with one the plugin still rewrites its version | remove `@semantic-release\u002Fnpm`, writing the `plugins` list out if the config relies on the defaults — `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) wires it |\n| `semantic-release-no-commit` | a semantic-release config stamps with an `@semantic-release\u002Fexec` `prepareCmd` but runs no `@semantic-release\u002Fgit`, and no `prepareCmd` runs `git commit` — the release tag points at `plugin.json`, the vendor manifests and the catalogs still on the previous version. Severity `high`, or `medium` when the plugin ships to npm, whose package still carries the number | add `[\"@semantic-release\u002Fgit\", { \"assets\": [...] }]` after `@semantic-release\u002Fexec` — `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) wires it |\n| `semantic-release-git-before-exec` | a JSON or YAML semantic-release config lists `@semantic-release\u002Fgit` before the `@semantic-release\u002Fexec` that stamps — plugins prepare in list order, so the release commit carries the files from before the stamp | move `@semantic-release\u002Fexec` above `@semantic-release\u002Fgit` |\n| `unparsable-manifest` | root `plugin.json` is not valid JSON | fix the syntax error |\n| `invalid-catalog` | a marketplace catalog — at the repository root, or at a `--marketplace-root` clone — is not a shape its runtime loads — it is found, read, and refused at install time, in the user's terminal | `\u002Funiversal-plugin:marketplace` (pnpm install: `pnpm-universal-plugin-marketplace`) |\n| `marketplace-root-missing` | a `--marketplace-root` path does not exist, so it could not be checked at all | clone the marketplace repository, or fix the path |\n\n## Catalogs are checked at the repository root\n\nThe marketplace catalogs sit above the plugin in a monorepo, so the catalog check runs against the\nrepository root rather than `--root`. It reports only a catalog that would be **refused**: a missing\none is not a fault, and nothing here has an opinion on which catalogs a repository ought to carry.\n\nThe detail names the key at fault, so hand it to `\u002Funiversal-plugin:marketplace` (pnpm install: `pnpm-universal-plugin-marketplace`) as it stands. An\nentry's fields are derived from the plugin's `plugin.json`, and the catalog's own `name` and `owner`\nare authored in the catalog — which half is at fault decides where the repair goes.\n\nA **shared** marketplace repository (e.g. `cyberuni\u002Fcyberplace`) is a repository of its own — a bad\nentry that reached it by another path (a hand-edited entry, a PR from a different tool, a curator\nedit) is invisible to a `doctor` run inside any plugin's own repo, because that run never sees the\nshared repository at all. Clone it separately and name the clone explicitly:\n\n```bash\nnode scripts\u002Fdoctor.mjs --marketplace-root ..\u002Fmarketplace\n```\n\nPass `--marketplace-root` once per clone to check more than one. Each invalid entry it finds is still\nreported as `invalid-catalog`, with the clone's path in the detail so it reads apart from the plugin\nrepo's own catalogs; a path that does not exist is `marketplace-root-missing` rather than a silent\nskip.\n\n## Checking staleness properly\n\nThe `stale` finding is an mtime comparison, which catches the common case and nothing more. It cannot\nsee a hand-edit made after the last build. The definitive check is to rebuild on a clean tree and read\nthe diff:\n\n```bash\ngit status --short          # must be clean first, or the diff proves nothing\nnpx universal-plugin plugin build\ngit diff -- .claude-plugin .cursor-plugin .codex-plugin com.github.copilot\n```\n\nAn empty diff means the derived manifests match what the canonical manifest says. Any hunk is drift —\neither a stale build or a hand-edit that the rebuild has now discarded.\n\nThat rebuild is a **write**, so it is not part of the diagnosis. Report the check as a repair the\nuser can run, or ask before running it yourself.\n\n## Version drift\n\nA version lives in six places. Two are authored: the canonical `plugin.json`, and the `package.json`\nat the `packagePath` the CLI reports (`config get --key packagePath --infer`), resolved from the plugin\nroot. With no `packagePath` declared, a public plugin-root `package.json` that publishes `plugin.json`\ncounts as that package.\nThe rest are stamped from them by `plugin version`: the vendor manifests, this plugin's entry in each\nrepository catalog, the `npx`\u002F`upx \u003Cpackage>@\u003Cversion>` pins in the skills, and each `mcpServers`\nentry marked `pinToPluginVersion`.\n\nThe script asks `universal-plugin publish check-version` for the comparison and emits one\n`version-drift` per file that disagrees. The reference is the release's number: the `package.json`\nwhen there is one, declared or inferred, else `plugin.json`. Pins are compared only when there is a package to\npin, and a pin-exempt skill or a pin that is not a version (`\u003Cversion>`, `latest`) is skipped. A place\nholding `0.0.0-development` is reported as `unstamped`, not as `version-drift`.\n\nFiles diverge when someone ran `npm version`, or when a release tool (changesets, release-please,\nsemantic-release) moved `package.json` and nothing stamped the number on. All of it is\n`\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`)'s to fix — never patch one file by hand to match another.\n\n### Offer the check to CI\n\n`doctor` is advisory and always exits 0. `publish check-version` is the same comparison, read-only,\nand exits 1 on drift, so a repository can fail the release PR instead of publishing a plugin that\nclaims the old version. Once the version findings are reported, check whether the repository\nalready runs it: search its `package.json` scripts and `.github\u002Fworkflows\u002F` for `check-version`. If\nit does not, offer to add it — ask first, because both are the user's files:\n\n- a `verify` (or `check`) script step: `universal-plugin publish check-version --root \u003Cplugin-root>`;\n- or a CI step after install on pull requests, for the release PR a changesets, release-please, or\n  semantic-release bot opens.\n\nUse the locked `universal-plugin` from the repository's devDependencies when it has one; otherwise\n`npx universal-plugin@0.20.1`, pinned. This check matters most where the release tool picks the\nnumber, because nothing else runs between that bump and publish.\n\n## Unreleased content\n\nA runtime keys its plugin cache on the version, not on content: Claude Code resolves the version,\nfinds it unchanged, and reports *\"already at the latest version\"* without re-extracting. So content\npushed without a bump reaches nobody who already installed the plugin, and neither side is told\n([ADR-0010](https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002F.agents\u002Fspec\u002Fdesign\u002Fdecisions\u002F0010-version-policy.md) §6).\n\nThe script compares the shipped paths — the canonical manifest, the skills directory, `agents\u002F`,\n`governances\u002F`, `references\u002F`, `mcp.json` — against the commit that set the version the manifest carries now, and\nemits `unreleased-content` for anything committed since. Uncommitted work is not reported; it has not\nshipped.\n\nTwo cases are deliberately silent. A plugin whose release picks the number is skipped, because\ncontent waiting ahead of the last released version is the normal state of a branch there\n([ADR-0010](https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002F.agents\u002Fspec\u002Fdesign\u002Fdecisions\u002F0010-version-policy.md) §6). That is a plugin that ships to npm (a declared `packagePath`, or a public plugin-root `package.json` that publishes `plugin.json`), or a plugin a release tool versions:\nchangesets (`.changeset\u002F` and a private or absent plugin-root `package.json`), release-please (its\nconfig bumps this `plugin.json` through `extra-files`), semantic-release (`.releaserc*`,\n`release.config.*`, or a `release` key in `package.json`), or release-it (a `.release-it.*` file, or a\n`release-it` key in `package.json`). A tree with no git history is skipped rather than guessed at.\n\nThe repair is the bump, and it belongs to `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`). Judge first whether the change\nis meant to ship — content that is still being worked on is not a finding to act on.\n\n## Rules\n\n- **Never repair.** Report the finding and name the skill that owns it.\n- **Never hand-edit a derived manifest to make a finding go away.** The next build overwrites it and\n  the finding comes back.\n- Do not report `copilot-cli` writing no **manifest** as a fault. It reads the canonical manifest\n  directly. Its **components** are a separate question — a `copilot-root-components` finding is a real\n  fault, and `canonical` is only healthy for a plugin that declares none of the moved kinds.\n- Do not treat repo-private agent configuration (`.claude\u002Fskills\u002F`, `.agents\u002Fskills\u002F`) as part of the\n  plugin. Diagnosing a repository's own skill wiring is `buddy-agent-harness:doctor-buddy-agent-harness`.\n\n## Related skills\n\n| Task | Skill |\n|------|-------|\n| Create, adopt, or change what the plugin declares | `init-universal-plugin` |\n| Rebuild the derived manifests (`unbuilt`, `stale`, `copilot-root-components`) | `build-plugin` |\n| Move the plugin's version | `version` |\n| Remove derived manifests, or the plugin itself | `remove-plugin` |\n| Generate the repository's own marketplace catalogs | `marketplace` |\n| Publish it to the shared marketplace repository | `publish-plugin` |\n","# Plugin Doctor\n\nRoot `plugin.json` is the canonical manifest. Every other manifest a runtime reads is derived from\nit, and a derived manifest that is missing, stale, or hand-edited fails silently: the runtime loads\nwhat it finds, or loads nothing, and says nothing either way.\n\nThis skill is **read-only**. It never repairs. Every finding names the skill that owns its repair —\nhand it over rather than fixing it here, because a repair can rewrite a manifest the user maintains\nand that judgment belongs to the skill that owns the write.\n\n## Diagnose\n\n```bash\nnode scripts\u002Fdoctor.mjs\n```\n\nResolve that path against this skill's own directory. It asks the project's installed CLI\n(`pnpm exec universal-plugin`), else the CLI pinned to this skill's version (`npx`), about the\ncurrent working directory; add `--root \u003Cpath>` to diagnose elsewhere.\nAdd `--marketplace-root \u003Cpath>` (repeatable) to also check a **separately-cloned** shared marketplace\nrepository (e.g. a local clone of `cyberuni\u002Fcyberplace`) — see\n[Catalogs are checked at the repository root](#catalogs-are-checked-at-the-repository-root).\nIt never prompts and never writes, so it is safe to run unattended.\n\nStdout is one JSON object — that is the contract to read, not the CLI's own terminal output:\n\n```json\n{\n  \"root\": \"…\",\n  \"manifest\": { \"name\": \"my-plugin\", \"version\": \"1.0.0\" },\n  \"vendors\": [{ \"vendor\": \"claude-code\", \"path\": \".claude-plugin\u002Fplugin.json\", \"status\": \"built\", \"exists\": true, \"stale\": false }],\n  \"findings\": [{ \"code\": \"unbuilt\", \"severity\": \"high\", \"detail\": \"…\", \"repair\": \"…\" }],\n  \"ok\": false\n}\n```\n\n`findings` is empty and `ok` is `true` when everything resolves — say so outright rather than\nreporting an empty list. Exit status is `0` whether or not findings exist; a finding is a result, not\na failure. Add `--verbose` for a human-readable summary on stderr.\n\nRead `vendors[].status` literally:\n\n| Status | Means |\n| --- | --- |\n| `built` | the build writes this vendor's output. For `copilot-cli` that output is the `com.github.copilot\u002F` component tree, not a manifest |\n| `canonical` | the vendor reads root `plugin.json`; **no file is written, and that is correct** |\n| `skipped` | an unknown vendor id — a typo in `vendors` |\n| `failed` | the write itself failed; the finding names why |\n\n`copilot-cli` reporting `canonical` is a healthy plugin, not a missing build — root `plugin.json`\nserves it, and a plugin declaring no agents, commands, rules, hooks, or LSP servers has nothing else\nto derive. Never report it as a fault.\n\nA plugin that **does** declare those reports `copilot-cli` as `built` at `com.github.copilot\u002F`\ninstead. Declaring the canonical `$schema` moves them there: Copilot CLI stops reading them from the\nplugin root entirely, so a root-only layout loads none of them and says nothing\n([ADR-0015](https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002F.agents\u002Fspec\u002Fdesign\u002Fdecisions\u002F0015-copilot-spec-mode-namespace.md)). That is what\n`copilot-root-components` reports.\n\nIf `node` is unavailable, read `scripts\u002Fdoctor.mjs` and apply the same checks by hand: it composes\n`universal-plugin plugin build --dry-run --format json` with filesystem facts that build cannot see.\n\n## Findings and their repairs\n\nEach `code` below is what the script emits.\n\n| Finding | What it means | Repair |\n| --- | --- | --- |\n| `no-manifest` | no root `plugin.json` — this is not a plugin yet | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) |\n| `legacy-manifest` | root `plugin.json` with neither `$schema` nor `extensions` — a single-vendor manifest on the canonical path | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), adopt route |\n| `vendor-only` | a vendor manifest with no canonical manifest above it | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), adopt route |\n| `unbuilt` | a declared vendor whose output path holds no file — that runtime sees no plugin | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `stale` | a derived manifest older than `plugin.json`; for a derived directory (`com.github.copilot\u002F`), its newest file is what is compared | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `hand-edited` | a derived manifest that `build` would rewrite — the edit is already lost, it just has not been overwritten yet | move the field to the canonical manifest or to `harnesses.\u003Cvendor>`, then rebuild |\n| `unknown-vendor` | a `vendors` entry no build target matches; reported as `skipped` plus a warning | fix the id in `plugin.json` |\n| `unsupported-component` | a component path on the shared extension names a component one targeted vendor has none of (`agents` for Codex, `rules` for Claude Code, …); the build leaves it out of that vendor's manifest | declare the path under `harnesses.\u003Cvendor>` for the vendors that read it, or leave it — nothing is lost |\n| `stale-script` | a compiled skill script (`scripts` in the extension) is missing, or no longer matches what its source compiles to. A script that differs only in its embedded version is `version-drift` instead, never both | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`), then commit the compiled script |\n| `script-compile-failed` | a declared script entry could not be compiled into one self-contained file — usually an import that does not resolve from the plugin root | fix the entry, then `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `script-over-budget` | a compiled skill script is over the 150 KB budget | have the skill call the installed CLI instead: `pnpm exec \u003Cbin>` with a pinned `npx` fallback |\n| `skill-link-escapes` | a relative Markdown link in a skill climbs out of the skill folder (`..\u002F..\u002Freadme.md`). pnpm links or copies each skill folder on its own, and a plugin cache keeps only what ships, so the link resolves to nothing there | copy the file into the skill and link it relatively, or link it by URL |\n| `unaccepted-metadata` | `plugin.json` writes `repository` or `author` in a form the spec allows and a targeted runtime refuses — an object `repository` where Codex reads the canonical manifest, or an `author` with no `name` for Claude Code or Cursor. The build converts what it can in the derived manifests; this is what it cannot (severity high: the runtime does not load the plugin, or loses the field) | rewrite the field in `plugin.json` as the warning says: `repository` as the URL string, `author.name` set |\n| `undeliverable-override` | `harnesses[\"copilot-cli\"]` sets fields that reach nothing | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), update route — move them to a vendor that has a derived manifest, or drop them |\n| `codex-fields-missing` | Codex is targeted without `version` or `description`; the build fails and writes **nothing at all**, including for the other vendors | add both to the canonical top level |\n| `version-drift` | one file carries a different version from the release's number — the canonical manifest, a derived vendor manifest, a catalog entry, a skill pin, a marked `mcpServers` entry, or the version a compiled skill script embeds; one finding per file, named by path | `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) (for a package-sourced drift, `universal-plugin plugin version --from-package`); then [offer the CI check](#offer-the-check-to-ci) |\n| `unstamped` | a place holds `0.0.0-development`, semantic-release's placeholder. The release has not stamped it yet, so it is not drift (severity low) | in `prepareCmd`, `plugin version ${nextRelease.version}`, and commit the stamped files back with `@semantic-release\u002Fgit`; see `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) |\n| `unreleased-content` | shipped content was committed after the commit that set the current version — a consumer keyed on that version never re-extracts it | `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) |\n| `copilot-root-components` | agents, commands, rules, hooks, or LSP servers sit at the plugin root with no copy under `com.github.copilot\u002F` — Copilot CLI reads them only from there in spec mode, so it loads none of them, silently | `\u002Funiversal-plugin:build-plugin` (pnpm install: `pnpm-universal-plugin-build-plugin`) |\n| `stale-github-plugin` | a leftover `.github\u002Fplugin\u002Fplugin.json` from an older build — shadowed by root and no longer generated | `\u002Funiversal-plugin:remove-plugin` (pnpm install: `pnpm-universal-plugin-remove-plugin`) |\n| `shadowing-manifest` | a `.plugin\u002Fplugin.json` exists — it outranks root in Copilot CLI's search order and silently shadows the canonical manifest | `\u002Funiversal-plugin:remove-plugin` (pnpm install: `pnpm-universal-plugin-remove-plugin`) |\n| `no-vendors` | no vendor is declared, so the build writes nothing and no runtime reads the plugin. When the repository carries `vendorExtensions` or a `.plugin\u002Fplugin.json`, the build stops rather than reporting an empty result, and the detail says so — read it beside `legacy-manifest` and `shadowing-manifest`, which name the signals | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`), adopt route when `vendorExtensions` or `.plugin\u002Fplugin.json` is present, else update route |\n| `package-path-missing` | `packagePath` names a directory with no readable `package.json` | fix `packagePath`, or create the package |\n| `package-path-unknown` | the CLI could not report `packagePath` (a version too old to read it), so `version-drift` and `unreleased-content` were skipped rather than guessed | upgrade universal-plugin |\n| `undeclared-package-path` | the plugin root holds a public `package.json` that publishes `plugin.json`, but no `packagePath` is declared, so `publish-plugin` and `marketplace add` treat an npm-shipped plugin as git-distributed | declare `\"packagePath\": \".\"` in `.agents\u002Funiversal-plugin.json`, or set `\"private\": true` if the package is not published |\n| `misplaced-package-path` | `plugin.json` declares `packagePath` under `extensions[\"org.cyberuni.universal-plugin\"]`, where the CLI never reads it — the plugin is silently treated as not shipping to npm | move it to `.agents\u002Funiversal-plugin.json`, relative to the plugin root |\n| `changesets-no-package` | the repository is released with changesets, the plugin ships to no npm package, and its root has no `package.json` — changesets releases only a package, so `changeset version` and `changeset publish` fail | `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) — `plugin init` writes a private `package.json` |\n| `changesets-private-untagged` | a non-npm plugin in a changesets repository, and `.changeset\u002Fconfig.json` does not set `\"privatePackages\": { \"version\": true, \"tag\": true }` — `changeset publish` tags no private package, so no release is made | set `privatePackages` in `.changeset\u002Fconfig.json` |\n| `changesets-no-publish-script` | a non-npm plugin in a changesets repository, and a workflow runs `changesets\u002Faction` with no `publish-script` (`publish` in v1) — after the Version Packages PR merges the action does nothing, so no tag or GitHub release is made | add `publish-script: pnpm release` to the step, with a `release` script running `changeset publish` |\n| `release-please-no-restamp` | the plugin ships to no npm package, `release-please-config.json` bumps its `plugin.json` through `extra-files`, and no workflow runs `plugin version` — release-please runs no command before its release commit, so the release PR leaves the vendor manifests, catalogs, skill pins and compiled scripts on the old version | add a workflow step on the release PR branch running `universal-plugin plugin version --from-manifest` and pushing the stamped files — `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) has the workflow |\n| `release-please-restamp-no-ci` | a workflow restamps the release PR with `plugin version --from-manifest` and pushes with the default `GITHUB_TOKEN` — that push starts no workflow run, so the PR's checks never run on its head commit and a required check blocks the merge. A `workflow_dispatch` re-run does not fix it: its checks do not count toward a required check | mint a GitHub App token with `actions\u002Fcreate-github-app-token` and pass it as `token:` to `release-please-action` and `actions\u002Fcheckout` — `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`) has the workflow |\n| `release-it-no-stamp` | a release-it config (`.release-it.*`, or the `release-it` key of `package.json`) has no hook running `plugin version` — release-it commits and tags the release with `plugin.json` and the vendor manifests still on the previous version | add `\"hooks\": { \"after:bump\": \"universal-plugin plugin version ${version}\" }` to the config |\n| `semantic-release-no-stamp` | a semantic-release config (`.releaserc*`, `.config\u002Freleaserc*`, `release.config.*`, or the `release` key of `package.json`) has no `@semantic-release\u002Fexec` `prepareCmd` running `plugin version` — the release is tagged with `plugin.json`, the vendor manifests and the catalogs still on the previous version | add `[\"@semantic-release\u002Fexec\", { \"prepareCmd\": \"universal-plugin plugin version ${nextRelease.version}\" }]` before `@semantic-release\u002Fgit` — `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) wires it |\n| `semantic-release-npm-unshipped` | the plugin ships to no npm package, and its semantic-release config lists `@semantic-release\u002Fnpm` or relies on the default `plugins` list, which includes it — with no `package.json` the release fails (`ENOPKG`), and with one the plugin still rewrites its version | remove `@semantic-release\u002Fnpm`, writing the `plugins` list out if the config relies on the defaults — `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) wires it |\n| `semantic-release-no-commit` | a semantic-release config stamps with an `@semantic-release\u002Fexec` `prepareCmd` but runs no `@semantic-release\u002Fgit`, and no `prepareCmd` runs `git commit` — the release tag points at `plugin.json`, the vendor manifests and the catalogs still on the previous version. Severity `high`, or `medium` when the plugin ships to npm, whose package still carries the number | add `[\"@semantic-release\u002Fgit\", { \"assets\": [...] }]` after `@semantic-release\u002Fexec` — `\u002Funiversal-plugin:init-universal-plugin` (pnpm install: `pnpm-universal-plugin-init-universal-plugin`) wires it |\n| `semantic-release-git-before-exec` | a JSON or YAML semantic-release config lists `@semantic-release\u002Fgit` before the `@semantic-release\u002Fexec` that stamps — plugins prepare in list order, so the release commit carries the files from before the stamp | move `@semantic-release\u002Fexec` above `@semantic-release\u002Fgit` |\n| `unparsable-manifest` | root `plugin.json` is not valid JSON | fix the syntax error |\n| `invalid-catalog` | a marketplace catalog — at the repository root, or at a `--marketplace-root` clone — is not a shape its runtime loads — it is found, read, and refused at install time, in the user's terminal | `\u002Funiversal-plugin:marketplace` (pnpm install: `pnpm-universal-plugin-marketplace`) |\n| `marketplace-root-missing` | a `--marketplace-root` path does not exist, so it could not be checked at all | clone the marketplace repository, or fix the path |\n\n## Catalogs are checked at the repository root\n\nThe marketplace catalogs sit above the plugin in a monorepo, so the catalog check runs against the\nrepository root rather than `--root`. It reports only a catalog that would be **refused**: a missing\none is not a fault, and nothing here has an opinion on which catalogs a repository ought to carry.\n\nThe detail names the key at fault, so hand it to `\u002Funiversal-plugin:marketplace` (pnpm install: `pnpm-universal-plugin-marketplace`) as it stands. An\nentry's fields are derived from the plugin's `plugin.json`, and the catalog's own `name` and `owner`\nare authored in the catalog — which half is at fault decides where the repair goes.\n\nA **shared** marketplace repository (e.g. `cyberuni\u002Fcyberplace`) is a repository of its own — a bad\nentry that reached it by another path (a hand-edited entry, a PR from a different tool, a curator\nedit) is invisible to a `doctor` run inside any plugin's own repo, because that run never sees the\nshared repository at all. Clone it separately and name the clone explicitly:\n\n```bash\nnode scripts\u002Fdoctor.mjs --marketplace-root ..\u002Fmarketplace\n```\n\nPass `--marketplace-root` once per clone to check more than one. Each invalid entry it finds is still\nreported as `invalid-catalog`, with the clone's path in the detail so it reads apart from the plugin\nrepo's own catalogs; a path that does not exist is `marketplace-root-missing` rather than a silent\nskip.\n\n## Checking staleness properly\n\nThe `stale` finding is an mtime comparison, which catches the common case and nothing more. It cannot\nsee a hand-edit made after the last build. The definitive check is to rebuild on a clean tree and read\nthe diff:\n\n```bash\ngit status --short          # must be clean first, or the diff proves nothing\nnpx universal-plugin plugin build\ngit diff -- .claude-plugin .cursor-plugin .codex-plugin com.github.copilot\n```\n\nAn empty diff means the derived manifests match what the canonical manifest says. Any hunk is drift —\neither a stale build or a hand-edit that the rebuild has now discarded.\n\nThat rebuild is a **write**, so it is not part of the diagnosis. Report the check as a repair the\nuser can run, or ask before running it yourself.\n\n## Version drift\n\nA version lives in six places. Two are authored: the canonical `plugin.json`, and the `package.json`\nat the `packagePath` the CLI reports (`config get --key packagePath --infer`), resolved from the plugin\nroot. With no `packagePath` declared, a public plugin-root `package.json` that publishes `plugin.json`\ncounts as that package.\nThe rest are stamped from them by `plugin version`: the vendor manifests, this plugin's entry in each\nrepository catalog, the `npx`\u002F`upx \u003Cpackage>@\u003Cversion>` pins in the skills, and each `mcpServers`\nentry marked `pinToPluginVersion`.\n\nThe script asks `universal-plugin publish check-version` for the comparison and emits one\n`version-drift` per file that disagrees. The reference is the release's number: the `package.json`\nwhen there is one, declared or inferred, else `plugin.json`. Pins are compared only when there is a package to\npin, and a pin-exempt skill or a pin that is not a version (`\u003Cversion>`, `latest`) is skipped. A place\nholding `0.0.0-development` is reported as `unstamped`, not as `version-drift`.\n\nFiles diverge when someone ran `npm version`, or when a release tool (changesets, release-please,\nsemantic-release) moved `package.json` and nothing stamped the number on. All of it is\n`\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`)'s to fix — never patch one file by hand to match another.\n\n### Offer the check to CI\n\n`doctor` is advisory and always exits 0. `publish check-version` is the same comparison, read-only,\nand exits 1 on drift, so a repository can fail the release PR instead of publishing a plugin that\nclaims the old version. Once the version findings are reported, check whether the repository\nalready runs it: search its `package.json` scripts and `.github\u002Fworkflows\u002F` for `check-version`. If\nit does not, offer to add it — ask first, because both are the user's files:\n\n- a `verify` (or `check`) script step: `universal-plugin publish check-version --root \u003Cplugin-root>`;\n- or a CI step after install on pull requests, for the release PR a changesets, release-please, or\n  semantic-release bot opens.\n\nUse the locked `universal-plugin` from the repository's devDependencies when it has one; otherwise\n`npx universal-plugin@0.20.1`, pinned. This check matters most where the release tool picks the\nnumber, because nothing else runs between that bump and publish.\n\n## Unreleased content\n\nA runtime keys its plugin cache on the version, not on content: Claude Code resolves the version,\nfinds it unchanged, and reports *\"already at the latest version\"* without re-extracting. So content\npushed without a bump reaches nobody who already installed the plugin, and neither side is told\n([ADR-0010](https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002F.agents\u002Fspec\u002Fdesign\u002Fdecisions\u002F0010-version-policy.md) §6).\n\nThe script compares the shipped paths — the canonical manifest, the skills directory, `agents\u002F`,\n`governances\u002F`, `references\u002F`, `mcp.json` — against the commit that set the version the manifest carries now, and\nemits `unreleased-content` for anything committed since. Uncommitted work is not reported; it has not\nshipped.\n\nTwo cases are deliberately silent. A plugin whose release picks the number is skipped, because\ncontent waiting ahead of the last released version is the normal state of a branch there\n([ADR-0010](https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002F.agents\u002Fspec\u002Fdesign\u002Fdecisions\u002F0010-version-policy.md) §6). That is a plugin that ships to npm (a declared `packagePath`, or a public plugin-root `package.json` that publishes `plugin.json`), or a plugin a release tool versions:\nchangesets (`.changeset\u002F` and a private or absent plugin-root `package.json`), release-please (its\nconfig bumps this `plugin.json` through `extra-files`), semantic-release (`.releaserc*`,\n`release.config.*`, or a `release` key in `package.json`), or release-it (a `.release-it.*` file, or a\n`release-it` key in `package.json`). A tree with no git history is skipped rather than guessed at.\n\nThe repair is the bump, and it belongs to `\u002Funiversal-plugin:version` (pnpm install: `pnpm-universal-plugin-version`). Judge first whether the change\nis meant to ship — content that is still being worked on is not a finding to act on.\n\n## Rules\n\n- **Never repair.** Report the finding and name the skill that owns it.\n- **Never hand-edit a derived manifest to make a finding go away.** The next build overwrites it and\n  the finding comes back.\n- Do not report `copilot-cli` writing no **manifest** as a fault. It reads the canonical manifest\n  directly. Its **components** are a separate question — a `copilot-root-components` finding is a real\n  fault, and `canonical` is only healthy for a plugin that declares none of the moved kinds.\n- Do not treat repo-private agent configuration (`.claude\u002Fskills\u002F`, `.agents\u002Fskills\u002F`) as part of the\n  plugin. Diagnosing a repository's own skill wiring is `buddy-agent-harness:doctor-buddy-agent-harness`.\n\n## Related skills\n\n| Task | Skill |\n|------|-------|\n| Create, adopt, or change what the plugin declares | `init-universal-plugin` |\n| Rebuild the derived manifests (`unbuilt`, `stale`, `copilot-root-components`) | `build-plugin` |\n| Move the plugin's version | `version` |\n| Remove derived manifests, or the plugin itself | `remove-plugin` |\n| Generate the repository's own marketplace catalogs | `marketplace` |\n| Publish it to the shared marketplace repository | `publish-plugin` |\n",{"name":5,"description":7},"main","bdaae626ecb9237bde0a586790b279c361878485","packages\u002Funiversal-plugin\u002Fskills\u002Fdoctor-universal-plugin",0,"https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin","https:\u002F\u002Fcyberuni.github.io\u002Funiversal-plugin\u002F","https:\u002F\u002Fgithub.com\u002Fcyberuni","https:\u002F\u002Fwww.youtube.com\u002F@cyberuni","2026-11-14 20:29:04",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add cyberuni\u002Funiversal-plugin --skill doctor-universal-plugin",{"tool":39,"command":40},"bunx","bunx skills add cyberuni\u002Funiversal-plugin --skill doctor-universal-plugin",{"tool":42,"command":43},"pnpm","pnpm dlx skills add cyberuni\u002Funiversal-plugin --skill doctor-universal-plugin","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fdoctor-universal-plugin\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"README.md","REFERENCE","参考文档",2253,"https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fdoctor-universal-plugin\u002FREADME.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scripts\u002Fdoctor.mjs","SCRIPT","脚本",33828,"https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fdoctor-universal-plugin\u002Fscripts\u002Fdoctor.mjs",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M756VH3K76XSF636AV1E8WAM","upgrade-plugin","Use this skill when upgrading pinned `npx universal-plugin@\u003Cversion>` calls across a project to a newer version.","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fupgrade-plugin\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M756VB8VEBTV5M607P0R6ESG","remove-plugin","Use this skill to remove a universal agent plugin's artifacts — delete the generated vendor manifests for Claude Code, Cursor, or Codex, clear a stale or shadowing manifest left by an older build, or take the whole plugin out of a project. Trigger on \"delete the generated manifests\", \"remove the vendor manifests\", \"clean the plugin build output\", \"drop Codex support\", \"get rid of this plugin\", or \"stop shipping this plugin\".","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fremove-plugin\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M756TXPT39K2PQJH95SY4Q80","migrate-plugin","Move a repository-root or sibling-workspace universal agent plugin into its npm package so the package distributes its manifest, vendor manifests, skills, and agents, and bundle the package's CLI with tsdown so it runs from an installed plugin directory with no node_modules. Use this skill when packaging an existing plugin for npm, relocating a top-level or plugins\u002F\u003Cname> plugin into a package, fixing a package that omits plugin assets, or making a plugin's bundled CLI self-contained, even if the user says only 'ship this plugin through npm', 'move the plugin into the package', or 'the CLI can't find its dependencies when installed as a plugin.'","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fmigrate-plugin\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"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},"01M756TQ9GGV2ZX10VWKRJY38K","marketplace","Use this skill to run a repository's own plugin marketplace — generate the catalogs Claude Code, Codex, GitHub Copilot CLI, and Cursor read, list a plugin that lives elsewhere (an npm package, a GitHub repo, or `\u003Cplugin>@\u003Cmarketplace>`), change one listed entry in place, check every catalog against the schema its runtime loads, and write the README install section. Trigger on \"set up a local marketplace\", \"let users install this from my repo\", \"generate marketplace catalogs\", \"add a plugin to the marketplace\", \"list this npm package in my marketplace\", \"switch this entry to a url source\", \"bump the ref on this entry\", \"change the category of a marketplace entry\", \"make this repo installable\", \"add install instructions to the README\", or \"check my marketplace catalogs\".","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fmarketplace\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M756TKWBQAAYZ17DGRJK5RTJ","\u003Cskill-name>","Use this skill when \u003Ctrigger>. \u003COne-line summary.>","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Finit-universal-plugin\u002Fassets\u002Ftemplates\u002Fskill.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M756SX1CMP0684KN2RTDVVG5","adopt-upx","Use this skill when the user wants to make their skills use upx — the fast local-first package runner shipped as @repobuddy\u002Fupx. Trigger on phrases like \"make my skills use upx\", \"adopt the upx runner\", \"speed up npx calls\", \"switch to upx\", or \"rewrite npx pins to upx\". Rewrites `npx \u003Cpkg>@\u003Cversion>` references to a caret range on `upx` (`^\u003Cmajor>`, or `^0.\u003Cminor>` for a 0.x pin) across one skill, a named set, or every skill in the project.","https:\u002F\u002Fgithub.com\u002Fcyberuni\u002Funiversal-plugin\u002Fblob\u002Fmain\u002Fpackages\u002Funiversal-plugin\u002Fskills\u002Fadopt-upx\u002FSKILL.md",[],[]]