[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DM2HSF795J7BGMN9BSZZYJ":3,"skill-same:01M7DM2HSF795J7BGMN9BSZZYJ":43},{"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":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7DM2HSF795J7BGMN9BSZZYJ","sleipnir-plugin",null,"Make or change a Sleipnir plugin and load it live (sleipnir tool).","Anemos-labs\u002FSleipnir","Anemos-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F292271065?v=4","01M7DM0NMRCBK5YXDB4DPZDJJG","01M7DM0NNVMEW7T30EG9YW2G88",0,"MIT","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fsleipnir-plugin\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sleipnir-plugin\ndescription: Make or change a Sleipnir plugin and load it live (sleipnir tool).\nlicense: MIT\n---\n\n# Writing a Sleipnir plugin\n\nA plugin is a directory. Sleipnir reads it when the session starts, so the loop is: write it, check it, install it, reload, try it.\nThis page is the whole contract: do not search for Sleipnir's source or documentation, and let `plugins op check` tell you what is\nwrong.\n\n## The loop\n\n1. Write the plugin in a directory of its own: `$TMPDIR\u002F\u003Cid>\u002F` for a plugin of the person's, or `plugins\u002F\u003Cid>\u002F` inside the project\n   when it belongs to the project's repository. Never write into `~\u002F.sleipnir`: install copies it there.\n2. `sleipnir` tool, action `plugins`, op `check`, source = that directory. Fix every error; read every warning.\n3. Op `install` with the same source (and `replace: true` when you are updating a plugin that is already installed). Install\n   turns it on in the person's own settings.\n4. Action `reload` with `why` saying what it adds. The session starts again with this conversation when your turn ends, and you\n   are told to go on: then check it is there (`sleipnir` action `help`, `run \u002Fskills`, or the command itself) and tell the person.\n\n## The directory\n\n```\n\u003Cid>\u002F\n  plugin.json             the manifest (required)\n  skills\u002F\u003Cname>\u002FSKILL.md  skills: front matter with name and description, then the instructions\n  commands\u002F\u003Cname>.md      slash commands: optional front matter (description, argument-hint), then the prompt; $ARGUMENTS is what follows the command\n  agents\u002F\u003Cname>.md        roles for the team: front matter (name, description, tools), then the role's instructions\n  hooks.json              hooks: {\"EventName\": [{\"matcher\": \"tool\", \"hooks\": [{\"type\": \"command\", \"command\": \"...\"}]}]}\n  mcp.json                tool servers: {\"mcpServers\": {\"name\": {\"command\": \"...\", \"args\": [...]}}}\n  web\u002Fcard.js             a card for the web page (optional web\u002Fcard.css)\n```\n\nOnly `plugin.json` is required; add only what the request needs. A skill is the cheapest way to teach the agents something; a slash\ncommand gives the person a shortcut; a hook runs a command around tool calls or session events; a tool server gives the agents new\ntools.\n\n`plugin.json`:\n\n```json\n{\n  \"id\": \"standup\",\n  \"api\": 1,\n  \"title\": \"Standup\",\n  \"description\": \"a \u002Fstandup command that summarises yesterday's commits\",\n  \"version\": \"1.0.0\",\n  \"requires\": [\"commands\"],\n  \"config\": {\"type\": \"object\", \"properties\": {\n    \"since\": {\"type\": \"string\", \"title\": \"Since\", \"description\": \"how far back\", \"default\": \"yesterday\"}\n  }}\n}\n```\n\n- `id`: lower-case letters, digits and `- _ . :`; not `core:`, `view:` or `role:`, and not a built-in plugin's id.\n- `api`: the plugin API it is written for. Always write it: the current one is what `plugins op check` reports. Sleipnir reads\n  every API version it supports the same way across updates, so a plugin that names its version keeps working when Sleipnir is\n  updated; a plugin of a newer API than the installed Sleipnir is refused with a reason instead of half working.\n- `version`: raise it on every change you install with `replace`.\n- `requires`: plugin ids that must be on (`skills` for skills, `commands` for commands, `agents` for roles, `hooks` for hooks,\n  `mcp` for tool servers).\n- `config`: settings the Plugins page shows a form for (`string`, `number`, `integer`, `boolean`; an `enum` list makes a choice).\n- `needs`: leave it out unless the plugin runs a program the person may not have installed; check says what is wrong with one.\n\nIn `hooks.json` and `mcp.json`, `${SLEIPNIR_PLUGIN_ROOT}` is the plugin's installed directory and `${setting:NAME}` a setting's\nvalue. Commands of a plugin are named `\u003Cid>:\u003Cname>` (`\u002Fstandup:today`), skills `\u003Cid>:\u003Cname>`.\n\n## Keep it working across updates\n\n- Use only what this page describes. Fields the API does not know are ignored, and check warns about them.\n- Scripts a hook or tool server runs live inside the plugin and are referenced through `${SLEIPNIR_PLUGIN_ROOT}`; pin the versions\n  of anything they install.\n- After a Sleipnir update, `plugins op list` shows each installed plugin's state and API; one in error says why.\n\n## Safety\n\nA hook or tool server runs commands on the person's machine in every later session. Write only what the request needs, say in your\nreply what each hook runs, and never put a secret in a plugin's files: use a setting or an environment variable.\n","# Writing a Sleipnir plugin\n\nA plugin is a directory. Sleipnir reads it when the session starts, so the loop is: write it, check it, install it, reload, try it.\nThis page is the whole contract: do not search for Sleipnir's source or documentation, and let `plugins op check` tell you what is\nwrong.\n\n## The loop\n\n1. Write the plugin in a directory of its own: `$TMPDIR\u002F\u003Cid>\u002F` for a plugin of the person's, or `plugins\u002F\u003Cid>\u002F` inside the project\n   when it belongs to the project's repository. Never write into `~\u002F.sleipnir`: install copies it there.\n2. `sleipnir` tool, action `plugins`, op `check`, source = that directory. Fix every error; read every warning.\n3. Op `install` with the same source (and `replace: true` when you are updating a plugin that is already installed). Install\n   turns it on in the person's own settings.\n4. Action `reload` with `why` saying what it adds. The session starts again with this conversation when your turn ends, and you\n   are told to go on: then check it is there (`sleipnir` action `help`, `run \u002Fskills`, or the command itself) and tell the person.\n\n## The directory\n\n```\n\u003Cid>\u002F\n  plugin.json             the manifest (required)\n  skills\u002F\u003Cname>\u002FSKILL.md  skills: front matter with name and description, then the instructions\n  commands\u002F\u003Cname>.md      slash commands: optional front matter (description, argument-hint), then the prompt; $ARGUMENTS is what follows the command\n  agents\u002F\u003Cname>.md        roles for the team: front matter (name, description, tools), then the role's instructions\n  hooks.json              hooks: {\"EventName\": [{\"matcher\": \"tool\", \"hooks\": [{\"type\": \"command\", \"command\": \"...\"}]}]}\n  mcp.json                tool servers: {\"mcpServers\": {\"name\": {\"command\": \"...\", \"args\": [...]}}}\n  web\u002Fcard.js             a card for the web page (optional web\u002Fcard.css)\n```\n\nOnly `plugin.json` is required; add only what the request needs. A skill is the cheapest way to teach the agents something; a slash\ncommand gives the person a shortcut; a hook runs a command around tool calls or session events; a tool server gives the agents new\ntools.\n\n`plugin.json`:\n\n```json\n{\n  \"id\": \"standup\",\n  \"api\": 1,\n  \"title\": \"Standup\",\n  \"description\": \"a \u002Fstandup command that summarises yesterday's commits\",\n  \"version\": \"1.0.0\",\n  \"requires\": [\"commands\"],\n  \"config\": {\"type\": \"object\", \"properties\": {\n    \"since\": {\"type\": \"string\", \"title\": \"Since\", \"description\": \"how far back\", \"default\": \"yesterday\"}\n  }}\n}\n```\n\n- `id`: lower-case letters, digits and `- _ . :`; not `core:`, `view:` or `role:`, and not a built-in plugin's id.\n- `api`: the plugin API it is written for. Always write it: the current one is what `plugins op check` reports. Sleipnir reads\n  every API version it supports the same way across updates, so a plugin that names its version keeps working when Sleipnir is\n  updated; a plugin of a newer API than the installed Sleipnir is refused with a reason instead of half working.\n- `version`: raise it on every change you install with `replace`.\n- `requires`: plugin ids that must be on (`skills` for skills, `commands` for commands, `agents` for roles, `hooks` for hooks,\n  `mcp` for tool servers).\n- `config`: settings the Plugins page shows a form for (`string`, `number`, `integer`, `boolean`; an `enum` list makes a choice).\n- `needs`: leave it out unless the plugin runs a program the person may not have installed; check says what is wrong with one.\n\nIn `hooks.json` and `mcp.json`, `${SLEIPNIR_PLUGIN_ROOT}` is the plugin's installed directory and `${setting:NAME}` a setting's\nvalue. Commands of a plugin are named `\u003Cid>:\u003Cname>` (`\u002Fstandup:today`), skills `\u003Cid>:\u003Cname>`.\n\n## Keep it working across updates\n\n- Use only what this page describes. Fields the API does not know are ignored, and check warns about them.\n- Scripts a hook or tool server runs live inside the plugin and are referenced through `${SLEIPNIR_PLUGIN_ROOT}`; pin the versions\n  of anything they install.\n- After a Sleipnir update, `plugins op list` shows each installed plugin's state and API; one in error says why.\n\n## Safety\n\nA hook or tool server runs commands on the person's machine in every later session. Write only what the request needs, say in your\nreply what each hook runs, and never put a secret in a plugin's files: use a setting or an environment variable.\n",{"name":5,"license":14,"description":7},"main","23fde6dd293bd85fcb7b6a5d37af1ba7ea752a24","internal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fsleipnir-plugin","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir","https:\u002F\u002Fgithub.com\u002FAnemos-labs","2026-11-13 05:46:48",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Anemos-labs\u002FSleipnir --skill sleipnir-plugin",{"tool":35,"command":36},"bunx","bunx skills add Anemos-labs\u002FSleipnir --skill sleipnir-plugin",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Anemos-labs\u002FSleipnir --skill sleipnir-plugin","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fsleipnir-plugin\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7DM2MTFM5P9A96RBMK0CEWW","spec","Goal to specification, vertical slices and milestones a judge can check. Load when planning a product or large feature or splitting work into tasks.","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fspec\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7DM26NQQ5343G12M2SWC957","reverse-engineering-ui","Tear down a live site or web UI into an evidence-backed spec (layout, tokens, components, states, network) for an original rebuild. Use to clone or match one.","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Freverse-engineering-ui\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7DM2391M8KK319ZXMWVK6PJ","prototype","Throwaway prototype that settles a design question by observation. Load when choosing between layouts, interactions or state models.","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fprototype\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7DM1YHX1MNZJ262D8B7X782","plain-writing","Clear technical writing without machine-generated tells. Load before writing a README, docs, site copy, release notes, a commit or PR message.","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fplain-writing\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7DM1P5W6Y88NHYFQG9JWMDR","diagnose","Feedback-loop-first diagnosis of hard bugs, flaky tests and performance regressions. Load before changing code when the cause is not obvious.","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fdiagnose\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7DM1GNE3JFR8WV1SWJ5EXJ9","codebase-design","Deep modules, interfaces and seams. Load when designing or restructuring modules or deciding where an interface goes.","https:\u002F\u002Fgithub.com\u002FAnemos-labs\u002FSleipnir\u002Fblob\u002Fmain\u002Finternal\u002Fskills\u002Fbuiltin\u002Fdata\u002Fcodebase-design\u002FSKILL.md",[],[]]