[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CN8SJRCCV05HMF91ZNAK8Z":3,"skill-same:01M6CN8SJRCCV05HMF91ZNAK8Z":80},{"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":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6CN8SJRCCV05HMF91ZNAK8Z","update-skill",null,"Update an existing skill's SKILL.md body in workspace\u002Fcapabilities\u002Fskills\u002F, bumping its frontmatter semver.","joshuamschultz\u002FArc","joshuamschultz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2312349?v=4","01M6CN5XFME1WP2XMKCZBH4MMG","Josh","01M6CN5XMCNJTZPB9HE6N2MD2R",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fupdate-skill\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"update","update skill","semver","capabilities","workspace","read","fix","version","bump","2026-11-10 10:12:30",false,"---\nname: update-skill\nversion: 1.0.0\ndescription: Update an existing skill's SKILL.md body in workspace\u002Fcapabilities\u002Fskills\u002F, bumping its frontmatter semver.\ntriggers: [fix the skill, the skill is wrong, refine the procedure, bump the skill version]\ntools: [read, update_skill, reload]\n---\n\n## Resources\n\n(auto-filled by the loader)\n\n## Contract\n\nInputs you must have:\n- The skill's `name` (matches its folder under `workspace\u002Fcapabilities\u002Fskills\u002F`).\n- The full new body for `SKILL.md` after the frontmatter — `update_skill` rewrites the body wholesale.\n- A clear judgment about which version segment to bump.\n\nOutputs the agent must produce:\n- The replaced `SKILL.md` with a bumped frontmatter `version`.\n- A `reload()` call after the update succeeds.\n\n## Knowledge\n\n`update_skill` preserves the frontmatter (with bumped `version`) and replaces the body wholesale. The body is everything after the closing `---` line; sub-folders (`references\u002F`, `scripts\u002F`, `templates\u002F`, `assets\u002F`) are untouched.\n\nSemver judgment for skills:\n\n- **patch** — wording polish, typo fix, anti-pattern clarification. The skill still teaches the same procedure with the same tools and same outputs.\n- **minor** — added an example, added an anti-pattern, refined a step. Existing followers of the skill still produce the same outcome; new followers benefit from the additional context.\n- **major** — changed the procedure itself. Different tools listed, different step ordering, different success criteria. An LLM that learned the previous version would now produce wrong output.\n\nA skill that has changed its `tools:` field is always at least a minor bump (caller dependencies changed). If the procedure has changed substantively, it's a major.\n\n## Steps\n\n1. Read the existing SKILL.md: `read(file_path=\"\u003Cworkspace>\u002Fcapabilities\u002Fskills\u002F\u003Cname>\u002FSKILL.md\")`.\n2. Decide the bump level. If you're rewriting more than one section, default to minor; if `## Steps` ordering changed or `tools:` set changed, default to major.\n3. Compose the new body (everything after the closing `---`). The frontmatter is regenerated for you — don't include it in `new_body`.\n4. Call `update_skill(name=..., new_body=..., version_bump=\"\u003Cpatch|minor|major>\")`.\n5. Call `reload()`. The diff should mention `~1 replaced (\u003Cname> \u003Cold>→\u003Cnew>)`.\n6. If the validator emits `capability:registration_warning` for any section being filler, go back to step 3 and fill it.\n\n## Anti Patterns\n\n- **Don't** skip the `read` step. Read the existing skill so the new body builds on what was there.\n- **Don't** include frontmatter in `new_body`. The tool rejects it implicitly (the next reload sees a doubled `---` block and fails parsing).\n- **Don't** bump patch on a major rewrite. Future readers can't tell the skill changed substantively.\n- **Don't** delete a section. The 7 sections are mandatory — replace, don't remove.\n\n## Examples\n\n```python\n# A new anti-pattern surfaced; add it without changing the procedure.\nold = await read(\n    file_path=\"capabilities\u002Fskills\u002Frotate-credentials\u002FSKILL.md\"\n)\n# Strip frontmatter for new_body\nnew_body = old.split(\"---\\n\", 2)[2]\nnew_body = new_body.replace(\n    \"## Anti Patterns\\n\",\n    \"## Anti Patterns\\n\\n- **Don't** skip the post-rotation health check.\\n\",\n)\nawait update_skill(\n    name=\"rotate-credentials\", new_body=new_body, version_bump=\"minor\"\n)\nawait reload()\n```\n\n## Validation\n\n- `update_skill` returned `Updated skill ... \u003Cold>→\u003Cnew>`.\n- `reload()` returned a diff containing `~1 replaced`.\n- The reload did NOT emit `capability:registration_failed` for the skill.\n- Re-reading the SKILL.md shows the new body content with bumped frontmatter version.\n","## Resources\n\n(auto-filled by the loader)\n\n## Contract\n\nInputs you must have:\n- The skill's `name` (matches its folder under `workspace\u002Fcapabilities\u002Fskills\u002F`).\n- The full new body for `SKILL.md` after the frontmatter — `update_skill` rewrites the body wholesale.\n- A clear judgment about which version segment to bump.\n\nOutputs the agent must produce:\n- The replaced `SKILL.md` with a bumped frontmatter `version`.\n- A `reload()` call after the update succeeds.\n\n## Knowledge\n\n`update_skill` preserves the frontmatter (with bumped `version`) and replaces the body wholesale. The body is everything after the closing `---` line; sub-folders (`references\u002F`, `scripts\u002F`, `templates\u002F`, `assets\u002F`) are untouched.\n\nSemver judgment for skills:\n\n- **patch** — wording polish, typo fix, anti-pattern clarification. The skill still teaches the same procedure with the same tools and same outputs.\n- **minor** — added an example, added an anti-pattern, refined a step. Existing followers of the skill still produce the same outcome; new followers benefit from the additional context.\n- **major** — changed the procedure itself. Different tools listed, different step ordering, different success criteria. An LLM that learned the previous version would now produce wrong output.\n\nA skill that has changed its `tools:` field is always at least a minor bump (caller dependencies changed). If the procedure has changed substantively, it's a major.\n\n## Steps\n\n1. Read the existing SKILL.md: `read(file_path=\"\u003Cworkspace>\u002Fcapabilities\u002Fskills\u002F\u003Cname>\u002FSKILL.md\")`.\n2. Decide the bump level. If you're rewriting more than one section, default to minor; if `## Steps` ordering changed or `tools:` set changed, default to major.\n3. Compose the new body (everything after the closing `---`). The frontmatter is regenerated for you — don't include it in `new_body`.\n4. Call `update_skill(name=..., new_body=..., version_bump=\"\u003Cpatch|minor|major>\")`.\n5. Call `reload()`. The diff should mention `~1 replaced (\u003Cname> \u003Cold>→\u003Cnew>)`.\n6. If the validator emits `capability:registration_warning` for any section being filler, go back to step 3 and fill it.\n\n## Anti Patterns\n\n- **Don't** skip the `read` step. Read the existing skill so the new body builds on what was there.\n- **Don't** include frontmatter in `new_body`. The tool rejects it implicitly (the next reload sees a doubled `---` block and fails parsing).\n- **Don't** bump patch on a major rewrite. Future readers can't tell the skill changed substantively.\n- **Don't** delete a section. The 7 sections are mandatory — replace, don't remove.\n\n## Examples\n\n```python\n# A new anti-pattern surfaced; add it without changing the procedure.\nold = await read(\n    file_path=\"capabilities\u002Fskills\u002Frotate-credentials\u002FSKILL.md\"\n)\n# Strip frontmatter for new_body\nnew_body = old.split(\"---\\n\", 2)[2]\nnew_body = new_body.replace(\n    \"## Anti Patterns\\n\",\n    \"## Anti Patterns\\n\\n- **Don't** skip the post-rotation health check.\\n\",\n)\nawait update_skill(\n    name=\"rotate-credentials\", new_body=new_body, version_bump=\"minor\"\n)\nawait reload()\n```\n\n## Validation\n\n- `update_skill` returned `Updated skill ... \u003Cold>→\u003Cnew>`.\n- `reload()` returned a diff containing `~1 replaced`.\n- The reload did NOT emit `capability:registration_failed` for the skill.\n- Re-reading the SKILL.md shows the new body content with bumped frontmatter version.\n",{"name":5,"tools":33,"version":36,"triggers":37,"description":7},[24,34,35],"update_skill","reload","1.0.0",[38,39,40,41],"fix the skill","the skill is wrong","refine the procedure","bump the skill version","main","e2fb5cfd858fb29298ab468e61a273f1e372b0e7","packages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fupdate-skill",0,"https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz","https:\u002F\u002Fjoshuaschultz.com","2026-10-22 08:51:07",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add joshuamschultz\u002FArc --skill update-skill",{"tool":56,"command":57},"bunx","bunx skills add joshuamschultz\u002FArc --skill update-skill",{"tool":59,"command":60},"pnpm","pnpm dlx skills add joshuamschultz\u002FArc --skill update-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fupdate-skill\u002FSKILL.md",true,[64,70,74],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"bin\u002Fcheck-careful.sh","SCRIPT","脚本",4270,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FCoding\u002Fgstack-careful\u002Fbin\u002Fcheck-careful.sh",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fvalidate.py",1098,"https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fupdate-skill\u002Fscripts\u002Fvalidate.py",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"SKILL.md.tmpl","OTHER","其他",2366,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FCoding\u002Fgstack-careful\u002FSKILL.md.tmpl",[81,103,137,158,171,184],{"skillNo":82,"name":83,"nameZh":84,"description":85,"descriptionZh":86,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":99,"publishedAt":28},"01M6CN91Q5XSKA66KDKFV9BRTQ","notes","笔记读取","Read a note back with the notes_echo tool.","使用 notes_echo 工具回读笔记内容。","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Ftests\u002Ffixtures\u002Fnotes_connector\u002Fskills\u002Fnotes\u002FSKILL.md",[89,94],{"categoryNo":90,"categoryName":91,"taxonomyType":92,"taxonomyTypeDesc":93},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀","SCENARIO","使用场景",{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},"01M8BS5011KJDVSRXG1DC4P666","普通用户","PROFESSION","适用职业",[83,100,101,24,102],"back","Echo","tool",{"skillNo":104,"name":105,"nameZh":106,"description":107,"descriptionZh":108,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":117,"publishedAt":28},"01M6CN8Z0BXKCQEJGJG21DFPA7","workflow-builder","ArcFlow 工作流构建","Turn a repeatable business process described in conversation into a named, validated ArcFlow workflow draft.","将对话中描述的可重复业务流程，转化为经过命名和验证的 ArcFlow 工作流草稿。","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[111,114],{"categoryNo":112,"categoryName":113,"taxonomyType":92,"taxonomyTypeDesc":93},"01M8CC5FE9VPCST4F3M1W5T9X8","流程编排组合与验证",{"categoryNo":115,"categoryName":116,"taxonomyType":97,"taxonomyTypeDesc":98},"01M8CFZE430SYV1X18T05BR67Y","业务分析师",[118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136],"workflow builder","workflow","builder","create","run","edit","automate this","remove","do","conversation","build","files","SET","channel","process","business","list","node","automate",{"skillNo":138,"name":139,"nameZh":140,"description":141,"descriptionZh":142,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":151,"publishedAt":28},"01M6CN8VZT2YXB8EFJRHSCZ735","update-tool","@tool 工具源文件更新","Update an existing @tool source file in workspace\u002Fcapabilities\u002F, bumping its semver per major\u002Fminor\u002Fpatch.","更新 workspace\u002Fcapabilities\u002F 目录下现有的 @tool 源文件，并按 major\u002Fminor\u002Fpatch 规则递增其语义化版本（semver）。","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fupdate-tool\u002FSKILL.md",[145,148],{"categoryNo":146,"categoryName":147,"taxonomyType":92,"taxonomyTypeDesc":93},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":149,"categoryName":150,"taxonomyType":97,"taxonomyTypeDesc":98},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[102,152,19,153,26,27,154,25,155,24,21,23,156,22,157],"update tool","patch","bug","behavior","change","file",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":28},"01M6CN8PRNV3S8D4BZN9EYHWVZ","create-tool","Author a new @tool-decorated Python file in the agent workspace, validate it, and register it via reload().","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fcreate-tool\u002FSKILL.md",[],[121,102,165,166,167,157,168,23,169,24,170,128],"create tool","python","validate","Bash","agent workspace","write",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":28},"01M6CN8M1G6VJPG9KQN9CA04BZ","create-skill","Scaffold a new skill folder under workspace\u002Fcapabilities\u002Fskills\u002F with frontmatter and the seven required sections.","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fpackages\u002Farcagent\u002Fsrc\u002Farcagent\u002Fbuiltins\u002Fcapabilities\u002Fskills\u002Fcreate-skill\u002FSKILL.md",[],[121,178,170,24,179,23,180,22,181,119,123,182,183],"create skill","capture","write a skill","scaffold","document","new skill",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":28},"01M6CN8HHQA05AGKWYNPSMJCK6","sqlite","Use the SQLite connector to read the operator's semantic layer and make bounded typed reads of an approved database file. Trigger for questions about data in a connected SQLite database; skip for writes, schema changes, or raw SQL.","https:\u002F\u002Fgithub.com\u002Fjoshuamschultz\u002FArc\u002Fblob\u002Fmain\u002Fextensions\u002Fsqlite\u002Fskills\u002Fsqlite\u002FSKILL.md",[],[186,191,192,193,24,194,195,157,196,197],"Connector","schema","use","data","operator","database","sql"]