[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FW97KJXVTYRJD5BW1RXNPC":3,"skill-same:01M6FW97KJXVTYRJD5BW1RXNPC":85},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6FW97KJXVTYRJD5BW1RXNPC","swarm-janitor",null,"Enterprise-grade OpenClaw skill for cleaning up orphaned subagent processes, archiving transcripts to SuperMemory, and freeing disk space without losing work. Features dry-run mode, configurable retention policies, and comprehensive safety checks.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flvcidpsyche\u002Fswarm-janitor\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"swarm janitor","swarm","python3","memory-management","transcripts","retention","dry","maintenance","up","management","work","github","subagent","disk","Safety","Enterprise","https","run","cleanup","memory","2026-11-10 10:12:30",false,"---\nname: swarm-janitor\ndescription: Enterprise-grade OpenClaw skill for cleaning up orphaned subagent processes, archiving transcripts to SuperMemory, and freeing disk space without losing work. Features dry-run mode, configurable retention policies, and comprehensive safety checks.\nhomepage: https:\u002F\u002Fgithub.com\u002Fopenclawdad\u002Fswarm-janitor\nauthor: OpenClawdad (Redclay)\ntags: [maintenance, cleanup, subagents, memory-management, enterprise]\nmetadata:\n  clawdbot:\n    emoji: ?\n    requires:\n      bins: [python3]\n    install: []\n---\n\n# Swarm Janitor\n\nEnterprise-grade cleanup tool for OpenClaw subagent management.\n\n## What It Does\n\nAutomatically identifies and cleans up orphaned subagent sessions while preserving important work through SuperMemory archival.\n\n### Core Functions\n\n- **Scan**: Analyze session directory for orphaned\u002Fabandoned subagents\n- **Archive**: Save transcripts to SuperMemory before deletion\n- **Clean**: Safely remove orphaned sessions freeing disk space\n- **Report**: Generate detailed cleanup reports\n\n## Safety First\n\nThis skill implements multiple safety layers:\n\n- ✅ **Never deletes active sessions** — checks process status\n- ✅ **Dry-run mode** — preview changes before executing\n- ✅ **SuperMemory backup** — transcripts archived before deletion\n- ✅ **Configurable retention** — customize age thresholds\n- ✅ **Detailed logging** — full audit trail of all actions\n\n## Quick Start\n\n```bash\n# Preview what would be cleaned (dry-run)\npython3 scripts\u002Fswarm_janitor.py --dry-run\n\n# Archive old sessions to SuperMemory, then clean\npython3 scripts\u002Fswarm_janitor.py --archive --clean\n\n# Custom retention (7 days instead of default 3)\npython3 scripts\u002Fswarm_janitor.py --retention-days 7 --clean\n```\n\n## Installation\n\n1. Copy this skill to your OpenClaw workspace:\n   ```bash\n   cp -r skills\u002Fswarm-janitor ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002F\n   ```\n\n2. Configure retention policy (optional):\n   ```bash\n   # Edit config to customize\n   nano references\u002Fconfig.yaml\n   ```\n\n3. Run first scan:\n   ```bash\n   python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fswarm-janitor\u002Fscripts\u002Fswarm_janitor.py --dry-run\n   ```\n\n## Usage Patterns\n\n### Daily Maintenance (Cron)\n\n```cron\n# Run daily at 3 AM, archive sessions older than 3 days\n0 3 * * * python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fswarm-janitor\u002Fscripts\u002Fswarm_janitor.py --archive --clean --retention-days 3 >> \u002Fvar\u002Flog\u002Fswarm-janitor.log 2>&1\n```\n\n### Manual Cleanup\n\n```bash\n# See what would be deleted\npython3 scripts\u002Fswarm_janitor.py --dry-run --verbose\n\n# Archive transcripts to SuperMemory\npython3 scripts\u002Fswarm_janitor.py --archive\n\n# Clean without archiving (not recommended)\npython3 scripts\u002Fswarm_janitor.py --clean --no-archive\n\n# Full report\npython3 scripts\u002Fswarm_janitor.py --report --output json\n```\n\n### Emergency Cleanup\n\n```bash\n# Aggressive cleanup with 1-day retention\npython3 scripts\u002Fswarm_janitor.py --clean --retention-days 1 --force\n```\n\n## Configuration\n\nSee [references\u002Fconfig.yaml](references\u002Fconfig.yaml) for:\n\n- Retention policies\n- Archive destinations\n- Safety thresholds\n- Logging options\n\n## How It Works\n\n1. **Discovery**: Scans `~\u002F.openclaw\u002Fagents\u002Fmain\u002Fsessions\u002F`\n2. **Analysis**: Determines session age, activity status, size\n3. **Classification**: Identifies orphaned vs active sessions\n4. **Archival**: Saves transcripts to SuperMemory (if enabled)\n5. **Cleanup**: Safely removes orphaned session files\n6. **Reporting**: Generates summary of actions taken\n\n## Safety Mechanisms\n\n| Check | Description |\n|-------|-------------|\n| Process Check | Verifies no active process owns the session |\n| Age Verification | Only processes sessions older than threshold |\n| Size Limits | Warns on unusually large deletions |\n| Dry-Run Default | Preview mode is default — explicit action required |\n| Backup First | Archives to SuperMemory before any deletion |\n\n## Troubleshooting\n\n**Q: It says \"permission denied\"**\nA: Ensure you have write access to the sessions directory\n\n**Q: Sessions not being detected**\nA: Check the path in config.yaml matches your OpenClaw installation\n\n**Q: SuperMemory archive failing**\nA: Verify SuperMemory skill is configured with valid API key\n\n## Enterprise Features\n\n- **Audit Logging**: All actions logged with timestamps\n- **Configurable Policies**: YAML-based configuration\n- **Metrics Export**: JSON\u002FCSV output for monitoring\n- **Dry-Run Mode**: Test changes before applying\n- **Retention Policies**: Age-based and count-based rules\n\n## License\n\nMIT - Created by OpenClawdad (Redclay) for the OpenClaw community.\n","# Swarm Janitor\n\nEnterprise-grade cleanup tool for OpenClaw subagent management.\n\n## What It Does\n\nAutomatically identifies and cleans up orphaned subagent sessions while preserving important work through SuperMemory archival.\n\n### Core Functions\n\n- **Scan**: Analyze session directory for orphaned\u002Fabandoned subagents\n- **Archive**: Save transcripts to SuperMemory before deletion\n- **Clean**: Safely remove orphaned sessions freeing disk space\n- **Report**: Generate detailed cleanup reports\n\n## Safety First\n\nThis skill implements multiple safety layers:\n\n- ✅ **Never deletes active sessions** — checks process status\n- ✅ **Dry-run mode** — preview changes before executing\n- ✅ **SuperMemory backup** — transcripts archived before deletion\n- ✅ **Configurable retention** — customize age thresholds\n- ✅ **Detailed logging** — full audit trail of all actions\n\n## Quick Start\n\n```bash\n# Preview what would be cleaned (dry-run)\npython3 scripts\u002Fswarm_janitor.py --dry-run\n\n# Archive old sessions to SuperMemory, then clean\npython3 scripts\u002Fswarm_janitor.py --archive --clean\n\n# Custom retention (7 days instead of default 3)\npython3 scripts\u002Fswarm_janitor.py --retention-days 7 --clean\n```\n\n## Installation\n\n1. Copy this skill to your OpenClaw workspace:\n   ```bash\n   cp -r skills\u002Fswarm-janitor ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002F\n   ```\n\n2. Configure retention policy (optional):\n   ```bash\n   # Edit config to customize\n   nano references\u002Fconfig.yaml\n   ```\n\n3. Run first scan:\n   ```bash\n   python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fswarm-janitor\u002Fscripts\u002Fswarm_janitor.py --dry-run\n   ```\n\n## Usage Patterns\n\n### Daily Maintenance (Cron)\n\n```cron\n# Run daily at 3 AM, archive sessions older than 3 days\n0 3 * * * python3 ~\u002F.openclaw\u002Fworkspace\u002Fskills\u002Fswarm-janitor\u002Fscripts\u002Fswarm_janitor.py --archive --clean --retention-days 3 >> \u002Fvar\u002Flog\u002Fswarm-janitor.log 2>&1\n```\n\n### Manual Cleanup\n\n```bash\n# See what would be deleted\npython3 scripts\u002Fswarm_janitor.py --dry-run --verbose\n\n# Archive transcripts to SuperMemory\npython3 scripts\u002Fswarm_janitor.py --archive\n\n# Clean without archiving (not recommended)\npython3 scripts\u002Fswarm_janitor.py --clean --no-archive\n\n# Full report\npython3 scripts\u002Fswarm_janitor.py --report --output json\n```\n\n### Emergency Cleanup\n\n```bash\n# Aggressive cleanup with 1-day retention\npython3 scripts\u002Fswarm_janitor.py --clean --retention-days 1 --force\n```\n\n## Configuration\n\nSee [references\u002Fconfig.yaml](references\u002Fconfig.yaml) for:\n\n- Retention policies\n- Archive destinations\n- Safety thresholds\n- Logging options\n\n## How It Works\n\n1. **Discovery**: Scans `~\u002F.openclaw\u002Fagents\u002Fmain\u002Fsessions\u002F`\n2. **Analysis**: Determines session age, activity status, size\n3. **Classification**: Identifies orphaned vs active sessions\n4. **Archival**: Saves transcripts to SuperMemory (if enabled)\n5. **Cleanup**: Safely removes orphaned session files\n6. **Reporting**: Generates summary of actions taken\n\n## Safety Mechanisms\n\n| Check | Description |\n|-------|-------------|\n| Process Check | Verifies no active process owns the session |\n| Age Verification | Only processes sessions older than threshold |\n| Size Limits | Warns on unusually large deletions |\n| Dry-Run Default | Preview mode is default — explicit action required |\n| Backup First | Archives to SuperMemory before any deletion |\n\n## Troubleshooting\n\n**Q: It says \"permission denied\"**\nA: Ensure you have write access to the sessions directory\n\n**Q: Sessions not being detected**\nA: Check the path in config.yaml matches your OpenClaw installation\n\n**Q: SuperMemory archive failing**\nA: Verify SuperMemory skill is configured with valid API key\n\n## Enterprise Features\n\n- **Audit Logging**: All actions logged with timestamps\n- **Configurable Policies**: YAML-based configuration\n- **Metrics Export**: JSON\u002FCSV output for monitoring\n- **Dry-Run Mode**: Test changes before applying\n- **Retention Policies**: Age-based and count-based rules\n\n## License\n\nMIT - Created by OpenClawdad (Redclay) for the OpenClaw community.\n",{"name":5,"tags":43,"author":46,"homepage":47,"metadata":48,"description":7},[25,36,44,21,45],"subagents","enterprise","OpenClawdad (Redclay)","https:\u002F\u002Fgithub.com\u002Fopenclawdad\u002Fswarm-janitor",{"clawdbot":49},{"emoji":50,"install":51,"requires":52},"?",[],{"bins":53},[20],"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Flvcidpsyche\u002Fswarm-janitor",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add kbarbel640-del\u002Fskills --skill swarm-janitor",{"tool":67,"command":68},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill swarm-janitor",{"tool":70,"command":71},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill swarm-janitor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flvcidpsyche\u002Fswarm-janitor\u002FSKILL.md",true,[75,81],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"_meta.json","REFERENCE","参考文档",283,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flvcidpsyche\u002Fswarm-janitor\u002F_meta.json",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fconfig.yaml",1386,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flvcidpsyche\u002Fswarm-janitor\u002Freferences\u002Fconfig.yaml",[86,116,145,166,172,192],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":97,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[92],{"categoryNo":93,"categoryName":94,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,34,114,115],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","content","ai agents",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":127,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[122],{"categoryNo":123,"categoryName":124,"taxonomyType":125,"taxonomyTypeDesc":126},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[128,100,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,105,144],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":154,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[151],{"categoryNo":152,"categoryName":153,"taxonomyType":125,"taxonomyTypeDesc":126},"01JBSEEDCAT000000000000021","资料检索与研究",[155,156,157,158,159,160,161,101,162,142,144,163,100,164,165],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":167,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[170],{"categoryNo":152,"categoryName":153,"taxonomyType":125,"taxonomyTypeDesc":126},[158,157,156,155,165,160,161,101,159,142,144,162,163,100,164],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[179,180,181,182,183,184,185,186,187,188,189,190,191],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":202,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[198,199],{"categoryNo":123,"categoryName":124,"taxonomyType":125,"taxonomyTypeDesc":126},{"categoryNo":200,"categoryName":201,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000037","律师与法务",[203,204,205,206,101,207,208,54,209,163,210,211,212,213,214,34,215,216,29],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance"]