[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7304J31BY5M9FJFPZH2V8X9":3,"skill-same:01M7304J31BY5M9FJFPZH2V8X9":44},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7304J31BY5M9FJFPZH2V8X9","skillset-operator",null,"Use when operating the skillset CLI for agent skill desired-state management: creating or reviewing skills.profile.yaml, discovering installed skills, checking drift, adopting existing installs, applying missing user-tier skills, or pruning skillset-managed entries safely.","gh-xj\u002Fskillset","gh-xj","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F46443118?v=4","01M7304E8J6GX1A38VBRKT80Y0","xj","01M7304E9CSYHB2J3S7A022V9R",0,"MIT","https:\u002F\u002Fgithub.com\u002Fgh-xj\u002Fskillset\u002Fblob\u002Fmain\u002Fskills\u002Fskillset-operator\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: skillset-operator\ndescription: \"Use when operating the skillset CLI for agent skill desired-state management: creating or reviewing skills.profile.yaml, discovering installed skills, checking drift, adopting existing installs, applying missing user-tier skills, or pruning skillset-managed entries safely.\"\n---\n\n# skillset-operator\n\nUse the `skillset` CLI as a desired-state manager for agent skills. The profile\nis the source of truth; live skill roots are current state; `.skillset\u002F` is\nlocal evidence for safe pruning.\n\n## First Principles\n\n- Treat `skills.profile.yaml` as intent. Do not treat generated state or live\n  roots as the durable contract.\n- Prefer read-only commands before write commands.\n- Never edit live skill roots directly when `skillset` can inspect or plan the\n  change.\n- `apply` is non-destructive: it creates missing desired user-tier entries but\n  does not replace existing targets.\n- `prune` is the only delete path. It may delete only entries already recorded\n  as `skillset`-managed and no longer desired by the profile.\n- Always dry-run `adopt`, `apply`, and `prune` before using `--apply`.\n\n## Safe First Commands\n\nStart with read-only inspection. These commands should not write live skill\nroots or `.skillset\u002F` state:\n\n```sh\nskillset validate\nskillset check\nskillset diff\nskillset doctor\n```\n\nIf the profile is not in the current directory, pass it explicitly:\n\n```sh\nskillset --profile skills.profile.yaml validate\nskillset --profile skills.profile.yaml check\nskillset --profile skills.profile.yaml diff\nskillset --profile skills.profile.yaml doctor\n```\n\n## Install The CLI\n\nCheck whether the CLI is already available:\n\n```sh\nskillset version\n```\n\nIf it is missing:\n\n```sh\ngo install github.com\u002Fgh-xj\u002Fskillset\u002Fcmd\u002Fskillset@latest\n```\n\nIf the repo is checked out locally, prefer its built binary or Taskfile while\ndeveloping:\n\n```sh\ntask build\n.\u002Fbin\u002Fskillset version\n```\n\n## New Profile Flow\n\nFor an existing machine, discover current roots and save a draft profile:\n\n```sh\nskillset discover --suggested-profile > skills.profile.yaml\nskillset validate\nskillset check\nskillset diff\nskillset doctor\n```\n\nThen edit the profile so sources are intentional and stable. Replace absolute\nmachine paths with stable relative `local:` roots when possible.\n\nFor a fresh profile, start small:\n\n```yaml\nschema_version: 1\nskills:\n  - name: opencli-browser\n    tier: user\n    owner: upstream\n    source: github:jackwener\u002Fopencli\u002F\u002Fskills\u002Fopencli-browser\n    agents: [codex]\n```\n\n## Adopt Existing Installs\n\nUse this when live roots already contain the desired skills and you want\n`skillset` to record managed-entry evidence for future safe pruning.\n\n```sh\nskillset adopt\nskillset adopt --apply\nskillset managed\n```\n\n`adopt --apply` writes only `.skillset\u002Fstate.yaml` and\n`.skillset\u002Fevents.ndjson` beside the profile path. It must not rewrite live\nskill roots.\n\n## Apply Missing Skills\n\nUse this on a fresh machine or after adding desired user-tier skills to the\nprofile.\n\n```sh\nskillset diff\nskillset apply\nskillset apply --apply\nskillset check\n```\n\n`local:` sources become symlinks. `github:` sources delegate to `npx skills`\nin copy mode. `system:` sources are check\u002Fignore only. `repo` tier is\naudit\u002Fcheck only in v1.\n\n## Prune Safely\n\nUse this only after removing a skill from `skills.profile.yaml`.\n\n```sh\nskillset prune\nskillset prune --apply\nskillset check\n```\n\nAfter changing `roots:`, local source syntax, or migrating a profile, run the\nreal profile through `check`, `diff`, and `prune` dry-run before any\n`prune --apply`. A clean `check` does not by itself prove old managed state is\nsafe to prune.\n\nStop if the dry-run output includes anything unexpected. `prune --apply`\nshould delete only entries that are:\n\n- absent from the current profile\n- recorded in `.skillset\u002Fstate.yaml`\n- user-tier\n- still matching the recorded target kind and safety evidence\n\n## Triage Output\n\n- `missing_target`: expected when a desired user-tier skill is absent. Use\n  `apply` after reviewing `diff`.\n- `missing_source`: the profile points at a local source path that does not\n  exist. Fix the profile or source checkout first.\n- `wrong_kind`: local sources should be symlinks; GitHub sources should be\n  copied directories in v1.\n- `wrong_target`: a local symlink points somewhere other than the desired\n  source. Do not repair blindly; inspect the live target first.\n- `repo_audit_only`: expected for repo-tier entries in v1.\n- `system_ignored`: expected for system-tier entries.\n\n## Profile Entry Patterns\n\nUpstream copied skill:\n\n```yaml\n- name: opencli-browser\n  tier: user\n  owner: upstream\n  source: github:jackwener\u002Fopencli\u002F\u002Fskills\u002Fopencli-browser\n  agents: [codex]\n```\n\nFirst-party local symlink:\n\n```yaml\nroots:\n  ark: ..\u002Fagent-repo-kit\u002Fskills\nskills:\n  - name: work-cli\n    tier: user\n    owner: first_party\n    source: local:ark\u002F\u002Fwork-cli\n    agents: [codex]\n```\n\nRuntime-provided system skill:\n\n```yaml\n- name: imagegen\n  tier: system\n  owner: system\n  source: system:codex\u002Fimagegen\n```\n\n## Red Flags\n\n- Do not add GitHub ref pinning; v1 rejects it.\n- Do not make `skillset` manage repo-tier writes or deletes; v1 is audit-only\n  for repo tier.\n- Do not run `prune --apply` just because `check` has errors. Understand the\n  state entry and dry-run plan first.\n- Do not use `.skillset\u002Fstate.yaml` as intent. Update `skills.profile.yaml`\n  instead.\n","# skillset-operator\n\nUse the `skillset` CLI as a desired-state manager for agent skills. The profile\nis the source of truth; live skill roots are current state; `.skillset\u002F` is\nlocal evidence for safe pruning.\n\n## First Principles\n\n- Treat `skills.profile.yaml` as intent. Do not treat generated state or live\n  roots as the durable contract.\n- Prefer read-only commands before write commands.\n- Never edit live skill roots directly when `skillset` can inspect or plan the\n  change.\n- `apply` is non-destructive: it creates missing desired user-tier entries but\n  does not replace existing targets.\n- `prune` is the only delete path. It may delete only entries already recorded\n  as `skillset`-managed and no longer desired by the profile.\n- Always dry-run `adopt`, `apply`, and `prune` before using `--apply`.\n\n## Safe First Commands\n\nStart with read-only inspection. These commands should not write live skill\nroots or `.skillset\u002F` state:\n\n```sh\nskillset validate\nskillset check\nskillset diff\nskillset doctor\n```\n\nIf the profile is not in the current directory, pass it explicitly:\n\n```sh\nskillset --profile skills.profile.yaml validate\nskillset --profile skills.profile.yaml check\nskillset --profile skills.profile.yaml diff\nskillset --profile skills.profile.yaml doctor\n```\n\n## Install The CLI\n\nCheck whether the CLI is already available:\n\n```sh\nskillset version\n```\n\nIf it is missing:\n\n```sh\ngo install github.com\u002Fgh-xj\u002Fskillset\u002Fcmd\u002Fskillset@latest\n```\n\nIf the repo is checked out locally, prefer its built binary or Taskfile while\ndeveloping:\n\n```sh\ntask build\n.\u002Fbin\u002Fskillset version\n```\n\n## New Profile Flow\n\nFor an existing machine, discover current roots and save a draft profile:\n\n```sh\nskillset discover --suggested-profile > skills.profile.yaml\nskillset validate\nskillset check\nskillset diff\nskillset doctor\n```\n\nThen edit the profile so sources are intentional and stable. Replace absolute\nmachine paths with stable relative `local:` roots when possible.\n\nFor a fresh profile, start small:\n\n```yaml\nschema_version: 1\nskills:\n  - name: opencli-browser\n    tier: user\n    owner: upstream\n    source: github:jackwener\u002Fopencli\u002F\u002Fskills\u002Fopencli-browser\n    agents: [codex]\n```\n\n## Adopt Existing Installs\n\nUse this when live roots already contain the desired skills and you want\n`skillset` to record managed-entry evidence for future safe pruning.\n\n```sh\nskillset adopt\nskillset adopt --apply\nskillset managed\n```\n\n`adopt --apply` writes only `.skillset\u002Fstate.yaml` and\n`.skillset\u002Fevents.ndjson` beside the profile path. It must not rewrite live\nskill roots.\n\n## Apply Missing Skills\n\nUse this on a fresh machine or after adding desired user-tier skills to the\nprofile.\n\n```sh\nskillset diff\nskillset apply\nskillset apply --apply\nskillset check\n```\n\n`local:` sources become symlinks. `github:` sources delegate to `npx skills`\nin copy mode. `system:` sources are check\u002Fignore only. `repo` tier is\naudit\u002Fcheck only in v1.\n\n## Prune Safely\n\nUse this only after removing a skill from `skills.profile.yaml`.\n\n```sh\nskillset prune\nskillset prune --apply\nskillset check\n```\n\nAfter changing `roots:`, local source syntax, or migrating a profile, run the\nreal profile through `check`, `diff`, and `prune` dry-run before any\n`prune --apply`. A clean `check` does not by itself prove old managed state is\nsafe to prune.\n\nStop if the dry-run output includes anything unexpected. `prune --apply`\nshould delete only entries that are:\n\n- absent from the current profile\n- recorded in `.skillset\u002Fstate.yaml`\n- user-tier\n- still matching the recorded target kind and safety evidence\n\n## Triage Output\n\n- `missing_target`: expected when a desired user-tier skill is absent. Use\n  `apply` after reviewing `diff`.\n- `missing_source`: the profile points at a local source path that does not\n  exist. Fix the profile or source checkout first.\n- `wrong_kind`: local sources should be symlinks; GitHub sources should be\n  copied directories in v1.\n- `wrong_target`: a local symlink points somewhere other than the desired\n  source. Do not repair blindly; inspect the live target first.\n- `repo_audit_only`: expected for repo-tier entries in v1.\n- `system_ignored`: expected for system-tier entries.\n\n## Profile Entry Patterns\n\nUpstream copied skill:\n\n```yaml\n- name: opencli-browser\n  tier: user\n  owner: upstream\n  source: github:jackwener\u002Fopencli\u002F\u002Fskills\u002Fopencli-browser\n  agents: [codex]\n```\n\nFirst-party local symlink:\n\n```yaml\nroots:\n  ark: ..\u002Fagent-repo-kit\u002Fskills\nskills:\n  - name: work-cli\n    tier: user\n    owner: first_party\n    source: local:ark\u002F\u002Fwork-cli\n    agents: [codex]\n```\n\nRuntime-provided system skill:\n\n```yaml\n- name: imagegen\n  tier: system\n  owner: system\n  source: system:codex\u002Fimagegen\n```\n\n## Red Flags\n\n- Do not add GitHub ref pinning; v1 rejects it.\n- Do not make `skillset` manage repo-tier writes or deletes; v1 is audit-only\n  for repo tier.\n- Do not run `prune --apply` just because `check` has errors. Understand the\n  state entry and dry-run plan first.\n- Do not use `.skillset\u002Fstate.yaml` as intent. Update `skills.profile.yaml`\n  instead.\n",{"name":5,"description":7},"main","b481e570cd4846234399a88750d0d45054d3ec42","skills\u002Fskillset-operator","https:\u002F\u002Fgithub.com\u002Fgh-xj\u002Fskillset","https:\u002F\u002Fgithub.com\u002Fgh-xj","2026-05-18 15:27:08",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add gh-xj\u002Fskillset --skill skillset-operator",{"tool":36,"command":37},"bunx","bunx skills add gh-xj\u002Fskillset --skill skillset-operator",{"tool":39,"command":40},"pnpm","pnpm dlx skills add gh-xj\u002Fskillset --skill skillset-operator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgh-xj\u002Fskillset\u002Fblob\u002Fmain\u002Fskills\u002Fskillset-operator\u002FSKILL.md",true,[],[45,52],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7304NB57PFW41Y9W1YB5VS8","skill-builder","Fixture-only local source used by read-only planner smoke checks.","https:\u002F\u002Fgithub.com\u002Fgh-xj\u002Fskillset\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Flocal\u002Fskills\u002Fskill-builder\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7304GYRB1NWHEH751Z2P7D0","skillset-maintainer","https:\u002F\u002Fgithub.com\u002Fgh-xj\u002Fskillset\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskillset-maintainer\u002FSKILL.md",[],[]]