[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DDTNAJKPAP2TVEFWNVPWB":3,"skill-same:01M75DDTNAJKPAP2TVEFWNVPWB":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75DDTNAJKPAP2TVEFWNVPWB","agentwheel",null,"Manage and explicitly inspect reusable agent artifacts with Agentwheel. Use when the user asks to search, add, install, update, customize, eject, or uninstall skills, integrations, workflows, or other OpenPack artifacts across runtimes. For automatic capability suggestions, install the separate agentwheel-discovery skill.","NestDevLab\u002Fagentwheel","NestDevLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235476882?v=4","01M75DD5GGKCX9T99R7DEF7HY4","01M75DD5H50KGH1E5AZMNMRS3X",9,"MIT","https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: agentwheel\ndescription: Manage and explicitly inspect reusable agent artifacts with Agentwheel. Use when the user asks to search, add, install, update, customize, eject, or uninstall skills, integrations, workflows, or other OpenPack artifacts across runtimes. For automatic capability suggestions, install the separate agentwheel-discovery skill.\nallowed-tools: [Bash]\nlicense: MIT\nmetadata:\n  author: NestDevLab\n  version: \"0.22.6\"\n---\n\n# agentwheel\n\nAgentwheel discovers reusable artifacts and manages their desired state across runtimes.\n\nagentwheel is the control plane. It reads packages from sources, stores desired state in `.agentwheel\u002Fconfig.json`, plans runtime changes, and writes only through `install`. Treat runtime output directories as generated files.\n\nMental model:\n\n- `add` records desired packages.\n- `install` makes the declared state true in the target runtime.\n- `update` re-resolves tracking packages, then applies.\n- `skill update \u003Cname>` maps a configured skill to its owning package and reconciles only that skill plus its genuine transitive composition inputs; sibling artifacts keep their runtime bytes and manifest\u002Flock state.\n- `uninstall` removes configured packages and their managed runtime output.\n\n## Safety Rules\n\n- Prefer `agentwheel plan ...` or `agentwheel install --dry-run` before applying changes.\n- Do not hand-edit generated runtime files such as `skills\u002F`, `.agents\u002Fskills`, `.claude\u002Fskills`, `.github\u002Fskills`, `~\u002F.hermes\u002Fskills`, or generated instructions.\n- If a plan reports `drift` or `conflict`, stop and explain it. Do not use `--force` unless the user explicitly approves that scope.\n- Gmail, Drive, registry publishing, git commits, pushes, and runtime reloads\u002Frestarts are separate external side effects. Get explicit approval for them.\n- Programmatic adapters execute local code. Use `--adapter-module` only with `--allow-adapter-code` after the user approves that local code execution.\n- OpenClaw plugin artifacts are only planned by default. Use `--execute-plugins` only after explicit approval.\n- Search results are proposals, not approval. Never add, install, enable, or change configuration until the user confirms the artifact and target scope.\n\n## Core Flow\n\n```bash\nagentwheel search tmux\nagentwheel add github:NestDevLab\u002Fagent-mesh --skill codex-tmux --adapter codex --installation-type local --mode tracking\nagentwheel plan\nagentwheel install\n```\n\nIf a workspace already has configured packages in `.agentwheel\u002Fconfig.json`, install without a source:\n\n```bash\nagentwheel plan\nagentwheel install\n```\n\nTo add and install in one step:\n\n```bash\nagentwheel install github:owner\u002Frepo --adapter codex,claude\n```\n\nExplicit source installs with explicit adapters default to user-level artifacts. Use exactly one of\n`--user`, `--local`, or `--fleet \u003Cfleet-id>` when desired-state scope matters. Use\n`-i\u002F--installation-type \u003Ctype>` for the runtime layout inside that scope and\n`-t\u002F--target-root \u003Cproject>` for an explicit target root. Named fleets are optional.\n\n## Workspace Setup\n\nInitialize an agentwheel workspace:\n\n```bash\nagentwheel init\n```\n\nInitialize a package authoring directory:\n\n```bash\nagentwheel init package\n```\n\n`agentwheel init package` creates `openpack.json`, `instructions\u002F`, `rules\u002F`, `skills\u002F`, and `instructions\u002FAGENTS.md`.\n\n## Explicit Discovery\n\nSearch configured registries and public catalogue sources:\n\n```bash\nagentwheel search \"\u003Cquery>\"\nagentwheel search \"\u003Cquery>\" --json --limit 10\nagentwheel search \"\u003Cquery>\" --semantic --json --limit 10\n```\n\nSearch when the user explicitly asks to find, compare, or evaluate an artifact. Search results are\nproposals, not approval, and never change desired state by themselves.\n\n### Semantic catalogue search\n\nUse `--semantic` for a capability request whose wording is unlikely to match catalogue labels, or after bounded lexical search returns only weak matches. It queries the same published catalogue vector index used by the website and validates its checksums against the loaded catalogue before ranking. It is opt-in because first use may download the model and index assets.\n\n```bash\nagentwheel search \"remember corrections from earlier conversations\" --semantic --json --limit 10\n```\n\nDo not use `--semantic` for a registry-only search, and never describe a semantic score as proof\nthat an artifact implements a capability.\n\nUse a trial only for instruction skills. Plugins, MCP servers, hooks, commands, and settings are not trialled because reading them is not equivalent to safely executing them in an isolated runtime.\n\nInstall `skills\u002Fagentwheel-discovery` separately when the user wants proactive capability-gap\ndetection, bounded semantic recommendations, and read-only trial suggestions during unrelated work.\n\nRegistry maintenance remains explicit:\n\n```bash\nagentwheel registry update\nagentwheel registry list\n```\n\nInspect an explicit source before adding it:\n\n```bash\nagentwheel list github:owner\u002Frepo\nagentwheel scan github:owner\u002Frepo\nagentwheel list .\u002Flocal-agent-pack\nagentwheel scan .\u002Flocal-agent-pack\n```\n\nFilter source inspection to specific artifacts:\n\n```bash\nagentwheel list github:owner\u002Frepo --select skills\u002Freview --select rules\u002Fcore.md\nagentwheel list github:owner\u002Frepo --skill review\n```\n\n## Sources\n\nUse explicit sources when you know the package location:\n\n```bash\nagentwheel add github:owner\u002Frepo\nagentwheel add github:owner\u002Frepo#main\nagentwheel add git:https:\u002F\u002Fhost.example\u002Fowner\u002Frepo.git#v1.2.3\nagentwheel add .\u002Flocal-agent-pack\nagentwheel add \u002Fabsolute\u002Fpath\u002Fto\u002Fagent-pack\nagentwheel add skillkit:github:owner\u002Frepo\nagentwheel add vercel:owner\u002Frepo\nagentwheel add vercel:skills.sh\u002Fowner\u002Frepo\u002Fskill-name\n```\n\nShort names go through the registry:\n\n```bash\nagentwheel registry update\nagentwheel add \u003Cregistry-name>\n```\n\nDriver inference is automatic for `github:`, `git:`, `skillkit:`, `vercel:`, and local paths. Override it only when needed:\n\n```bash\nagentwheel add \u003Csource> --driver local\nagentwheel add \u003Csource> --driver git\nagentwheel add \u003Csource> --driver skillkit\nagentwheel add \u003Csource> --driver vercel-skills\n```\n\n## Add Packages\n\n`add` saves a package entry in `.agentwheel\u002Fconfig.json`; it does not install runtime files by itself.\n\n```bash\nagentwheel add github:owner\u002Frepo --adapter openclaw --installation-type local\nagentwheel add github:owner\u002Frepo --adapter claude --installation-type local\nagentwheel add github:owner\u002Frepo --adapter codex --installation-type local\nagentwheel add github:owner\u002Frepo --adapter hermes --installation-type user\nagentwheel add github:owner\u002Frepo --adapter copilot --installation-type local\n```\n\nSelect only part of a package:\n\n```bash\nagentwheel add github:owner\u002Frepo --skill code-review\nagentwheel add github:owner\u002Frepo --select skills\u002Fcode-review --select rules\u002Fcore.md\nagentwheel add github:owner\u002Frepo --select skills\u002Fcode-review,rules\u002Fcore.md\n```\n\nInstall or persist suggested companion artifacts only when requested:\n\n```bash\nagentwheel plan github:owner\u002Frepo --skill review --with-suggestions\nagentwheel install github:owner\u002Frepo --skill review --suggestion brainstorming\nagentwheel add github:owner\u002Frepo --skill review --with-suggestions --adapter codex --installation-type local\n```\n\nTreat OpenPack `suggests` as opt-in soft composition, not as `requires.optional`.\n`--with-suggestions` includes all suggestions relevant to selected artifacts as non-blocking\noptional graph edges. `--suggestion \u003Calias>` includes one named suggestion and should fail if that\nexplicit suggestion cannot resolve.\n\nUse a source override when a selected package should replace the same artifact coming from another\nsource, such as a forked skill overriding a meta-pack dependency. The declaration is explicit and\nplanning fails if it does not match exactly one losing artifact and one selected replacement:\n\n```bash\nagentwheel add github:example-org\u002Fagent-toolkit#main \\\n  --skill self-improve \\\n  --override 'github:example-upstream\u002Fagent-toolkit::skills\u002Fself-improve'\n```\n\nEquivalent config:\n\n```json\n{\n  \"name\": \"agent-toolkit-nestdev\",\n  \"source\": \"github:example-org\u002Fagent-toolkit#main\",\n  \"driver\": \"git\",\n  \"adapter\": \"codex\",\n  \"installationType\": \"local\",\n  \"mode\": \"tracking\",\n  \"select\": [\"skills\u002Fself-improve\"],\n  \"overrides\": [\"github:example-upstream\u002Fagent-toolkit::skills\u002Fself-improve\"]\n}\n```\n\n`source::type\u002Fname` identifies the artifact being replaced. `github:owner\u002Frepo` matches any ref\nfor that repo; include `#main` or another ref to narrow it. Review `OVERRIDE` lines in\n`agentwheel plan`, `agentwheel deps tree`, or `agentwheel deps why` before applying fleet-wide.\n\nUse `--name` for a stable local alias:\n\n```bash\nagentwheel add github:owner\u002Frepo --name team-agent-pack\n```\n\nChoose update mode:\n\n```bash\nagentwheel add github:owner\u002Frepo#v1.0.0 --mode pinned\nagentwheel add github:owner\u002Frepo#main --mode tracking\n```\n\n## Plan And Install\n\nPreview configured packages:\n\n```bash\nagentwheel plan\n```\n\nApply configured packages:\n\n```bash\nagentwheel install\n```\n\nExecute semantic plugin installs only after approval:\n\n```bash\nagentwheel install --execute-plugins\n```\n\nIf an agent or profile runtime declares structured `reloadCommands`, run them after executed semantic\nplugin changes only with a separate explicit gate:\n\n```bash\nagentwheel install --execute-plugins --reload-runtimes\n```\n\n### Hermes plugin rollout checks\n\nWhen delivering a Hermes plugin, do not equate source package presence or `plugins.enabled` config with a working runtime install. Verify the gateway host has `$HERMES_HOME\u002Fplugins\u002F\u003Cplugin-name>\u002F` with the expected `plugin.yaml`\u002Fcode files, the Agentwheel install manifest contains the plugin artifact, and a canary exercises the middleware path. Use `--execute-plugins` for plugin artifacts when applying, after dry-run and explicit approval.\n\nPreview or apply one configured package:\n\n```bash\nagentwheel plan team-agent-pack\nagentwheel install team-agent-pack\n```\n\nAdd and install a source in one step:\n\n```bash\nagentwheel install github:owner\u002Frepo --adapter codex,claude\n```\n\nExplicit source installs with explicit adapters default to documented user-level installs. Pass\n`--user`, `--local`, or `--fleet \u003Cfleet-id>` to select one desired-state scope, and use\n`-i\u002F--installation-type \u003Ctype>` for the runtime layout inside that scope. If a package can be\ninstalled in more than one type and no CLI\u002Fcontext default applies, Agentwheel fails instead of\nguessing.\n\nTarget selection order is `--target-root`, then `--agent`, then runtime auto-detection from the current directory, then the current directory.\n\n## Status\n\nUse status to see configured packages, lock\u002Fmanifest state, and pending install work:\n\n```bash\nagentwheel status\nagentwheel status --agent lab-codex\nagentwheel status --all\nagentwheel status --profile daily\n```\n\n### Blocked by another session\n\nGoverned installs that require a clean repository still refuse every dirty checkout before runtime\nwrites. When the local Agent Mesh graph has an exact opaque resource claim, the refusal identifies\nthe one live session and its start time. `owner unknown` is intentional when claims are missing,\ninactive, malformed, or ambiguous; candidate sessions may be listed, but Agentwheel never chooses\nbetween them. Inspect the session graph or ask the rollout coordinator to identify or clear the\nowner before retrying. Do not delete a lock or bypass the clean-tree block from this diagnostic.\n\nRepository-lock contention also reports the stored operation, PID, runtime UUID, and creation time\nwhen available, and names a graph session only for one exact live UUID match. The graph reports\nidentity and ownership; it is not a lock manager and never authorizes proceeding.\n\nFor a named fleet, prefer `agentwheel status --fleet \u003Cfleet-id> --profile \u003Cname>` over\ndirect agent status; profile status uses the same runtime resolution, adapter\nconfig, installation type, and graph lock fingerprinting as\n`install --fleet \u003Cfleet-id> --profile \u003Cname>`. If that fleet defines a profile named `all`,\n`agentwheel status --fleet \u003Cfleet-id> --all` checks that profile.\n\n## Named Fleets, Agents, And Profiles\n\nNamed fleets are optional control-plane configurations. Select one explicitly with\n`--fleet \u003Cfleet-id>`; ordinary user and local work does not require fleet registration. User,\nlocal, and fleet scopes are isolated desired state: Agentwheel does not merge them, and no fleet\nhas global priority.\n\nNamed fleets use workspace schema v3 or newer and require a compatible Agentwheel CLI. Upgrade first, verify\n`agentwheel --version` and `agentwheel fleet --help`, then create or register fleet state. Do not\ndowngrade the config, strip named-fleet data, or run an old CLI against it.\n\nCurrent config shape:\n\n```json\n{\n  \"schemaVersion\": 3,\n  \"fleetId\": \"example-fleet\",\n  \"packages\": [\n    {\n      \"name\": \"core-agent-pack\",\n      \"source\": \"github:example-org\u002Fcore-agent-pack\",\n      \"driver\": \"git\",\n      \"adapter\": \"codex\",\n      \"installationType\": \"local\",\n      \"mode\": \"tracking\"\n    }\n  ],\n  \"agents\": {\n    \"lab-codex\": { \"adapter\": \"codex\", \"installationType\": \"local\", \"root\": \"\u002Fworkspace\u002Fproject\" }\n  },\n  \"profiles\": {\n    \"daily\": {\n      \"runtimes\": [\n        { \"agent\": \"lab-codex\" }\n      ]\n    }\n  }\n}\n```\n\nUse named targets:\n\nConfigured packages may declare `\"runtimes\": [\"claude\"]` to select adapter runtimes. All\nconfigured-package plans honor it, including `--agent`, `--profile`, status, and update. Named\ntargets match their declared adapter; plain workspace commands match each package's adapter.\nAgents sharing an adapter cannot be selected separately. Upgrade all members to a version\nsupporting this field before adding it to shared configuration.\n\n```bash\nagentwheel fleet register example-fleet --root \u002Fsrv\u002Fagentwheel\u002Ffleets\u002Fexample-fleet --required-package core-agent-pack\nagentwheel fleet list\nagentwheel fleet show example-fleet\nagentwheel install --fleet example-fleet --agent lab-codex --dry-run\nagentwheel install --fleet example-fleet --all --dry-run\nagentwheel install --fleet example-fleet --profile daily --dry-run\n```\n\nAn intended runtime path owned by another scope is a blocking conflict even when the bytes match.\nUse the dedicated fleet normalization workflow: preview the transfer, review its exact plan digest,\nthen apply only the unchanged plan. Never remove the source declaration first or hand-edit runtime\noutput to manufacture a clean plan.\n\n```bash\nagentwheel fleet normalize example-fleet --from user --package core-agent-pack --json\nagentwheel fleet normalize example-fleet --from user --package core-agent-pack \\\n  --plan-digest \u003Creviewed-sha256> --apply\nagentwheel fleet normalize example-fleet --from user --recover\n```\n\n`fleetId` in the fleet config must match the registry key. Every repeatable\n`--required-package` must name a package declared by that fleet. Recovery is only for a pending\njournal and must fail if recorded configs, manifests, or graph locks changed externally.\n\n## Adapters\n\nBuilt-in adapters:\n\n- `openclaw`\n- `claude`\n- `codex`\n- `hermes`\n- `copilot`\n\nUse a declarative adapter config:\n\n```bash\nagentwheel install .\u002Fmy-pack --adapter-config .\u002Fmy-runtime.jsonc --dry-run\nagentwheel install .\u002Fmy-pack --adapter-config .\u002Fmy-runtime.jsonc\n```\n\nUse a local programmatic adapter only after approval:\n\n```bash\nagentwheel install .\u002Fmy-pack --adapter-module .\u002Fadapter.ts --allow-adapter-code --dry-run\n```\n\n## Update\n\nPreview updates for configured tracking packages:\n\n```bash\nagentwheel update --dry-run\n```\n\nApply updates:\n\n```bash\nagentwheel update\n```\n\nTarget configured agents:\n\n```bash\nagentwheel update --agent lab-codex --dry-run\nagentwheel update --all --dry-run\nagentwheel update --profile daily --dry-run\n```\n\nFor a named fleet, use `agentwheel update --fleet \u003Cfleet-id> --profile \u003Cname>` before\n`install --fleet \u003Cfleet-id> --profile \u003Cname>` when tracking packages should move forward. If that\nfleet defines a profile named `all`, `agentwheel update --fleet \u003Cfleet-id> --all` checks that\nprofile.\n\nLimit an update to one configured package:\n\n```bash\nagentwheel update team-agent-pack --dry-run\nagentwheel update team-agent-pack\n```\n\nNamed package updates preserve artifacts owned by other configured roots, including unrelated drift.\n\nFor one configured skill, resolve its owner and reconcile only that skill plus genuine transitive composition inputs:\n\n```bash\nagentwheel skill update code-review --fleet example-fleet --profile daily --dry-run\nagentwheel skill update code-review --fleet example-fleet --profile daily\n```\n\nPinned owners use install semantics; tracking owners re-resolve. Sibling artifacts from the same package retain their runtime bytes and manifest\u002Fgraph-lock entries; only composition inputs actually used by the requested skill join the update scope. Unrelated configured packages are not resolved. If ownership is ambiguous, pass `--package \u003Cname>`. Use `--adopt` only after explicit approval of the dry-run's unmanaged destinations.\n\nAdvance one tracking dependency while unrelated graph nodes remain locked:\n\n```bash\nagentwheel update --dependency shared-core --dry-run\nagentwheel update --dependency shared-core\nagentwheel update --dependency github:your-org\u002Fshared-core --agent lab-codex\n```\n\nThe selector must uniquely match a locked tracking dependency by name, alias, node id, or source.\nIts required tracking closure also advances. Configured selections stay unchanged; this mode\nrejects package arguments, `--select`, `--skill`, `--frozen-lock`, and `--offline`.\n\n`install` uses the graph lock as input when present. `update` re-resolves tracking packages and writes a new lock. Pinned packages stay on the locked graph unless their declaration changes.\n\n## Drift And Customization\n\nDrift means a managed runtime output changed outside agentwheel. Fix drift by choosing one of the supported customization channels in `.agentwheel\u002F`, then re-run a dry-run:\n\n- Layer local instructions with `agentwheel remember`.\n- Add separate local artifacts under `.agentwheel\u002Fadditions`.\n- Override upstream content under `.agentwheel\u002Foverrides`.\n- Override source precedence with package `overrides` when a forked source should replace a\n  colliding upstream artifact.\n- Eject an item into `.agentwheel\u002Fejected` when the user wants local ownership.\n\nWhen the plan instead keeps a file as foreign or refuses because another workspace owns it, that is\nan ownership problem, not drift: see \"Choosing an ownership command\" under Troubleshooting.\n\nAppend durable local instruction text:\n\n```bash\nagentwheel remember --runtime codex \"Always run the formatter before tests.\"\nagentwheel plan\nagentwheel install\n```\n\nEject an artifact:\n\n```bash\nagentwheel eject \u003Cpackage-name>\u002Fskills\u002F\u003Cskill-name>\nagentwheel plan\nagentwheel install\n```\n\nFor package names with slashes, keep the full package name:\n\n```bash\nagentwheel eject NestDevLab\u002Fagent-mesh\u002Fskills\u002Fcodex-tmux\n```\n\n## Uninstall\n\nPreview uninstall for a configured package:\n\n```bash\nagentwheel uninstall team-agent-pack --dry-run\n```\n\nUninstall clean managed files and remove the package from config:\n\n```bash\nagentwheel uninstall team-agent-pack\n```\n\nRemove from config and manifest but keep runtime files unmanaged:\n\n```bash\nagentwheel uninstall team-agent-pack --keep-files\n```\n\nBy default, uninstall keeps drifted managed files. Use `--force` only with explicit approval:\n\n```bash\nagentwheel uninstall team-agent-pack --force\n```\n\nFor a one-time MCP rename, use a dedicated cutover workspace with one legacy MCP artifact and an\nexplicit agent `stateKey`. Preview each runtime separately:\n\n```bash\nagentwheel mcp retire legacy-mcp --agent legacy-codex --from-workspace-root \u002Fexact\u002Fold\u002Fworkspace --dry-run\nagentwheel mcp retire legacy-mcp --agent legacy-claude --dry-run\n```\n\nRequire exactly one `REMOVE`, the expected target and legacy server, and zero drift\u002Fconflict.\nUnexpected owner, manifest contents, arguments, environment, or MCP fields are blockers. Apply only\nafter separate runtime approval by replacing `--dry-run` with `--apply`.\n\n## Package Manifest Reference\n\nAn OpenPack package uses `openpack.json` or `openpack.jsonc`:\n\n```json\n{\n  \"schemaVersion\": 2,\n  \"name\": \"owner\u002Fagent-pack\",\n  \"version\": \"0.1.0\",\n  \"provides\": [\n    { \"type\": \"instructions\", \"path\": \"instructions\u002FAGENTS.md\" },\n    { \"type\": \"rules\", \"path\": \"rules\" },\n    { \"type\": \"skills\", \"path\": \"skills\" }\n  ]\n}\n```\n\nSupported artifact types are `instructions`, `rules`, `skills`, `commands`, `subagents`, `mcp`, `hooks`, `settings`, `plugins`, and `fragments`.\n\nSkills convention:\n\n```text\nskills\u002F\u003Cname>\u002FSKILL.md\n```\n\nSkill frontmatter is YAML:\n\n```yaml\n---\nname: code-review\ndescription: Review code, configuration, or documentation for correctness, safety, maintainability, and missing validation.\nallowed-tools: [Bash]\n---\n```\n\n## Troubleshooting\n\nIf there are no configured packages:\n\n```bash\nagentwheel add \u003Csource> --adapter \u003Cruntime>\nagentwheel plan\nagentwheel install\n```\n\nIf the current directory has multiple runtime markers:\n\n```bash\nagentwheel install --adapter codex --installation-type local --dry-run\n```\n\nIf a selected artifact is missing:\n\n```bash\nagentwheel list \u003Csource>\n```\n\nIf a registry short name fails:\n\n```bash\nagentwheel registry update\nagentwheel search \"\u003Cquery>\" --scope registry\n```\n\nIf npm update checks are noisy:\n\n```bash\nagentwheel --no-update-check install --dry-run\nAGENTWHEEL_NO_UPDATE_CHECK=1 agentwheel install --dry-run\n```\n\nIf install fails with `Locked install cache missing or stale for locked graph node`, or a pinned\ndependency snapshot lacks a selected artifact:\n\n```bash\nagentwheel list \u003Csource> --select \u003Cartifact>\n```\n\nThe native fetch refreshes the source cache. If the refreshed content hash matches the lock, stop —\nnothing else is stale. If it differs, regenerate only the affected graph locks (lock-only) and\nleave them uncommitted: lock commits belong to the approved install. `update --dependency` cannot\nrecompute an edge whose root node id changed (e.g. after renaming the root package's artifacts);\nregenerate the locks instead.\n\nIf target-state discovery rejects an invalid historical graph-lock\u002Fmanifest pair, first write and\nreview `agentwheel ownership recovery-plan`. For a complete local report, preview a stable-state\nrecovery with the exact Fleet target:\n\n```bash\nagentwheel plan --fleet \u003Cfleet-id> --agent \u003Cagent> \\\n  --recover-legacy-state --force-conflict --replace-conflict\n```\n\n`--recover-legacy-state` preserves the invalid historical files and only bypasses their use as the\nplanning base. `--force-conflict` adopts exact existing content; `--replace-conflict` permits the\nreviewed plan to update differing unmanaged content. Apply only the same reviewed target and flags.\nAfter the first stable install, rerun the ordinary plan without recovery flags and require a no-op.\n\nAn advanced tracked graph lock with an otherwise valid owned v2 manifest is an ordinary migration:\nAgentwheel keeps the manifest as prior runtime state, resolves the graph fresh, and does not trust the\nadvanced lock as installed history. If stale foreign ownership blocks that migration, use\n`agentwheel ownership retire-stale --destination-state-key \u003Cexact-fleet-state-key>` to produce a\nmetadata-only, revision-gated retirement plan against the already-installed Fleet manifest. Do not\nguess the state key or apply without the exact command emitted by the dry-run.\n\nWhen a nested non-Fleet workspace is refused because another plain workspace root, or its own root\nbefore Fleet qualification, owns paths under a fingerprint-only legacy key, run\n`agentwheel ownership adopt-legacy --agent \u003Cagent> --source-state-key \u003Clegacy-key>\n--from-workspace-root \u003Cprevious-owner-root> --json` from that workspace. It moves only proven,\nstill-desired entries into the stable state; add `--carry-drift` only after reviewing the drifted\npaths. Apply the emitted command, then require a normal install plan without force flags.\n\n### Choosing an ownership command\n\n`agentwheel ownership --help` lists the commands; each subcommand's `--help` is the authoritative flag\nreference. All of them dry-run by default and change only manifest metadata.\n\n| Situation | Command |\n|---|---|\n| Unclear who owns what | `ownership recovery-plan` (read-only evidence report) |\n| Refused: paths owned under a fingerprint-only legacy key | `ownership adopt-legacy` |\n| `adopt-legacy` says entries are \"already owned by the destination owner\" (mixed legacy manifest) | Run a normal `install --agent \u003Cagent>` first; it migrates the state and keeps the foreign entry. Then hand off that entry. |\n| Plan keeps one file as a `foreign artifact owned by …` in a stable manifest | `ownership handoff \u003Ctype\u002Fname>` with `--from-workspace-root \u003Croot>`, or `--from-unknown-owner` for `workspace:unknown`; add `--to-fleet \u003Cid>` for a Fleet owner |\n| Stale foreign entry already covered by the Fleet manifest | `ownership retire-stale` |\n\n`handoff` refuses a file whose runtime hash differs from the manifest. If the drift is reviewed and\nharmless, add `--carry-drift`; applying then also needs `--expected-runtime-hash` from the dry-run.\nThe recorded hash is kept, so the next install reports `DRIFT` for that file. Replacing it needs\n`install --agent \u003Cagent> --force-drift`, which also force-refreshes every merge contribution of that\ntarget (for example hooks): check that each merge destination is byte-identical afterwards. Never\nnarrow that install with `--select`: it removes unselected merge contributions.\n","# agentwheel\n\nAgentwheel discovers reusable artifacts and manages their desired state across runtimes.\n\nagentwheel is the control plane. It reads packages from sources, stores desired state in `.agentwheel\u002Fconfig.json`, plans runtime changes, and writes only through `install`. Treat runtime output directories as generated files.\n\nMental model:\n\n- `add` records desired packages.\n- `install` makes the declared state true in the target runtime.\n- `update` re-resolves tracking packages, then applies.\n- `skill update \u003Cname>` maps a configured skill to its owning package and reconciles only that skill plus its genuine transitive composition inputs; sibling artifacts keep their runtime bytes and manifest\u002Flock state.\n- `uninstall` removes configured packages and their managed runtime output.\n\n## Safety Rules\n\n- Prefer `agentwheel plan ...` or `agentwheel install --dry-run` before applying changes.\n- Do not hand-edit generated runtime files such as `skills\u002F`, `.agents\u002Fskills`, `.claude\u002Fskills`, `.github\u002Fskills`, `~\u002F.hermes\u002Fskills`, or generated instructions.\n- If a plan reports `drift` or `conflict`, stop and explain it. Do not use `--force` unless the user explicitly approves that scope.\n- Gmail, Drive, registry publishing, git commits, pushes, and runtime reloads\u002Frestarts are separate external side effects. Get explicit approval for them.\n- Programmatic adapters execute local code. Use `--adapter-module` only with `--allow-adapter-code` after the user approves that local code execution.\n- OpenClaw plugin artifacts are only planned by default. Use `--execute-plugins` only after explicit approval.\n- Search results are proposals, not approval. Never add, install, enable, or change configuration until the user confirms the artifact and target scope.\n\n## Core Flow\n\n```bash\nagentwheel search tmux\nagentwheel add github:NestDevLab\u002Fagent-mesh --skill codex-tmux --adapter codex --installation-type local --mode tracking\nagentwheel plan\nagentwheel install\n```\n\nIf a workspace already has configured packages in `.agentwheel\u002Fconfig.json`, install without a source:\n\n```bash\nagentwheel plan\nagentwheel install\n```\n\nTo add and install in one step:\n\n```bash\nagentwheel install github:owner\u002Frepo --adapter codex,claude\n```\n\nExplicit source installs with explicit adapters default to user-level artifacts. Use exactly one of\n`--user`, `--local`, or `--fleet \u003Cfleet-id>` when desired-state scope matters. Use\n`-i\u002F--installation-type \u003Ctype>` for the runtime layout inside that scope and\n`-t\u002F--target-root \u003Cproject>` for an explicit target root. Named fleets are optional.\n\n## Workspace Setup\n\nInitialize an agentwheel workspace:\n\n```bash\nagentwheel init\n```\n\nInitialize a package authoring directory:\n\n```bash\nagentwheel init package\n```\n\n`agentwheel init package` creates `openpack.json`, `instructions\u002F`, `rules\u002F`, `skills\u002F`, and `instructions\u002FAGENTS.md`.\n\n## Explicit Discovery\n\nSearch configured registries and public catalogue sources:\n\n```bash\nagentwheel search \"\u003Cquery>\"\nagentwheel search \"\u003Cquery>\" --json --limit 10\nagentwheel search \"\u003Cquery>\" --semantic --json --limit 10\n```\n\nSearch when the user explicitly asks to find, compare, or evaluate an artifact. Search results are\nproposals, not approval, and never change desired state by themselves.\n\n### Semantic catalogue search\n\nUse `--semantic` for a capability request whose wording is unlikely to match catalogue labels, or after bounded lexical search returns only weak matches. It queries the same published catalogue vector index used by the website and validates its checksums against the loaded catalogue before ranking. It is opt-in because first use may download the model and index assets.\n\n```bash\nagentwheel search \"remember corrections from earlier conversations\" --semantic --json --limit 10\n```\n\nDo not use `--semantic` for a registry-only search, and never describe a semantic score as proof\nthat an artifact implements a capability.\n\nUse a trial only for instruction skills. Plugins, MCP servers, hooks, commands, and settings are not trialled because reading them is not equivalent to safely executing them in an isolated runtime.\n\nInstall `skills\u002Fagentwheel-discovery` separately when the user wants proactive capability-gap\ndetection, bounded semantic recommendations, and read-only trial suggestions during unrelated work.\n\nRegistry maintenance remains explicit:\n\n```bash\nagentwheel registry update\nagentwheel registry list\n```\n\nInspect an explicit source before adding it:\n\n```bash\nagentwheel list github:owner\u002Frepo\nagentwheel scan github:owner\u002Frepo\nagentwheel list .\u002Flocal-agent-pack\nagentwheel scan .\u002Flocal-agent-pack\n```\n\nFilter source inspection to specific artifacts:\n\n```bash\nagentwheel list github:owner\u002Frepo --select skills\u002Freview --select rules\u002Fcore.md\nagentwheel list github:owner\u002Frepo --skill review\n```\n\n## Sources\n\nUse explicit sources when you know the package location:\n\n```bash\nagentwheel add github:owner\u002Frepo\nagentwheel add github:owner\u002Frepo#main\nagentwheel add git:https:\u002F\u002Fhost.example\u002Fowner\u002Frepo.git#v1.2.3\nagentwheel add .\u002Flocal-agent-pack\nagentwheel add \u002Fabsolute\u002Fpath\u002Fto\u002Fagent-pack\nagentwheel add skillkit:github:owner\u002Frepo\nagentwheel add vercel:owner\u002Frepo\nagentwheel add vercel:skills.sh\u002Fowner\u002Frepo\u002Fskill-name\n```\n\nShort names go through the registry:\n\n```bash\nagentwheel registry update\nagentwheel add \u003Cregistry-name>\n```\n\nDriver inference is automatic for `github:`, `git:`, `skillkit:`, `vercel:`, and local paths. Override it only when needed:\n\n```bash\nagentwheel add \u003Csource> --driver local\nagentwheel add \u003Csource> --driver git\nagentwheel add \u003Csource> --driver skillkit\nagentwheel add \u003Csource> --driver vercel-skills\n```\n\n## Add Packages\n\n`add` saves a package entry in `.agentwheel\u002Fconfig.json`; it does not install runtime files by itself.\n\n```bash\nagentwheel add github:owner\u002Frepo --adapter openclaw --installation-type local\nagentwheel add github:owner\u002Frepo --adapter claude --installation-type local\nagentwheel add github:owner\u002Frepo --adapter codex --installation-type local\nagentwheel add github:owner\u002Frepo --adapter hermes --installation-type user\nagentwheel add github:owner\u002Frepo --adapter copilot --installation-type local\n```\n\nSelect only part of a package:\n\n```bash\nagentwheel add github:owner\u002Frepo --skill code-review\nagentwheel add github:owner\u002Frepo --select skills\u002Fcode-review --select rules\u002Fcore.md\nagentwheel add github:owner\u002Frepo --select skills\u002Fcode-review,rules\u002Fcore.md\n```\n\nInstall or persist suggested companion artifacts only when requested:\n\n```bash\nagentwheel plan github:owner\u002Frepo --skill review --with-suggestions\nagentwheel install github:owner\u002Frepo --skill review --suggestion brainstorming\nagentwheel add github:owner\u002Frepo --skill review --with-suggestions --adapter codex --installation-type local\n```\n\nTreat OpenPack `suggests` as opt-in soft composition, not as `requires.optional`.\n`--with-suggestions` includes all suggestions relevant to selected artifacts as non-blocking\noptional graph edges. `--suggestion \u003Calias>` includes one named suggestion and should fail if that\nexplicit suggestion cannot resolve.\n\nUse a source override when a selected package should replace the same artifact coming from another\nsource, such as a forked skill overriding a meta-pack dependency. The declaration is explicit and\nplanning fails if it does not match exactly one losing artifact and one selected replacement:\n\n```bash\nagentwheel add github:example-org\u002Fagent-toolkit#main \\\n  --skill self-improve \\\n  --override 'github:example-upstream\u002Fagent-toolkit::skills\u002Fself-improve'\n```\n\nEquivalent config:\n\n```json\n{\n  \"name\": \"agent-toolkit-nestdev\",\n  \"source\": \"github:example-org\u002Fagent-toolkit#main\",\n  \"driver\": \"git\",\n  \"adapter\": \"codex\",\n  \"installationType\": \"local\",\n  \"mode\": \"tracking\",\n  \"select\": [\"skills\u002Fself-improve\"],\n  \"overrides\": [\"github:example-upstream\u002Fagent-toolkit::skills\u002Fself-improve\"]\n}\n```\n\n`source::type\u002Fname` identifies the artifact being replaced. `github:owner\u002Frepo` matches any ref\nfor that repo; include `#main` or another ref to narrow it. Review `OVERRIDE` lines in\n`agentwheel plan`, `agentwheel deps tree`, or `agentwheel deps why` before applying fleet-wide.\n\nUse `--name` for a stable local alias:\n\n```bash\nagentwheel add github:owner\u002Frepo --name team-agent-pack\n```\n\nChoose update mode:\n\n```bash\nagentwheel add github:owner\u002Frepo#v1.0.0 --mode pinned\nagentwheel add github:owner\u002Frepo#main --mode tracking\n```\n\n## Plan And Install\n\nPreview configured packages:\n\n```bash\nagentwheel plan\n```\n\nApply configured packages:\n\n```bash\nagentwheel install\n```\n\nExecute semantic plugin installs only after approval:\n\n```bash\nagentwheel install --execute-plugins\n```\n\nIf an agent or profile runtime declares structured `reloadCommands`, run them after executed semantic\nplugin changes only with a separate explicit gate:\n\n```bash\nagentwheel install --execute-plugins --reload-runtimes\n```\n\n### Hermes plugin rollout checks\n\nWhen delivering a Hermes plugin, do not equate source package presence or `plugins.enabled` config with a working runtime install. Verify the gateway host has `$HERMES_HOME\u002Fplugins\u002F\u003Cplugin-name>\u002F` with the expected `plugin.yaml`\u002Fcode files, the Agentwheel install manifest contains the plugin artifact, and a canary exercises the middleware path. Use `--execute-plugins` for plugin artifacts when applying, after dry-run and explicit approval.\n\nPreview or apply one configured package:\n\n```bash\nagentwheel plan team-agent-pack\nagentwheel install team-agent-pack\n```\n\nAdd and install a source in one step:\n\n```bash\nagentwheel install github:owner\u002Frepo --adapter codex,claude\n```\n\nExplicit source installs with explicit adapters default to documented user-level installs. Pass\n`--user`, `--local`, or `--fleet \u003Cfleet-id>` to select one desired-state scope, and use\n`-i\u002F--installation-type \u003Ctype>` for the runtime layout inside that scope. If a package can be\ninstalled in more than one type and no CLI\u002Fcontext default applies, Agentwheel fails instead of\nguessing.\n\nTarget selection order is `--target-root`, then `--agent`, then runtime auto-detection from the current directory, then the current directory.\n\n## Status\n\nUse status to see configured packages, lock\u002Fmanifest state, and pending install work:\n\n```bash\nagentwheel status\nagentwheel status --agent lab-codex\nagentwheel status --all\nagentwheel status --profile daily\n```\n\n### Blocked by another session\n\nGoverned installs that require a clean repository still refuse every dirty checkout before runtime\nwrites. When the local Agent Mesh graph has an exact opaque resource claim, the refusal identifies\nthe one live session and its start time. `owner unknown` is intentional when claims are missing,\ninactive, malformed, or ambiguous; candidate sessions may be listed, but Agentwheel never chooses\nbetween them. Inspect the session graph or ask the rollout coordinator to identify or clear the\nowner before retrying. Do not delete a lock or bypass the clean-tree block from this diagnostic.\n\nRepository-lock contention also reports the stored operation, PID, runtime UUID, and creation time\nwhen available, and names a graph session only for one exact live UUID match. The graph reports\nidentity and ownership; it is not a lock manager and never authorizes proceeding.\n\nFor a named fleet, prefer `agentwheel status --fleet \u003Cfleet-id> --profile \u003Cname>` over\ndirect agent status; profile status uses the same runtime resolution, adapter\nconfig, installation type, and graph lock fingerprinting as\n`install --fleet \u003Cfleet-id> --profile \u003Cname>`. If that fleet defines a profile named `all`,\n`agentwheel status --fleet \u003Cfleet-id> --all` checks that profile.\n\n## Named Fleets, Agents, And Profiles\n\nNamed fleets are optional control-plane configurations. Select one explicitly with\n`--fleet \u003Cfleet-id>`; ordinary user and local work does not require fleet registration. User,\nlocal, and fleet scopes are isolated desired state: Agentwheel does not merge them, and no fleet\nhas global priority.\n\nNamed fleets use workspace schema v3 or newer and require a compatible Agentwheel CLI. Upgrade first, verify\n`agentwheel --version` and `agentwheel fleet --help`, then create or register fleet state. Do not\ndowngrade the config, strip named-fleet data, or run an old CLI against it.\n\nCurrent config shape:\n\n```json\n{\n  \"schemaVersion\": 3,\n  \"fleetId\": \"example-fleet\",\n  \"packages\": [\n    {\n      \"name\": \"core-agent-pack\",\n      \"source\": \"github:example-org\u002Fcore-agent-pack\",\n      \"driver\": \"git\",\n      \"adapter\": \"codex\",\n      \"installationType\": \"local\",\n      \"mode\": \"tracking\"\n    }\n  ],\n  \"agents\": {\n    \"lab-codex\": { \"adapter\": \"codex\", \"installationType\": \"local\", \"root\": \"\u002Fworkspace\u002Fproject\" }\n  },\n  \"profiles\": {\n    \"daily\": {\n      \"runtimes\": [\n        { \"agent\": \"lab-codex\" }\n      ]\n    }\n  }\n}\n```\n\nUse named targets:\n\nConfigured packages may declare `\"runtimes\": [\"claude\"]` to select adapter runtimes. All\nconfigured-package plans honor it, including `--agent`, `--profile`, status, and update. Named\ntargets match their declared adapter; plain workspace commands match each package's adapter.\nAgents sharing an adapter cannot be selected separately. Upgrade all members to a version\nsupporting this field before adding it to shared configuration.\n\n```bash\nagentwheel fleet register example-fleet --root \u002Fsrv\u002Fagentwheel\u002Ffleets\u002Fexample-fleet --required-package core-agent-pack\nagentwheel fleet list\nagentwheel fleet show example-fleet\nagentwheel install --fleet example-fleet --agent lab-codex --dry-run\nagentwheel install --fleet example-fleet --all --dry-run\nagentwheel install --fleet example-fleet --profile daily --dry-run\n```\n\nAn intended runtime path owned by another scope is a blocking conflict even when the bytes match.\nUse the dedicated fleet normalization workflow: preview the transfer, review its exact plan digest,\nthen apply only the unchanged plan. Never remove the source declaration first or hand-edit runtime\noutput to manufacture a clean plan.\n\n```bash\nagentwheel fleet normalize example-fleet --from user --package core-agent-pack --json\nagentwheel fleet normalize example-fleet --from user --package core-agent-pack \\\n  --plan-digest \u003Creviewed-sha256> --apply\nagentwheel fleet normalize example-fleet --from user --recover\n```\n\n`fleetId` in the fleet config must match the registry key. Every repeatable\n`--required-package` must name a package declared by that fleet. Recovery is only for a pending\njournal and must fail if recorded configs, manifests, or graph locks changed externally.\n\n## Adapters\n\nBuilt-in adapters:\n\n- `openclaw`\n- `claude`\n- `codex`\n- `hermes`\n- `copilot`\n\nUse a declarative adapter config:\n\n```bash\nagentwheel install .\u002Fmy-pack --adapter-config .\u002Fmy-runtime.jsonc --dry-run\nagentwheel install .\u002Fmy-pack --adapter-config .\u002Fmy-runtime.jsonc\n```\n\nUse a local programmatic adapter only after approval:\n\n```bash\nagentwheel install .\u002Fmy-pack --adapter-module .\u002Fadapter.ts --allow-adapter-code --dry-run\n```\n\n## Update\n\nPreview updates for configured tracking packages:\n\n```bash\nagentwheel update --dry-run\n```\n\nApply updates:\n\n```bash\nagentwheel update\n```\n\nTarget configured agents:\n\n```bash\nagentwheel update --agent lab-codex --dry-run\nagentwheel update --all --dry-run\nagentwheel update --profile daily --dry-run\n```\n\nFor a named fleet, use `agentwheel update --fleet \u003Cfleet-id> --profile \u003Cname>` before\n`install --fleet \u003Cfleet-id> --profile \u003Cname>` when tracking packages should move forward. If that\nfleet defines a profile named `all`, `agentwheel update --fleet \u003Cfleet-id> --all` checks that\nprofile.\n\nLimit an update to one configured package:\n\n```bash\nagentwheel update team-agent-pack --dry-run\nagentwheel update team-agent-pack\n```\n\nNamed package updates preserve artifacts owned by other configured roots, including unrelated drift.\n\nFor one configured skill, resolve its owner and reconcile only that skill plus genuine transitive composition inputs:\n\n```bash\nagentwheel skill update code-review --fleet example-fleet --profile daily --dry-run\nagentwheel skill update code-review --fleet example-fleet --profile daily\n```\n\nPinned owners use install semantics; tracking owners re-resolve. Sibling artifacts from the same package retain their runtime bytes and manifest\u002Fgraph-lock entries; only composition inputs actually used by the requested skill join the update scope. Unrelated configured packages are not resolved. If ownership is ambiguous, pass `--package \u003Cname>`. Use `--adopt` only after explicit approval of the dry-run's unmanaged destinations.\n\nAdvance one tracking dependency while unrelated graph nodes remain locked:\n\n```bash\nagentwheel update --dependency shared-core --dry-run\nagentwheel update --dependency shared-core\nagentwheel update --dependency github:your-org\u002Fshared-core --agent lab-codex\n```\n\nThe selector must uniquely match a locked tracking dependency by name, alias, node id, or source.\nIts required tracking closure also advances. Configured selections stay unchanged; this mode\nrejects package arguments, `--select`, `--skill`, `--frozen-lock`, and `--offline`.\n\n`install` uses the graph lock as input when present. `update` re-resolves tracking packages and writes a new lock. Pinned packages stay on the locked graph unless their declaration changes.\n\n## Drift And Customization\n\nDrift means a managed runtime output changed outside agentwheel. Fix drift by choosing one of the supported customization channels in `.agentwheel\u002F`, then re-run a dry-run:\n\n- Layer local instructions with `agentwheel remember`.\n- Add separate local artifacts under `.agentwheel\u002Fadditions`.\n- Override upstream content under `.agentwheel\u002Foverrides`.\n- Override source precedence with package `overrides` when a forked source should replace a\n  colliding upstream artifact.\n- Eject an item into `.agentwheel\u002Fejected` when the user wants local ownership.\n\nWhen the plan instead keeps a file as foreign or refuses because another workspace owns it, that is\nan ownership problem, not drift: see \"Choosing an ownership command\" under Troubleshooting.\n\nAppend durable local instruction text:\n\n```bash\nagentwheel remember --runtime codex \"Always run the formatter before tests.\"\nagentwheel plan\nagentwheel install\n```\n\nEject an artifact:\n\n```bash\nagentwheel eject \u003Cpackage-name>\u002Fskills\u002F\u003Cskill-name>\nagentwheel plan\nagentwheel install\n```\n\nFor package names with slashes, keep the full package name:\n\n```bash\nagentwheel eject NestDevLab\u002Fagent-mesh\u002Fskills\u002Fcodex-tmux\n```\n\n## Uninstall\n\nPreview uninstall for a configured package:\n\n```bash\nagentwheel uninstall team-agent-pack --dry-run\n```\n\nUninstall clean managed files and remove the package from config:\n\n```bash\nagentwheel uninstall team-agent-pack\n```\n\nRemove from config and manifest but keep runtime files unmanaged:\n\n```bash\nagentwheel uninstall team-agent-pack --keep-files\n```\n\nBy default, uninstall keeps drifted managed files. Use `--force` only with explicit approval:\n\n```bash\nagentwheel uninstall team-agent-pack --force\n```\n\nFor a one-time MCP rename, use a dedicated cutover workspace with one legacy MCP artifact and an\nexplicit agent `stateKey`. Preview each runtime separately:\n\n```bash\nagentwheel mcp retire legacy-mcp --agent legacy-codex --from-workspace-root \u002Fexact\u002Fold\u002Fworkspace --dry-run\nagentwheel mcp retire legacy-mcp --agent legacy-claude --dry-run\n```\n\nRequire exactly one `REMOVE`, the expected target and legacy server, and zero drift\u002Fconflict.\nUnexpected owner, manifest contents, arguments, environment, or MCP fields are blockers. Apply only\nafter separate runtime approval by replacing `--dry-run` with `--apply`.\n\n## Package Manifest Reference\n\nAn OpenPack package uses `openpack.json` or `openpack.jsonc`:\n\n```json\n{\n  \"schemaVersion\": 2,\n  \"name\": \"owner\u002Fagent-pack\",\n  \"version\": \"0.1.0\",\n  \"provides\": [\n    { \"type\": \"instructions\", \"path\": \"instructions\u002FAGENTS.md\" },\n    { \"type\": \"rules\", \"path\": \"rules\" },\n    { \"type\": \"skills\", \"path\": \"skills\" }\n  ]\n}\n```\n\nSupported artifact types are `instructions`, `rules`, `skills`, `commands`, `subagents`, `mcp`, `hooks`, `settings`, `plugins`, and `fragments`.\n\nSkills convention:\n\n```text\nskills\u002F\u003Cname>\u002FSKILL.md\n```\n\nSkill frontmatter is YAML:\n\n```yaml\n---\nname: code-review\ndescription: Review code, configuration, or documentation for correctness, safety, maintainability, and missing validation.\nallowed-tools: [Bash]\n---\n```\n\n## Troubleshooting\n\nIf there are no configured packages:\n\n```bash\nagentwheel add \u003Csource> --adapter \u003Cruntime>\nagentwheel plan\nagentwheel install\n```\n\nIf the current directory has multiple runtime markers:\n\n```bash\nagentwheel install --adapter codex --installation-type local --dry-run\n```\n\nIf a selected artifact is missing:\n\n```bash\nagentwheel list \u003Csource>\n```\n\nIf a registry short name fails:\n\n```bash\nagentwheel registry update\nagentwheel search \"\u003Cquery>\" --scope registry\n```\n\nIf npm update checks are noisy:\n\n```bash\nagentwheel --no-update-check install --dry-run\nAGENTWHEEL_NO_UPDATE_CHECK=1 agentwheel install --dry-run\n```\n\nIf install fails with `Locked install cache missing or stale for locked graph node`, or a pinned\ndependency snapshot lacks a selected artifact:\n\n```bash\nagentwheel list \u003Csource> --select \u003Cartifact>\n```\n\nThe native fetch refreshes the source cache. If the refreshed content hash matches the lock, stop —\nnothing else is stale. If it differs, regenerate only the affected graph locks (lock-only) and\nleave them uncommitted: lock commits belong to the approved install. `update --dependency` cannot\nrecompute an edge whose root node id changed (e.g. after renaming the root package's artifacts);\nregenerate the locks instead.\n\nIf target-state discovery rejects an invalid historical graph-lock\u002Fmanifest pair, first write and\nreview `agentwheel ownership recovery-plan`. For a complete local report, preview a stable-state\nrecovery with the exact Fleet target:\n\n```bash\nagentwheel plan --fleet \u003Cfleet-id> --agent \u003Cagent> \\\n  --recover-legacy-state --force-conflict --replace-conflict\n```\n\n`--recover-legacy-state` preserves the invalid historical files and only bypasses their use as the\nplanning base. `--force-conflict` adopts exact existing content; `--replace-conflict` permits the\nreviewed plan to update differing unmanaged content. Apply only the same reviewed target and flags.\nAfter the first stable install, rerun the ordinary plan without recovery flags and require a no-op.\n\nAn advanced tracked graph lock with an otherwise valid owned v2 manifest is an ordinary migration:\nAgentwheel keeps the manifest as prior runtime state, resolves the graph fresh, and does not trust the\nadvanced lock as installed history. If stale foreign ownership blocks that migration, use\n`agentwheel ownership retire-stale --destination-state-key \u003Cexact-fleet-state-key>` to produce a\nmetadata-only, revision-gated retirement plan against the already-installed Fleet manifest. Do not\nguess the state key or apply without the exact command emitted by the dry-run.\n\nWhen a nested non-Fleet workspace is refused because another plain workspace root, or its own root\nbefore Fleet qualification, owns paths under a fingerprint-only legacy key, run\n`agentwheel ownership adopt-legacy --agent \u003Cagent> --source-state-key \u003Clegacy-key>\n--from-workspace-root \u003Cprevious-owner-root> --json` from that workspace. It moves only proven,\nstill-desired entries into the stable state; add `--carry-drift` only after reviewing the drifted\npaths. Apply the emitted command, then require a normal install plan without force flags.\n\n### Choosing an ownership command\n\n`agentwheel ownership --help` lists the commands; each subcommand's `--help` is the authoritative flag\nreference. All of them dry-run by default and change only manifest metadata.\n\n| Situation | Command |\n|---|---|\n| Unclear who owns what | `ownership recovery-plan` (read-only evidence report) |\n| Refused: paths owned under a fingerprint-only legacy key | `ownership adopt-legacy` |\n| `adopt-legacy` says entries are \"already owned by the destination owner\" (mixed legacy manifest) | Run a normal `install --agent \u003Cagent>` first; it migrates the state and keeps the foreign entry. Then hand off that entry. |\n| Plan keeps one file as a `foreign artifact owned by …` in a stable manifest | `ownership handoff \u003Ctype\u002Fname>` with `--from-workspace-root \u003Croot>`, or `--from-unknown-owner` for `workspace:unknown`; add `--to-fleet \u003Cid>` for a Fleet owner |\n| Stale foreign entry already covered by the Fleet manifest | `ownership retire-stale` |\n\n`handoff` refuses a file whose runtime hash differs from the manifest. If the drift is reviewed and\nharmless, add `--carry-drift`; applying then also needs `--expected-runtime-hash` from the dry-run.\nThe recorded hash is kept, so the next install reports `DRIFT` for that file. Replacing it needs\n`install --agent \u003Cagent> --force-drift`, which also force-refreshes every merge contribution of that\ntarget (for example hooks): check that each merge destination is byte-identical afterwards. Never\nnarrow that install with `--select`: it removes unselected merge contributions.\n",{"name":5,"license":14,"metadata":23,"description":7,"allowed-tools":25},{"author":9,"version":24},"0.22.6",[26],"Bash","main","ffecadfed4adc19e4211bd8c757c0a50b70c7656","skills\u002Fagentwheel",0,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel","http:\u002F\u002Fwww.nestdev.it\u002Fagentwheel\u002F","https:\u002F\u002Fgithub.com\u002FNestDevLab","2026-11-13 17:20:14",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add NestDevLab\u002Fagentwheel --skill agentwheel",{"tool":41,"command":42},"bunx","bunx skills add NestDevLab\u002Fagentwheel --skill agentwheel",{"tool":44,"command":45},"pnpm","pnpm dlx skills add NestDevLab\u002Fagentwheel --skill agentwheel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002FSKILL.md",true,[49,55,59,63,67,71],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fhermes-background-review-routing.md","REFERENCE","参考文档",5031,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002Freferences\u002Fhermes-background-review-routing.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fhermes-plugin-rollout-source-routing.md",1848,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002Freferences\u002Fhermes-plugin-rollout-source-routing.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fhermes-self-improve-runtime-drift.md",1948,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002Freferences\u002Fhermes-self-improve-runtime-drift.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fmulti-runtime-plugin-packs.md",3824,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002Freferences\u002Fmulti-runtime-plugin-packs.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Foptional-openclaw-plugin-artifacts.md",2646,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002Freferences\u002Foptional-openclaw-plugin-artifacts.md",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fpackage-manifest-and-registry-updates.md",2679,"https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel\u002Freferences\u002Fpackage-manifest-and-registry-updates.md",[76,83,90,97,104],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M75DDZDZWSAJ82BQ5TR6E3V2","agentwheel-smoke-skill","Deterministic smoke skill used by Agentwheel installation tests.","https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsmoke\u002Fskills-only\u002Fskills\u002Fagentwheel-smoke-skill\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M75DDXN77R60W1XM1WYQG2TV","demo-skill","Demo skill for agentwheel tests.","https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Flocal-source\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M75DDN7X89ZAB1W086Z0EYNN","agentwheel-smoke","Run a read-only smoke diagnostic for the current AI harness and its Agentwheel-managed installation state. Use when asked to smoke test an agent, verify fleet deployment, inspect whether a harness is installed in the expected Agentwheel path, or summarize local Agentwheel status without mutating files or external systems.","https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel-smoke\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M75DDFXM5DPEJEYMYXNVJZZN","agentwheel-discovery","MUST use proactively when a request expresses an operational intent that an existing reusable skill or integration could plausibly fulfill—even if the user did not ask for a skill or describe a capability gap. Inspect installed artifacts, then run Agentwheel semantic search before generic or manual solution design when none already covers the intent. Suggest up to three evidence-backed matches and offer a read-only trial without installing or changing anything.","https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel-discovery\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M75DDD3NSV4GFYCZS498GPD8","agentwheel-artifact-evolution","Generate or evolve OpenPack artifacts from a verified capability gap, correction, or rollout request. Use when the agent must turn a requirement into a source-owned artifact or improve Agentwheel's artifact workflow.","https:\u002F\u002Fgithub.com\u002FNestDevLab\u002Fagentwheel\u002Fblob\u002Fmain\u002Fskills\u002Fagentwheel-artifact-evolution\u002FSKILL.md",[],[]]