[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DWB6MB7EQK2JT4A84NHJD":3,"skill-same:01M79DWB6MB7EQK2JT4A84NHJD":60},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":53},"01M79DWB6MB7EQK2JT4A84NHJD","maintenance",null,"File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: \u002Fmaintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.","foden303\u002Fharness","foden303","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F77870743?v=4","01M79DK06BJVG7HTKT05FM221X","Foden Ngo","01M79DK071J1HMYV20FJSMG71X",0,"MIT","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fmaintenance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maintenance\ndescription: \"File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: \u002Fmaintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.\"\ndescription-en: \"File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: \u002Fmaintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.\"\nallowed-tools: [\"Read\", \"Write\", \"Edit\", \"Grep\", \"Glob\", \"Bash\"]\nargument-hint: \"[plans|session-log|logs|state|all] [--dry-run]\"\nuser-invocable: true\neffort: low\n---\n\n# Maintenance\n\nA single-purpose skill for tidying up cluttered files. Invoke it when\nauto-cleanup-hook raises a warning, or as routine housekeeping.\n\n> **Prerequisite**: Before destructive operations (archive moves, line deletions),\n> confirm that important information in Plans.md \u002F session-log.md has been promoted\n> to the SSOT (decisions.md \u002F patterns.md). If not yet synced, run `\u002Fmemory sync` first.\n\n## Quick Reference\n\n| Subcommand | Target | Typical triggers |\n|------------|--------|------------------|\n| `maintenance plans` | Archive completed tasks from Plans.md | \"tidy Plans.md\", \"move old tasks\" |\n| `maintenance session-log` | Split session-log.md by month | \"split session-log\", \"the log is too long\" |\n| `maintenance logs` | Delete old files in `.claude\u002Flogs\u002F` | \"clean up logs\", \"delete logs older than 30 days\" |\n| `maintenance state` | Trim `agent-trace.jsonl` \u002F `harness-usage.json` | \"trace bloat\", \"compact state\" |\n| `maintenance all` | Run the four above in order | \"tidy everything\", \"full cleanup\" |\n\nAdding `--dry-run` only lists what would be done without executing. Free-form\ninstructions (e.g. \"also delete old archives\", \"keep only this session-log\") are\naccepted in Step 1 and reflected in the processing parameters from Step 2 onward.\n\n## Execution Steps\n\n1. **Parse the user instruction**: Extract the subcommand plus any free-form details (exclusions, destinations, day thresholds)\n2. **SSOT sync check**: If `.claude\u002Fstate\u002F.ssot-synced-this-session` is absent,\n   prompt for `\u002Fmemory sync` (required only when touching Plans.md)\n3. **Open the reference file**: Read `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fcleanup.md` and run the matching section\n4. **Report Before\u002FAfter**: Show line counts and deletion counts, then finish\n\n## Subcommand Details\n\nFor per-target execution steps, thresholds, and archive destinations, see [cleanup.md](.\u002Freferences\u002Fcleanup.md).\n\n## Integration with auto-cleanup-hook\n\nThe PostToolUse hook (`scripts\u002Fauto-cleanup-hook.sh` \u002F Go version `auto_cleanup_hook.go`)\ndetects when Plans.md, session-log.md, or CLAUDE.md exceed their line limits and returns\nfeedback recommending that you archive old tasks via `\u002Fmaintenance`.\nWhen you see this warning, run the corresponding subcommand.\n\n## Notes\n\n- **Do not move in-progress tasks**: `cc:WIP`, `pm:pending` are excluded from archiving\n- **Archive destination is fixed**: `.claude\u002Fmemory\u002Farchive\u002F` — confirm with the user\n  before moving anything elsewhere\n- **Backup**: Before editing a file over 200 lines, take a local backup with\n  `cp \u003Cfile> \u003Cfile>.bak.$(date +%s)`\n- **CLAUDE.md is warning-only**: Never edit it automatically. Only offer a split proposal\n\n## Related Skills\n\n- `memory` — SSOT promotion before tidying Plans.md (updating decisions.md \u002F patterns.md)\n- `harness-setup` — Routine maintenance right after setup can also be invoked via `harness-setup`\n- `session-init` — Controls the maintenance-recommendation notice at session start\n","# Maintenance\n\nA single-purpose skill for tidying up cluttered files. Invoke it when\nauto-cleanup-hook raises a warning, or as routine housekeeping.\n\n> **Prerequisite**: Before destructive operations (archive moves, line deletions),\n> confirm that important information in Plans.md \u002F session-log.md has been promoted\n> to the SSOT (decisions.md \u002F patterns.md). If not yet synced, run `\u002Fmemory sync` first.\n\n## Quick Reference\n\n| Subcommand | Target | Typical triggers |\n|------------|--------|------------------|\n| `maintenance plans` | Archive completed tasks from Plans.md | \"tidy Plans.md\", \"move old tasks\" |\n| `maintenance session-log` | Split session-log.md by month | \"split session-log\", \"the log is too long\" |\n| `maintenance logs` | Delete old files in `.claude\u002Flogs\u002F` | \"clean up logs\", \"delete logs older than 30 days\" |\n| `maintenance state` | Trim `agent-trace.jsonl` \u002F `harness-usage.json` | \"trace bloat\", \"compact state\" |\n| `maintenance all` | Run the four above in order | \"tidy everything\", \"full cleanup\" |\n\nAdding `--dry-run` only lists what would be done without executing. Free-form\ninstructions (e.g. \"also delete old archives\", \"keep only this session-log\") are\naccepted in Step 1 and reflected in the processing parameters from Step 2 onward.\n\n## Execution Steps\n\n1. **Parse the user instruction**: Extract the subcommand plus any free-form details (exclusions, destinations, day thresholds)\n2. **SSOT sync check**: If `.claude\u002Fstate\u002F.ssot-synced-this-session` is absent,\n   prompt for `\u002Fmemory sync` (required only when touching Plans.md)\n3. **Open the reference file**: Read `${CLAUDE_SKILL_DIR}\u002Freferences\u002Fcleanup.md` and run the matching section\n4. **Report Before\u002FAfter**: Show line counts and deletion counts, then finish\n\n## Subcommand Details\n\nFor per-target execution steps, thresholds, and archive destinations, see [cleanup.md](.\u002Freferences\u002Fcleanup.md).\n\n## Integration with auto-cleanup-hook\n\nThe PostToolUse hook (`scripts\u002Fauto-cleanup-hook.sh` \u002F Go version `auto_cleanup_hook.go`)\ndetects when Plans.md, session-log.md, or CLAUDE.md exceed their line limits and returns\nfeedback recommending that you archive old tasks via `\u002Fmaintenance`.\nWhen you see this warning, run the corresponding subcommand.\n\n## Notes\n\n- **Do not move in-progress tasks**: `cc:WIP`, `pm:pending` are excluded from archiving\n- **Archive destination is fixed**: `.claude\u002Fmemory\u002Farchive\u002F` — confirm with the user\n  before moving anything elsewhere\n- **Backup**: Before editing a file over 200 lines, take a local backup with\n  `cp \u003Cfile> \u003Cfile>.bak.$(date +%s)`\n- **CLAUDE.md is warning-only**: Never edit it automatically. Only offer a split proposal\n\n## Related Skills\n\n- `memory` — SSOT promotion before tidying Plans.md (updating decisions.md \u002F patterns.md)\n- `harness-setup` — Routine maintenance right after setup can also be invoked via `harness-setup`\n- `session-init` — Controls the maintenance-recommendation notice at session start\n",{"name":5,"effort":24,"description":7,"allowed-tools":25,"argument-hint":32,"description-en":7,"user-invocable":33},"low",[26,27,28,29,30,31],"Read","Write","Edit","Grep","Glob","Bash","[plans|session-log|logs|state|all] [--dry-run]",true,"main","3517f6fc9c5159f32d585682386ed45e35c30ddf","skills\u002Fmaintenance","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness","https:\u002F\u002Fgithub.com\u002Ffoden303","Software Engineer","2026-11-06 10:59:21",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":33},[43,46,49],{"tool":44,"command":45},"npx","npx skills add foden303\u002Fharness --skill maintenance",{"tool":47,"command":48},"bunx","bunx skills add foden303\u002Fharness --skill maintenance",{"tool":50,"command":51},"pnpm","pnpm dlx skills add foden303\u002Fharness --skill maintenance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fmaintenance\u002FSKILL.md",[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcleanup.md","REFERENCE","参考文档",5498,"https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fmaintenance\u002Freferences\u002Fcleanup.md",[61,67,73,80,87,94],{"skillNo":62,"name":63,"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":64,"categories":65,"keywords":66,"publishedAt":19},"01M79DWR27RWW11HNKY0MRECPP","escape-skill","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fzz-review-escape\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"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":70,"categories":71,"keywords":72,"publishedAt":19},"01M79DWPSR8ZK3V4DQK5EWVJ3K","zz-review-empty","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fzz-review-empty\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79DWFV6PYV0QEZ3SC32VMCM","memory","Manage SSOT, memory, and cross-tool memory search. Guardian of decisions.md and patterns.md. Use when user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, sync memory, save learnings, memory search, harness-mem, past decisions, or record this. Do NOT load for: implementation work, reviews, ad-hoc notes, or in-session logging.","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fmemory\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79DW33AEPBCXFAMX8YH56PG","harness-work","HAR: Execute Plans.md tasks from single task to full parallel team run. Trigger: implement, execute, do everything, breezing, team run, parallel. Do NOT load for: planning, review, release, setup.","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fharness-work\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79DVWV7PZC0E2GYC103QBYZ","harness-sync","HAR: Sync Plans.md with implementation. Drift detect, marker update, retrospective. Trigger: sync-status, where am I, check progress. --snapshot for snapshots. Do NOT load for: planning, implementation, review, release.","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fharness-sync\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79DVQP8AG6JC6YQSVRJX2AA","harness-setup","HAR: Project init, tool setup, agent config, memory setup, skill mirror sync. Trigger: setup, init, new project, CI setup, harness-mem, mirror. Do NOT load for: implementation, review, release, planning.","https:\u002F\u002Fgithub.com\u002Ffoden303\u002Fharness\u002Fblob\u002Fmain\u002Fskills\u002Fharness-setup\u002FSKILL.md",[],[]]