[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CTB2HJ72EYVE1P2F87JK6H":3,"skill-same:01M6CTB2HJ72EYVE1P2F87JK6H":64},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":53},"01M6CTB2HJ72EYVE1P2F87JK6H","system-maintenance",null,"Audits and syncs Company OS documentation after structural changes. Use after adding, removing or changing skills, agents, tools, artifact types or stage gates.","vibbs\u002Fcompany-os","vibbs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7379149?v=4","01M6CT6M03CAS1H7RA89F3965B","Vibbs Dod","01M6CT6M4MY60C9FFQ3AAR2RSK",6,"MIT","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsystem-maintenance\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"system","maintenance","system maintenance","documentation","Tools","company os","use","artifact","2026-11-10 10:12:30",false,"---\nname: system-maintenance\ndescription: Audits and syncs Company OS documentation after structural changes. Use after adding, removing or changing skills, agents, tools, artifact types or stage gates.\nuser-invocable: true\n---\n\n# System Maintenance\n\nRun this skill after ANY structural change to the Company OS (new\u002Fdeleted\u002Frenamed skill, agent, or tool; modified `validate.sh` or `check-gate.sh`). It ensures all documentation stays in sync.\n\n## Trigger Conditions\n\nThis skill MUST run after:\n- Creating, deleting, or renaming a skill directory in `os\u002Fskills\u002F`\n- Creating, deleting, or renaming an agent file in `os\u002Fagents\u002F`\n- Creating or deleting a tool script in `tools\u002F`\n- Modifying artifact types in `tools\u002Fartifact\u002Fvalidate.sh`\n- Modifying stage gates in `tools\u002Fartifact\u002Fcheck-gate.sh`\n\nSkills and agents are authored under `os\u002F`. `.claude\u002Fskills\u002F` and `.claude\u002Fagents\u002F` are generated from it, so audit `os\u002F` and regenerate with `bash tools\u002Fbuild\u002Fbuild.sh` rather than editing the generated copies.\n\n## Where the facts are documented\n\nAudit these places. Do not recreate this content in `SETUP.md`, which is only the install quickstart.\n\n| Fact | Documented in |\n|------|---------------|\n| Skills by owning agent | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Skills by agent\") |\n| Tools by category, artifact tools | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Tools by category\", \"Artifact tools\") |\n| Stage gate and stage tables | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Stages and gates\") |\n| Directory tree | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Where things live\") |\n| Skill, tool and agent counts | `README.md`, `.company-os\u002Fdocs\u002FCONCEPTS.md`, `.company-os\u002Fdocs\u002FROADMAP.md` |\n| Adding a skill, agent, tool or artifact type | `.company-os\u002Fdocs\u002FCUSTOMIZING.md` |\n| Config sections | `.company-os\u002Fdocs\u002FCONFIG_REFERENCE.md` |\n| Diagram numbers | `docs\u002Fdiagrams\u002Frender.js` (run `node docs\u002Fdiagrams\u002Frender.js --check`) |\n\n## Procedure\n\n### Step 1: Detect Current State\n\nRun the health check and inventory what actually exists:\n\n```bash\n.\u002Ftools\u002Fregistry\u002Fhealth-check.sh\nbash tools\u002Fbuild\u002Fbuild.sh --check\n```\n\nThen build a current inventory:\n- Count skill directories: `ls -d os\u002Fskills\u002F*\u002F | wc -l`\n- Count agent files: `ls os\u002Fagents\u002F*.md | wc -l`\n- Count runnable tool scripts: `find tools -name \"*.sh\" -type f -not -path \"tools\u002Fbuild\u002F*\" -not -path \"tools\u002Flib\u002F*\" | wc -l`\n- List artifact types from `validate.sh` (grep for `VALID_TYPES`)\n- List stage gates from `check-gate.sh` (grep for gate names)\n\n### Step 2: Audit CLAUDE.md\n\nRead `CLAUDE.md` and verify:\n- **Architecture table**: Does it list the correct layer locations?\n- **Key files list**: Are all key files mentioned?\n- **Enforcement tools list**: Does it reference all tools in `tools\u002Fartifact\u002F`?\n- **Ingest reference**: Is `\u002Fingest` mentioned if the skill exists?\n- **Skill count**: If mentioned, does it match the actual count?\n\nReport discrepancies with specific line numbers.\n\n### Step 3: Audit the user docs\n\nRead `.company-os\u002Fdocs\u002FCONCEPTS.md` and verify:\n- **Skills by agent**: Does each owner row list every skill that agent's `skills:` frontmatter names?\n- **Tools by category**: Does each category row list every script in that `tools\u002F` folder?\n- **Artifact tools**: Does it list all tools in `tools\u002Fartifact\u002F` and describe what each does?\n- **Stage gates and stages**: Do the gate and stage tables match `check-gate.sh`?\n- **Directory tree**: Does it match the actual directory structure?\n\nThen read `.company-os\u002Fdocs\u002FCUSTOMIZING.md` and confirm its steps for adding a skill, agent, tool or artifact type still match the real files and the build. Report discrepancies with specific section names.\n\n### Step 4: Check count drift\n\nCompare every count written in prose with the filesystem numbers from Step 1:\n\n```bash\ngrep -nE '[0-9]+ (skills|agents|tool scripts|scripts)' README.md .company-os\u002Fdocs\u002F*.md CLAUDE.md\n```\n\nIgnore counts inside CHANGELOG entries for past versions. Fix any other count that disagrees. Where a count is not needed, replace it with a pointer to the directory (for example \"see `os\u002Fskills\u002F`\") so it cannot drift.\n\n### Step 5: Audit Agent Files\n\nFor each agent in `os\u002Fagents\u002F`:\n- Read its `skills:` frontmatter list\n- Verify each listed skill directory exists in `os\u002Fskills\u002F`\n- Check if any relevant NEW skills should be added to this agent\n- Verify tool scripts listed in the agent body actually exist\n\nFor the **orchestrator** specifically:\n- Check delegation patterns cover all available skills\n- Check gating rules reference current gate names\n\n### Step 6: Check Cross-References\n\n- Do skills reference tools that exist? (Grep skill files for `tools\u002F` paths, verify each)\n- Do agents reference skills that exist? (Check `skills:` lists against `os\u002Fskills\u002F`)\n- Are there orphan skills not listed in any agent?\n- Do slash commands in docs match skill `name:` values (for example `\u002Frapid-prototype`, `\u002Ftoken-cost-ledger`)?\n\n### Step 7: Report\n\nPresent a summary:\n```\nSYSTEM MAINTENANCE REPORT\n=========================\nSkills:  [actual count] found, [documented count] in README \u002F CONCEPTS\nAgents:  [actual count] found\nTools:   [actual count] found\n\nDISCREPANCIES:\n  [file]: [section] - [what's wrong]\n  ...\n\nNO DISCREPANCIES FOUND (if clean)\n```\n\n### Step 8: Apply Fixes\n\nFor each discrepancy:\n- Show the specific edit needed (file, section, old value, new value)\n- Apply the fix using Edit tool (edit `os\u002F` for skills and agents, then run `bash tools\u002Fbuild\u002Fbuild.sh`)\n- After all fixes, re-run `.\u002Ftools\u002Fregistry\u002Fhealth-check.sh`, `bash tools\u002Fbuild\u002Fbuild.sh --check` and `node docs\u002Fdiagrams\u002Frender.js --check`\n\nIf no discrepancies: report \"All documentation is in sync\" and exit.\n\n## Reference\n\n- **ID**: S-ORG-07\n- **Category**: Orchestration\n- **Inputs**: all agent, skill, tool, and documentation files\n- **Outputs**: corrected documentation files\n- **Used by**: User (directly), Orchestrator Agent\n- **Tool scripts**: `.\u002Ftools\u002Fregistry\u002Fhealth-check.sh`\n","# System Maintenance\n\nRun this skill after ANY structural change to the Company OS (new\u002Fdeleted\u002Frenamed skill, agent, or tool; modified `validate.sh` or `check-gate.sh`). It ensures all documentation stays in sync.\n\n## Trigger Conditions\n\nThis skill MUST run after:\n- Creating, deleting, or renaming a skill directory in `os\u002Fskills\u002F`\n- Creating, deleting, or renaming an agent file in `os\u002Fagents\u002F`\n- Creating or deleting a tool script in `tools\u002F`\n- Modifying artifact types in `tools\u002Fartifact\u002Fvalidate.sh`\n- Modifying stage gates in `tools\u002Fartifact\u002Fcheck-gate.sh`\n\nSkills and agents are authored under `os\u002F`. `.claude\u002Fskills\u002F` and `.claude\u002Fagents\u002F` are generated from it, so audit `os\u002F` and regenerate with `bash tools\u002Fbuild\u002Fbuild.sh` rather than editing the generated copies.\n\n## Where the facts are documented\n\nAudit these places. Do not recreate this content in `SETUP.md`, which is only the install quickstart.\n\n| Fact | Documented in |\n|------|---------------|\n| Skills by owning agent | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Skills by agent\") |\n| Tools by category, artifact tools | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Tools by category\", \"Artifact tools\") |\n| Stage gate and stage tables | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Stages and gates\") |\n| Directory tree | `.company-os\u002Fdocs\u002FCONCEPTS.md` (\"Where things live\") |\n| Skill, tool and agent counts | `README.md`, `.company-os\u002Fdocs\u002FCONCEPTS.md`, `.company-os\u002Fdocs\u002FROADMAP.md` |\n| Adding a skill, agent, tool or artifact type | `.company-os\u002Fdocs\u002FCUSTOMIZING.md` |\n| Config sections | `.company-os\u002Fdocs\u002FCONFIG_REFERENCE.md` |\n| Diagram numbers | `docs\u002Fdiagrams\u002Frender.js` (run `node docs\u002Fdiagrams\u002Frender.js --check`) |\n\n## Procedure\n\n### Step 1: Detect Current State\n\nRun the health check and inventory what actually exists:\n\n```bash\n.\u002Ftools\u002Fregistry\u002Fhealth-check.sh\nbash tools\u002Fbuild\u002Fbuild.sh --check\n```\n\nThen build a current inventory:\n- Count skill directories: `ls -d os\u002Fskills\u002F*\u002F | wc -l`\n- Count agent files: `ls os\u002Fagents\u002F*.md | wc -l`\n- Count runnable tool scripts: `find tools -name \"*.sh\" -type f -not -path \"tools\u002Fbuild\u002F*\" -not -path \"tools\u002Flib\u002F*\" | wc -l`\n- List artifact types from `validate.sh` (grep for `VALID_TYPES`)\n- List stage gates from `check-gate.sh` (grep for gate names)\n\n### Step 2: Audit CLAUDE.md\n\nRead `CLAUDE.md` and verify:\n- **Architecture table**: Does it list the correct layer locations?\n- **Key files list**: Are all key files mentioned?\n- **Enforcement tools list**: Does it reference all tools in `tools\u002Fartifact\u002F`?\n- **Ingest reference**: Is `\u002Fingest` mentioned if the skill exists?\n- **Skill count**: If mentioned, does it match the actual count?\n\nReport discrepancies with specific line numbers.\n\n### Step 3: Audit the user docs\n\nRead `.company-os\u002Fdocs\u002FCONCEPTS.md` and verify:\n- **Skills by agent**: Does each owner row list every skill that agent's `skills:` frontmatter names?\n- **Tools by category**: Does each category row list every script in that `tools\u002F` folder?\n- **Artifact tools**: Does it list all tools in `tools\u002Fartifact\u002F` and describe what each does?\n- **Stage gates and stages**: Do the gate and stage tables match `check-gate.sh`?\n- **Directory tree**: Does it match the actual directory structure?\n\nThen read `.company-os\u002Fdocs\u002FCUSTOMIZING.md` and confirm its steps for adding a skill, agent, tool or artifact type still match the real files and the build. Report discrepancies with specific section names.\n\n### Step 4: Check count drift\n\nCompare every count written in prose with the filesystem numbers from Step 1:\n\n```bash\ngrep -nE '[0-9]+ (skills|agents|tool scripts|scripts)' README.md .company-os\u002Fdocs\u002F*.md CLAUDE.md\n```\n\nIgnore counts inside CHANGELOG entries for past versions. Fix any other count that disagrees. Where a count is not needed, replace it with a pointer to the directory (for example \"see `os\u002Fskills\u002F`\") so it cannot drift.\n\n### Step 5: Audit Agent Files\n\nFor each agent in `os\u002Fagents\u002F`:\n- Read its `skills:` frontmatter list\n- Verify each listed skill directory exists in `os\u002Fskills\u002F`\n- Check if any relevant NEW skills should be added to this agent\n- Verify tool scripts listed in the agent body actually exist\n\nFor the **orchestrator** specifically:\n- Check delegation patterns cover all available skills\n- Check gating rules reference current gate names\n\n### Step 6: Check Cross-References\n\n- Do skills reference tools that exist? (Grep skill files for `tools\u002F` paths, verify each)\n- Do agents reference skills that exist? (Check `skills:` lists against `os\u002Fskills\u002F`)\n- Are there orphan skills not listed in any agent?\n- Do slash commands in docs match skill `name:` values (for example `\u002Frapid-prototype`, `\u002Ftoken-cost-ledger`)?\n\n### Step 7: Report\n\nPresent a summary:\n```\nSYSTEM MAINTENANCE REPORT\n=========================\nSkills:  [actual count] found, [documented count] in README \u002F CONCEPTS\nAgents:  [actual count] found\nTools:   [actual count] found\n\nDISCREPANCIES:\n  [file]: [section] - [what's wrong]\n  ...\n\nNO DISCREPANCIES FOUND (if clean)\n```\n\n### Step 8: Apply Fixes\n\nFor each discrepancy:\n- Show the specific edit needed (file, section, old value, new value)\n- Apply the fix using Edit tool (edit `os\u002F` for skills and agents, then run `bash tools\u002Fbuild\u002Fbuild.sh`)\n- After all fixes, re-run `.\u002Ftools\u002Fregistry\u002Fhealth-check.sh`, `bash tools\u002Fbuild\u002Fbuild.sh --check` and `node docs\u002Fdiagrams\u002Frender.js --check`\n\nIf no discrepancies: report \"All documentation is in sync\" and exit.\n\n## Reference\n\n- **ID**: S-ORG-07\n- **Category**: Orchestration\n- **Inputs**: all agent, skill, tool, and documentation files\n- **Outputs**: corrected documentation files\n- **Used by**: User (directly), Orchestrator Agent\n- **Tool scripts**: `.\u002Ftools\u002Fregistry\u002Fhealth-check.sh`\n",{"name":5,"description":7,"user-invocable":32},true,"main","e842fb6d0e04360c47db78bc2e2e2987314d64d4",".claude\u002Fskills\u002Fsystem-maintenance",2,"https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os","https:\u002F\u002Fgithub.com\u002Fvibbs","Principal Engineer · Applied AI · building ArcAI @ GrowthArc","2026-10-21 02:08:08",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":32},[43,46,49],{"tool":44,"command":45},"npx","npx skills add vibbs\u002Fcompany-os --skill system-maintenance",{"tool":47,"command":48},"bunx","bunx skills add vibbs\u002Fcompany-os --skill system-maintenance",{"tool":50,"command":51},"pnpm","pnpm dlx skills add vibbs\u002Fcompany-os --skill system-maintenance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsystem-maintenance\u002FSKILL.md",[54,60],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"agents\u002Fopenai.yaml","REFERENCE","参考文档",420,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FReverse-Analysis\u002Fcompetition-bundle-sourcemap-recovery\u002Fagents\u002Fopenai.yaml",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fbundle-sourcemap-recovery.md",1086,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FReverse-Analysis\u002Fcompetition-bundle-sourcemap-recovery\u002Freferences\u002Fbundle-sourcemap-recovery.md",[65,74,82,92,108,121],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":27},"01M6CTHBW1E64ECYGD105N4S5E","typo-field","Fixture skill with a misspelled top-level field.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Ftypo-field\u002FSKILL.md",[],[72,73],"typo field","fixture skill",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":27},"01M6CTHABTV8FKVDHFMMKPAV51","spaced-comments","Fixture skill with comments and spaces after block keys.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fspaced-comments\u002FSKILL.md",[],[81,73],"spaced comments",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":27},"01M6CTH8MHC14KB65ZDHYBJW1N","crlf-comments","Fixture skill with Windows line endings.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fcrlf-comments\u002FSKILL.md",[],[89,90,91,73],"crlf comments","CRLF","windows",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":27},"01M6CTH6TBKTDP9G8QB1Z2K0TY","claude-fields","Fixture skill using top-level fields Claude Code documents.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fclaude-fields\u002FSKILL.md",[],[99,100,101,102,103,104,73,105,106,107],"claude fields","explore","documents","src","grep","read","Bash","code","testing",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":27},"01M6CTH46BGKXH80RWS876Y2CW","workflow-router","Maps an objective to the artifacts, stages and agents it needs. Use when deciding what happens next or which agents to involve.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[],[115,116,117,118,119,25,120],"workflow","router","workflow router","next","maps","artifacts",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":27},"01M6CTH27653SRVP2FMEQN3J5B","weekly-review","Summarizes your week: what shipped, AI spend, support themes, security health and next priorities. Use at the end of each week.","https:\u002F\u002Fgithub.com\u002Fvibbs\u002Fcompany-os\u002Fblob\u002Fmain\u002Fos\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[128,129,130,118,25,131,132,133,134],"weekly review","review","priorities","health","save","support","security"]