[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78G0Z1KH5JMSM38QZC2M4H1":3,"skill-same:01M78G0Z1KH5JMSM38QZC2M4H1":47},{"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":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78G0Z1KH5JMSM38QZC2M4H1","skm",null,"Manage AI coding skills and commands with the skm CLI: one local Git repo of skills\u002Fcommands, installed into Claude Code, Codex, pi, dsh and any custom target. Use when asked to import\u002Fadopt a skill, install or uninstall one somewhere, update or verify the repo, inspect what is installed where, add an install target, or install a provider\u002Ftarget plugin. Also use when the user says skm, \"my skills repo\", \"装到 claude\u002Fcodex\", \"同步技能\".","alswl\u002Fskm","alswl","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F227562?v=4","01M78G0X7SNYCTE8KGCPZYTBPB","Jingchao","01M78G0X8Q1YPS66475V799865",11,"MIT","https:\u002F\u002Fgithub.com\u002Falswl\u002Fskm\u002Fblob\u002Fmaster\u002Fskill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: skm\ndescription: >-\n  Manage AI coding skills and commands with the skm CLI: one local Git repo of\n  skills\u002Fcommands, installed into Claude Code, Codex, pi, dsh and any custom\n  target. Use when asked to import\u002Fadopt a skill, install or uninstall one\n  somewhere, update or verify the repo, inspect what is installed where, add an\n  install target, or install a provider\u002Ftarget plugin. Also use when the user\n  says skm, \"my skills repo\", \"装到 claude\u002Fcodex\", \"同步技能\".\n---\n\n# skm\n\nskm keeps skills and commands in **one local Git repo** and installs them into every\ntool. Two axes: **providers** say where an asset came from; **targets** say where it\ngets installed. `skm --help` and `docs\u002Fcli\u002F` have the full surface — this file is the\nworking model plus the commands worth reaching for.\n\n## Before anything else\n\n- Every command takes `--json`. **Always pass it when you're going to parse the\n  output**; the human tables are not a stable contract.\n- Exit codes: `0` ok, `1` problem with the object you asked about, `2` argument \u002F\n  tool \u002F provider error. Don't infer success from stdout.\n- The repo root is discovered upward from cwd (a `skills\u002F` or `commands\u002F` dir marks\n  it); override with `--root`, or `SKM_ROOT`. If a command says \"no repository\n  found\", you are outside the repo — pass `--root`, don't `skm init` a new one.\n- `--dry-run` reports intended actions and writes nothing. Use it first for anything\n  that touches target directories.\n- Destructive commands (`delete`, `delete-external`) require `--force` by design.\n  Ask the user before reaching for them.\n\n## The loop that covers most work\n\n```bash\nskm list --json                     # the catalog: every entry, with install columns\nskm status \u003Cname> --json            # one entry across targets: installed\u002Fdangling\u002Fdrifted\nskm install \u003Cname> [--target t]     # default: every kind-matching target\nskm uninstall \u003Cname> [--target t]   # removes managed installs only, never user files\nskm verify --json                   # whole-repo consistency\n```\n\nBringing assets in:\n\n```bash\nskm import .\u002Fmy-skill --kind skill          # local path\nskm import owner\u002Frepo\u002Fpath\u002Fto\u002Fskill --json  # GitHub shorthand, subdir, or a blob URL\nskm import - \u003C sources.txt                  # newline-separated list on stdin\nskm discover --json && skm adopt ~\u002F.codex\u002Fskills\u002Freview   # take over an unmanaged install\nskm update \u003Cname> \u002F skm batch-update        # refresh from the recorded origin\n```\n\nFor community skills, run `skm fork \u003Cname>` before customizing, then edit the copy in\n`skills-fork\u002F\u003Cpath>\u002F` (`skm info` prints it). While it exists it is the active version. `update`\nmerges your edits onto the new upstream with `git merge-file` and, on any conflict, timeout or\nbinary clash, stops and changes nothing; fix the fork and rerun, or `fork --replace`. `fork\n--replace` and `fork --discard` delete the user's copy, so get authorization first. Archive and\ndelete refuse a forked Skill until it is discarded. There is no recovery state: an update killed\nhalfway is restored from Git.\n\nEntries are plain directories with `SKILL.md`; editing files in the repo is normal\nand expected. Never edit an *installed* copy in a target — it is a symlink or a\ngenerated adapter, and drift is what `skm status` will report.\n\n## Targets\n\nA target is a destination path plus the kinds it accepts and the strategy per kind.\nBuilt-ins (Claude skills\u002Fcommands, Codex, pi, dsh, shared agents) are always present;\nadd your own instead of copying files around:\n\n```bash\nskm target list --json\nskm target add --name my-tool --platform mytool --path ~\u002F.mytool\u002Fskills \\\n  --accepts skill --strategy skill=skill-symlink\nskm target validate --json\n```\n\n## Plugins\n\nProviders and targets are extensible with plain executables — no Go, no rebuild. A\nplugin is one executable file speaking line-delimited JSON on stdin\u002Fstdout\n(`docs\u002Fplugins\u002FREADME.md` has the protocol and a template).\n\n```bash\nskm plugin add ~\u002Fws\u002Fskills\u002Fskm\u002Fplugins\u002Fproviders\u002Fali-skills  # kind read from providers\u002F\nskm plugin add ~\u002Fbin\u002Fmy-target --kind target --name acme-target # otherwise say which kind\nskm plugin list --json                                        # incl. links whose source is gone\nskm plugin remove acme-target [--kind target]\n```\n\n`add` **links** the executable into `~\u002F.config\u002Fskm\u002Fplugins\u002F\u003Ckind>s\u002F`, so edits in the\nuser's own checkout take effect on the next command; `remove` unlinks and never\ndeletes their file. Loading is isolated: a broken, slow or hung plugin is skipped\nwith a reason in `skm provider list` \u002F `skm target plugin list`, and never takes skm\ndown.\n\n## Sharing a setup\n\n```bash\nskm share create --json         # source addresses only, never raw content\nskm share apply \u003Cpayload>\nskm export                      # a quote-safe `skm deploy` line for what's installed\nskm deploy \u003Crepo-url>           # clone\u002Fpull and batch-install on another machine\n```\n\n## Backing up a setup\n\n```bash\nskm backup create [file]        # which entries exist + which targets each is installed on\nskm backup restore [file]       # defaults to the most recent backup\nskm backup restore --force      # let the reinstall overwrite an occupied install path\n```\n\nLocal only, and content-free: a backup records entry roots and their installs, never file\nbytes, so restoring cannot resurrect an entry deleted from the repo — it reports that one\nas failed. Use git for content, `share` for another user.\n\n## Gotchas\n\n- The plugin directory follows `$XDG_CONFIG_HOME`\u002F`$HOME` (`~\u002F.config\u002Fskm\u002Fplugins`),\n  **not** `--config`. `SKM_PLUGINS_DIR` adds more scan dirs; skm only writes the first.\n- `skm uninstall` and `skm plugin remove` are deliberately narrow: they remove what\n  skm created. Anything the user wrote stays, and skm says so rather than guessing.\n- Run `skm` with no subcommand for the TUI; that is the primary human interface, so\n  prefer suggesting it over scripting a long sequence of one-off commands.\n","# skm\n\nskm keeps skills and commands in **one local Git repo** and installs them into every\ntool. Two axes: **providers** say where an asset came from; **targets** say where it\ngets installed. `skm --help` and `docs\u002Fcli\u002F` have the full surface — this file is the\nworking model plus the commands worth reaching for.\n\n## Before anything else\n\n- Every command takes `--json`. **Always pass it when you're going to parse the\n  output**; the human tables are not a stable contract.\n- Exit codes: `0` ok, `1` problem with the object you asked about, `2` argument \u002F\n  tool \u002F provider error. Don't infer success from stdout.\n- The repo root is discovered upward from cwd (a `skills\u002F` or `commands\u002F` dir marks\n  it); override with `--root`, or `SKM_ROOT`. If a command says \"no repository\n  found\", you are outside the repo — pass `--root`, don't `skm init` a new one.\n- `--dry-run` reports intended actions and writes nothing. Use it first for anything\n  that touches target directories.\n- Destructive commands (`delete`, `delete-external`) require `--force` by design.\n  Ask the user before reaching for them.\n\n## The loop that covers most work\n\n```bash\nskm list --json                     # the catalog: every entry, with install columns\nskm status \u003Cname> --json            # one entry across targets: installed\u002Fdangling\u002Fdrifted\nskm install \u003Cname> [--target t]     # default: every kind-matching target\nskm uninstall \u003Cname> [--target t]   # removes managed installs only, never user files\nskm verify --json                   # whole-repo consistency\n```\n\nBringing assets in:\n\n```bash\nskm import .\u002Fmy-skill --kind skill          # local path\nskm import owner\u002Frepo\u002Fpath\u002Fto\u002Fskill --json  # GitHub shorthand, subdir, or a blob URL\nskm import - \u003C sources.txt                  # newline-separated list on stdin\nskm discover --json && skm adopt ~\u002F.codex\u002Fskills\u002Freview   # take over an unmanaged install\nskm update \u003Cname> \u002F skm batch-update        # refresh from the recorded origin\n```\n\nFor community skills, run `skm fork \u003Cname>` before customizing, then edit the copy in\n`skills-fork\u002F\u003Cpath>\u002F` (`skm info` prints it). While it exists it is the active version. `update`\nmerges your edits onto the new upstream with `git merge-file` and, on any conflict, timeout or\nbinary clash, stops and changes nothing; fix the fork and rerun, or `fork --replace`. `fork\n--replace` and `fork --discard` delete the user's copy, so get authorization first. Archive and\ndelete refuse a forked Skill until it is discarded. There is no recovery state: an update killed\nhalfway is restored from Git.\n\nEntries are plain directories with `SKILL.md`; editing files in the repo is normal\nand expected. Never edit an *installed* copy in a target — it is a symlink or a\ngenerated adapter, and drift is what `skm status` will report.\n\n## Targets\n\nA target is a destination path plus the kinds it accepts and the strategy per kind.\nBuilt-ins (Claude skills\u002Fcommands, Codex, pi, dsh, shared agents) are always present;\nadd your own instead of copying files around:\n\n```bash\nskm target list --json\nskm target add --name my-tool --platform mytool --path ~\u002F.mytool\u002Fskills \\\n  --accepts skill --strategy skill=skill-symlink\nskm target validate --json\n```\n\n## Plugins\n\nProviders and targets are extensible with plain executables — no Go, no rebuild. A\nplugin is one executable file speaking line-delimited JSON on stdin\u002Fstdout\n(`docs\u002Fplugins\u002FREADME.md` has the protocol and a template).\n\n```bash\nskm plugin add ~\u002Fws\u002Fskills\u002Fskm\u002Fplugins\u002Fproviders\u002Fali-skills  # kind read from providers\u002F\nskm plugin add ~\u002Fbin\u002Fmy-target --kind target --name acme-target # otherwise say which kind\nskm plugin list --json                                        # incl. links whose source is gone\nskm plugin remove acme-target [--kind target]\n```\n\n`add` **links** the executable into `~\u002F.config\u002Fskm\u002Fplugins\u002F\u003Ckind>s\u002F`, so edits in the\nuser's own checkout take effect on the next command; `remove` unlinks and never\ndeletes their file. Loading is isolated: a broken, slow or hung plugin is skipped\nwith a reason in `skm provider list` \u002F `skm target plugin list`, and never takes skm\ndown.\n\n## Sharing a setup\n\n```bash\nskm share create --json         # source addresses only, never raw content\nskm share apply \u003Cpayload>\nskm export                      # a quote-safe `skm deploy` line for what's installed\nskm deploy \u003Crepo-url>           # clone\u002Fpull and batch-install on another machine\n```\n\n## Backing up a setup\n\n```bash\nskm backup create [file]        # which entries exist + which targets each is installed on\nskm backup restore [file]       # defaults to the most recent backup\nskm backup restore --force      # let the reinstall overwrite an occupied install path\n```\n\nLocal only, and content-free: a backup records entry roots and their installs, never file\nbytes, so restoring cannot resurrect an entry deleted from the repo — it reports that one\nas failed. Use git for content, `share` for another user.\n\n## Gotchas\n\n- The plugin directory follows `$XDG_CONFIG_HOME`\u002F`$HOME` (`~\u002F.config\u002Fskm\u002Fplugins`),\n  **not** `--config`. `SKM_PLUGINS_DIR` adds more scan dirs; skm only writes the first.\n- `skm uninstall` and `skm plugin remove` are deliberately narrow: they remove what\n  skm created. Anything the user wrote stays, and skm says so rather than guessing.\n- Run `skm` with no subcommand for the TUI; that is the primary human interface, so\n  prefer suggesting it over scripting a long sequence of one-off commands.\n",{"name":5,"description":7},"master","b2dc83802bfc5f42d6935709667045b8964917ec","skill",1,"https:\u002F\u002Fgithub.com\u002Falswl\u002Fskm","https:\u002F\u002Fgithub.com\u002Falswl","https:\u002F\u002Fblog.alswl.com\u002F","Code Monkey \u002F\u002F Senior YAML Editor \u002F\u002F 擅长江浙菜 \u002F\u002F 公众号窥豹","2026-10-18 14:49:43",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add alswl\u002Fskm --skill skm",{"tool":39,"command":40},"bunx","bunx skills add alswl\u002Fskm --skill skm",{"tool":42,"command":43},"pnpm","pnpm dlx skills add alswl\u002Fskm --skill skm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Falswl\u002Fskm\u002Fblob\u002Fmaster\u002Fskill\u002FSKILL.md",true,[],[48,55,62],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M78G19FNWWCQP39852P7TW54","repo-analyzer","Analyze a codebase and generate structured documentation","https:\u002F\u002Fgithub.com\u002Falswl\u002Fskm\u002Fblob\u002Fmaster\u002Ftestdata\u002Fe2e\u002Frepo\u002Fskills\u002Frepo-analyzer\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M78G16GB2M5S8EXWPD6QRKH6","proper-skill","A standard entry nested under the local provider","https:\u002F\u002Fgithub.com\u002Falswl\u002Fskm\u002Fblob\u002Fmaster\u002Ftestdata\u002Fe2e\u002Frepo\u002Fskills\u002Flocal\u002Fproper-skill\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M78G14EWX5W1KRQKPXQQ6B76","d2","Draw and diagram with d2","https:\u002F\u002Fgithub.com\u002Falswl\u002Fskm\u002Fblob\u002Fmaster\u002Ftestdata\u002Fe2e\u002Frepo\u002Fskills\u002Fd2\u002FSKILL.md",[],[]]