[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M777D6PSQGZ2R9N03P5SP9Z3":3,"skill-same:01M777D6PSQGZ2R9N03P5SP9Z3":55},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M777D6PSQGZ2R9N03P5SP9Z3","clankerhive",null,"Shared SQLite-backed context store for multi-session agent coordination. Use when: (1) checking if work was already done recently (email checked, briefing sent), (2) preventing duplicate cron\u002Fheartbeat runs via task claiming, (3) passing alerts between sessions (cron queues alert → main session pops it), (4) storing short-lived facts with TTL, or (5) any cross-session state sharing. Replaces ad-hoc JSON state files with a proper coordination bus. Triggers on: deduplication, cross-session state, shared facts, alert queue, task coordination, heartbeat state.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fclankerhive\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clankerhive\ndescription: \"Shared SQLite-backed context store for multi-session agent coordination. Use when: (1) checking if work was already done recently (email checked, briefing sent), (2) preventing duplicate cron\u002Fheartbeat runs via task claiming, (3) passing alerts between sessions (cron queues alert → main session pops it), (4) storing short-lived facts with TTL, or (5) any cross-session state sharing. Replaces ad-hoc JSON state files with a proper coordination bus. Triggers on: deduplication, cross-session state, shared facts, alert queue, task coordination, heartbeat state.\"\nhomepage: https:\u002F\u002Fgithub.com\u002Fpfrederiksen\u002Fclankerhive\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"🐝\",\n        \"requires\": { \"bins\": [\"python3\"] },\n        \"install\": [],\n      },\n  }\n---\n\n# 🐝 ClankerHive\n\nShared context store for OpenClaw multi-session coordination. Three primitives:\n\n1. **Facts** — key\u002Fvalue pairs with optional TTL (auto-expire)\n2. **Alerts** — cross-session notification queue (producer\u002Fconsumer)\n3. **Tasks** — claim-based deduplication for in-flight work\n\nAll backed by a single SQLite database in WAL mode (safe for concurrent access).\n\n## Setup\n\nNo dependencies beyond Python 3 stdlib. The DB is created automatically on first use.\n\n```bash\n# Default DB location: ~\u002F.openclaw\u002Fhive.db\n# Override with environment variable:\nexport CLANKERHIVE_DB=\u002Fpath\u002Fto\u002Fcustom\u002Fhive.db\n```\n\nResolve the script path relative to this skill directory:\n\n```bash\nHIVE=\"python3 $(dirname \"$0\")\u002F..\u002Fscripts\u002Fclankerhive.py\"\n# Or use absolute path from skill install location\n```\n\n## Facts — Key\u002FValue with TTL\n\nStore short-lived coordination state. Expired facts are auto-pruned on every read.\n\n```bash\n# Set a fact (lives forever unless --ttl is given)\npython3 scripts\u002Fclankerhive.py set email.last_check \"$(date +%s)\" --ttl 900\n\n# Read it back (empty output if missing\u002Fexpired)\npython3 scripts\u002Fclankerhive.py get email.last_check\n\n# List all facts matching a prefix\npython3 scripts\u002Fclankerhive.py list --prefix email\n\n# Delete a fact\npython3 scripts\u002Fclankerhive.py delete email.last_check\n\n# Tag who set it (useful for debugging)\npython3 scripts\u002Fclankerhive.py set weather.checked \"1\" --ttl 3600 --source heartbeat\n```\n\n### Pattern: Skip-if-recent\n\nBefore doing expensive work, check if it was done recently:\n\n```bash\nLAST=$(python3 scripts\u002Fclankerhive.py get email.last_check)\nif [ -z \"$LAST\" ]; then\n    # Do the work, then record it\n    python3 scripts\u002Fclankerhive.py set email.last_check \"$(date +%s)\" --ttl 900\nfi\n```\n\n## Alerts — Cross-Session Queue\n\nCron jobs or sub-agents produce alerts; the main session consumes them.\n\n```bash\n# Queue an alert (from cron job)\npython3 scripts\u002Fclankerhive.py queue-alert email \"urgent: server down — production alert from monitoring\"\n\n# List unclaimed alerts\npython3 scripts\u002Fclankerhive.py list-alerts\n\n# Claim and return all pending alerts (marks them claimed)\npython3 scripts\u002Fclankerhive.py pop-alerts\n\n# Claim only alerts for a specific topic\npython3 scripts\u002Fclankerhive.py pop-alerts --topic email\n\n# Clean up old claimed alerts (default: older than 24h)\npython3 scripts\u002Fclankerhive.py purge-alerts --age 86400\n```\n\n### Pattern: Cron → Main Session Handoff\n\nCron job detects something important:\n```bash\npython3 scripts\u002Fclankerhive.py queue-alert calendar \"Standup with the platform team in 30 minutes\"\n```\n\nMain session heartbeat checks for alerts:\n```bash\nALERTS=$(python3 scripts\u002Fclankerhive.py pop-alerts)\n# Process and notify user if non-empty\n```\n\n## Tasks — Deduplication\n\nPrevent multiple sessions from doing the same work simultaneously.\n\n```bash\n# Try to claim a task (exit 0 = got it, exit 1 = someone else has it)\npython3 scripts\u002Fclankerhive.py claim-task daily-briefing-2026-04-01\n# stdout: \"ok\" or \"already-claimed by \u003Cowner>\"\n\n# Release when done\npython3 scripts\u002Fclankerhive.py release-task daily-briefing-2026-04-01 --result \"sent to telegram\"\n\n# Check status\npython3 scripts\u002Fclankerhive.py task-status daily-briefing-2026-04-01\n```\n\n### Pattern: Idempotent Cron\n\n```bash\nif python3 scripts\u002Fclankerhive.py claim-task \"morning-briefing-$(date +%Y-%m-%d)\"; then\n    # Do the work...\n    python3 scripts\u002Fclankerhive.py release-task \"morning-briefing-$(date +%Y-%m-%d)\" --result \"done\"\nelse\n    echo \"Already running or completed\"\nfi\n```\n\n## Stats\n\nQuick summary of the hive state:\n\n```bash\npython3 scripts\u002Fclankerhive.py stats\n```\n\nReturns JSON with counts for facts, pending\u002Fclaimed alerts, and claimed\u002Fdone tasks.\n\n## Replacing heartbeat-state.json\n\nInstead of maintaining a separate `memory\u002Fheartbeat-state.json` file, use ClankerHive facts:\n\n```bash\n# Old way: read\u002Fwrite JSON file\n# New way:\npython3 scripts\u002Fclankerhive.py set heartbeat.email \"$(date +%s)\" --ttl 1800\npython3 scripts\u002Fclankerhive.py set heartbeat.calendar \"$(date +%s)\" --ttl 3600\npython3 scripts\u002Fclankerhive.py set heartbeat.weather \"$(date +%s)\" --ttl 7200\n\n# Check when something was last done:\npython3 scripts\u002Fclankerhive.py get heartbeat.email\n# Empty = time to check again\n```\n\n## Notes\n\n- DB path configurable via `CLANKERHIVE_DB` env var (default: `~\u002F.openclaw\u002Fhive.db`)\n- WAL mode ensures safe concurrent reads\u002Fwrites from multiple processes\n- All list\u002Fquery commands output JSON; scalar commands output plain text\n- Exit code 0 = success, 1 = error (already-claimed, not-found, etc.)\n- No external dependencies — pure Python stdlib\n\n## System Access\n\n**Reads:** Nothing — no files, env vars, or network beyond the SQLite DB.\n\n**Writes:** Only to the SQLite database file at `$CLANKERHIVE_DB` (default `~\u002F.openclaw\u002Fhive.db`). Creates parent directories if they don't exist. The default path (`~\u002F.openclaw\u002F`) is typically mode `700` on OpenClaw installs, meaning only the owning user can read the DB. If you change `CLANKERHIVE_DB` to a shared or world-readable location, restrict permissions manually: `chmod 600 hive.db`.\n\n**Network:** None. No outbound connections of any kind.\n\n**Imports:** `argparse`, `json`, `os`, `sqlite3`, `sys`, `time`, `typing` — all Python stdlib. No third-party packages, no subprocess calls, no eval\u002Fexec.\n\n**Source:** \u003Chttps:\u002F\u002Fgithub.com\u002Fpfrederiksen\u002Fclankerhive>\n","# 🐝 ClankerHive\n\nShared context store for OpenClaw multi-session coordination. Three primitives:\n\n1. **Facts** — key\u002Fvalue pairs with optional TTL (auto-expire)\n2. **Alerts** — cross-session notification queue (producer\u002Fconsumer)\n3. **Tasks** — claim-based deduplication for in-flight work\n\nAll backed by a single SQLite database in WAL mode (safe for concurrent access).\n\n## Setup\n\nNo dependencies beyond Python 3 stdlib. The DB is created automatically on first use.\n\n```bash\n# Default DB location: ~\u002F.openclaw\u002Fhive.db\n# Override with environment variable:\nexport CLANKERHIVE_DB=\u002Fpath\u002Fto\u002Fcustom\u002Fhive.db\n```\n\nResolve the script path relative to this skill directory:\n\n```bash\nHIVE=\"python3 $(dirname \"$0\")\u002F..\u002Fscripts\u002Fclankerhive.py\"\n# Or use absolute path from skill install location\n```\n\n## Facts — Key\u002FValue with TTL\n\nStore short-lived coordination state. Expired facts are auto-pruned on every read.\n\n```bash\n# Set a fact (lives forever unless --ttl is given)\npython3 scripts\u002Fclankerhive.py set email.last_check \"$(date +%s)\" --ttl 900\n\n# Read it back (empty output if missing\u002Fexpired)\npython3 scripts\u002Fclankerhive.py get email.last_check\n\n# List all facts matching a prefix\npython3 scripts\u002Fclankerhive.py list --prefix email\n\n# Delete a fact\npython3 scripts\u002Fclankerhive.py delete email.last_check\n\n# Tag who set it (useful for debugging)\npython3 scripts\u002Fclankerhive.py set weather.checked \"1\" --ttl 3600 --source heartbeat\n```\n\n### Pattern: Skip-if-recent\n\nBefore doing expensive work, check if it was done recently:\n\n```bash\nLAST=$(python3 scripts\u002Fclankerhive.py get email.last_check)\nif [ -z \"$LAST\" ]; then\n    # Do the work, then record it\n    python3 scripts\u002Fclankerhive.py set email.last_check \"$(date +%s)\" --ttl 900\nfi\n```\n\n## Alerts — Cross-Session Queue\n\nCron jobs or sub-agents produce alerts; the main session consumes them.\n\n```bash\n# Queue an alert (from cron job)\npython3 scripts\u002Fclankerhive.py queue-alert email \"urgent: server down — production alert from monitoring\"\n\n# List unclaimed alerts\npython3 scripts\u002Fclankerhive.py list-alerts\n\n# Claim and return all pending alerts (marks them claimed)\npython3 scripts\u002Fclankerhive.py pop-alerts\n\n# Claim only alerts for a specific topic\npython3 scripts\u002Fclankerhive.py pop-alerts --topic email\n\n# Clean up old claimed alerts (default: older than 24h)\npython3 scripts\u002Fclankerhive.py purge-alerts --age 86400\n```\n\n### Pattern: Cron → Main Session Handoff\n\nCron job detects something important:\n```bash\npython3 scripts\u002Fclankerhive.py queue-alert calendar \"Standup with the platform team in 30 minutes\"\n```\n\nMain session heartbeat checks for alerts:\n```bash\nALERTS=$(python3 scripts\u002Fclankerhive.py pop-alerts)\n# Process and notify user if non-empty\n```\n\n## Tasks — Deduplication\n\nPrevent multiple sessions from doing the same work simultaneously.\n\n```bash\n# Try to claim a task (exit 0 = got it, exit 1 = someone else has it)\npython3 scripts\u002Fclankerhive.py claim-task daily-briefing-2026-04-01\n# stdout: \"ok\" or \"already-claimed by \u003Cowner>\"\n\n# Release when done\npython3 scripts\u002Fclankerhive.py release-task daily-briefing-2026-04-01 --result \"sent to telegram\"\n\n# Check status\npython3 scripts\u002Fclankerhive.py task-status daily-briefing-2026-04-01\n```\n\n### Pattern: Idempotent Cron\n\n```bash\nif python3 scripts\u002Fclankerhive.py claim-task \"morning-briefing-$(date +%Y-%m-%d)\"; then\n    # Do the work...\n    python3 scripts\u002Fclankerhive.py release-task \"morning-briefing-$(date +%Y-%m-%d)\" --result \"done\"\nelse\n    echo \"Already running or completed\"\nfi\n```\n\n## Stats\n\nQuick summary of the hive state:\n\n```bash\npython3 scripts\u002Fclankerhive.py stats\n```\n\nReturns JSON with counts for facts, pending\u002Fclaimed alerts, and claimed\u002Fdone tasks.\n\n## Replacing heartbeat-state.json\n\nInstead of maintaining a separate `memory\u002Fheartbeat-state.json` file, use ClankerHive facts:\n\n```bash\n# Old way: read\u002Fwrite JSON file\n# New way:\npython3 scripts\u002Fclankerhive.py set heartbeat.email \"$(date +%s)\" --ttl 1800\npython3 scripts\u002Fclankerhive.py set heartbeat.calendar \"$(date +%s)\" --ttl 3600\npython3 scripts\u002Fclankerhive.py set heartbeat.weather \"$(date +%s)\" --ttl 7200\n\n# Check when something was last done:\npython3 scripts\u002Fclankerhive.py get heartbeat.email\n# Empty = time to check again\n```\n\n## Notes\n\n- DB path configurable via `CLANKERHIVE_DB` env var (default: `~\u002F.openclaw\u002Fhive.db`)\n- WAL mode ensures safe concurrent reads\u002Fwrites from multiple processes\n- All list\u002Fquery commands output JSON; scalar commands output plain text\n- Exit code 0 = success, 1 = error (already-claimed, not-found, etc.)\n- No external dependencies — pure Python stdlib\n\n## System Access\n\n**Reads:** Nothing — no files, env vars, or network beyond the SQLite DB.\n\n**Writes:** Only to the SQLite database file at `$CLANKERHIVE_DB` (default `~\u002F.openclaw\u002Fhive.db`). Creates parent directories if they don't exist. The default path (`~\u002F.openclaw\u002F`) is typically mode `700` on OpenClaw installs, meaning only the owning user can read the DB. If you change `CLANKERHIVE_DB` to a shared or world-readable location, restrict permissions manually: `chmod 600 hive.db`.\n\n**Network:** None. No outbound connections of any kind.\n\n**Imports:** `argparse`, `json`, `os`, `sqlite3`, `sys`, `time`, `typing` — all Python stdlib. No third-party packages, no subprocess calls, no eval\u002Fexec.\n\n**Source:** \u003Chttps:\u002F\u002Fgithub.com\u002Fpfrederiksen\u002Fclankerhive>\n",{"name":5,"homepage":24,"metadata":25,"description":7},"https:\u002F\u002Fgithub.com\u002Fpfrederiksen\u002Fclankerhive",{"openclaw":26},{"emoji":27,"install":28,"requires":29},"🐝",[],{"bins":30},[31],"python3","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fclankerhive",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill clankerhive",{"tool":47,"command":48},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill clankerhive",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill clankerhive","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fclankerhive\u002FSKILL.md",true,[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]