[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AASTX72NESW3MZEN4WQDFR":3,"skill-same:01M7AASTX72NESW3MZEN4WQDFR":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":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":54},"01M7AASTX72NESW3MZEN4WQDFR","cron-scheduler",null,"Schedule management with staggering, quiet hours, and wake-up override.\nValidates schedules, prevents collisions, and gates delivery during quiet hours.","azxav\u002F2brain-techawards","azxav","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179442426?v=4","01M7AAQ8FVXFBM43ZF24VGZNCE","Azizbek Xasanov","01M7AAQ8GXE9M074VFWBXAG49E",0,"MIT","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Fskills\u002Fcron-scheduler\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cron-scheduler\nversion: 1.0.0\ndescription: |\n  Schedule management with staggering, quiet hours, and wake-up override.\n  Validates schedules, prevents collisions, and gates delivery during quiet hours.\ntriggers:\n  - \"schedule a job\"\n  - \"cron\"\n  - \"quiet hours\"\n  - \"what jobs are running\"\ntools:\n  - search\n  - get_page\n  - put_page\nmutating: true\n---\n\n# Cron Scheduler\n\n> **Convention:** See `skills\u002Fconventions\u002Ftest-before-bulk.md` — test every cron job on 3-5 items first.\n\n## Contract\n\nThis skill guarantees:\n- Schedule staggering: max 1 job per 5-minute slot, no collisions\n- Quiet hours gating: timezone-aware, with user-awake override\n- Thin job prompts: jobs say \"Read skills\u002FX\u002FSKILL.md and run it\" (no inline 3000-word prompts)\n- Idempotency: jobs can run twice without duplicate side effects\n- Results saved as reports: `reports\u002F{job-name}\u002F{YYYY-MM-DD-HHMM}.md`\n\n## Phases\n\n1. **Define job.** Name, schedule (cron expression), skill to run, timeout.\n2. **Validate schedule.** Check no collision with existing jobs (5-minute offset rule).\n   - Slots: :05, :10, :15, :20, :25, :30, :35, :40, :45, :50\n   - If collision detected, suggest the next available slot\n3. **Check quiet hours.** Default: 11 PM - 8 AM local time.\n   - Override: user-awake flag (if user is active, quiet hours suspended)\n   - During quiet hours: save output to held queue\n   - Morning contact releases the backlog\n4. **Register with host scheduler.** OpenClaw cron, Railway cron, crontab, or process manager. **Each registered entry should execute via Minions, not `agentTurn`.** See `skills\u002Fconventions\u002Fcron-via-minions.md` for the rewrite pattern (PGLite uses `--follow`, Postgres uses fire-and-forget + `--idempotency-key` on the cycle slot). GBrain's v0.11.0 migration auto-rewrites entries for built-in handlers; host-specific handlers need a code-level registration per `docs\u002Fguides\u002Fplugin-handlers.md`.\n5. **Write thin prompt.** Job prompt is one line: \"Read skills\u002F{name}\u002FSKILL.md and run it.\"\n\n## Idempotency Requirement\n\nEvery cron job MUST be idempotent:\n- Running the same job twice produces the same result (no duplicate pages, no duplicate timeline entries)\n- Use checkpoint state files to track progress and resume interrupted runs\n- Check for existing output before creating new output\n\n## Output Format\n\nJob configuration saved. Report: \"Job '{name}' scheduled at {cron expression}. Next run: {time}.\"\n\n## Multi-source brains: use `sync --all`, not per-source entries\n\nWhen the brain has 2+ active sources (anything `gbrain sources list` shows\nwith a non-null `local_path` that isn't archived), use one consolidated\ncron line instead of N per-source entries.\n\n**Preferred (multi-source)**:\n\n```cron\n*\u002F5 * * * * gbrain sync --all --parallel 4 --workers 4 --skip-failed\n```\n\nThis replaces N per-source lines AND auto-picks-up future sources without\na crontab edit. Concurrency budget: `parallel × workers × 2 ≈ 32`\nconnections during the wave (each per-file worker opens its own\n2-connection pool). Stay under your Postgres `max_connections` setting.\n\n**Avoid (legacy)**: separate `gbrain sync --source default` and\n`gbrain sync --source zion-brain` entries staggered by 5 minutes. They\nrequire manual deconfliction every time a new source is added, and a\nslow source can race a fast source on the legacy global `gbrain-sync`\nlock (v0.40.3.0+ uses per-source `gbrain-sync:\u003CsourceId>` locks but the\nper-source cron pattern doesn't benefit from the parallelism that\n`--all --parallel` actually delivers).\n\n`gbrain doctor` surfaces the recommended line as a `sync_consolidation`\ncheck whenever it detects 2+ active sources. Paste-ready from there.\n\n## Anti-Patterns\n\n- Scheduling jobs at the same minute (:00 for everything)\n- Inline 3000-word prompts in cron jobs (use skill file references)\n- Running cron jobs without testing on 3-5 items first\n- Jobs that produce different output on re-run (not idempotent)\n- Sending notifications during quiet hours (save to held queue instead)\n- Separate per-source `gbrain sync --source \u003Cid>` cron entries when\n  `gbrain sync --all --parallel N --workers N` would replace them with\n  one line that auto-picks-up future sources.\n","# Cron Scheduler\n\n> **Convention:** See `skills\u002Fconventions\u002Ftest-before-bulk.md` — test every cron job on 3-5 items first.\n\n## Contract\n\nThis skill guarantees:\n- Schedule staggering: max 1 job per 5-minute slot, no collisions\n- Quiet hours gating: timezone-aware, with user-awake override\n- Thin job prompts: jobs say \"Read skills\u002FX\u002FSKILL.md and run it\" (no inline 3000-word prompts)\n- Idempotency: jobs can run twice without duplicate side effects\n- Results saved as reports: `reports\u002F{job-name}\u002F{YYYY-MM-DD-HHMM}.md`\n\n## Phases\n\n1. **Define job.** Name, schedule (cron expression), skill to run, timeout.\n2. **Validate schedule.** Check no collision with existing jobs (5-minute offset rule).\n   - Slots: :05, :10, :15, :20, :25, :30, :35, :40, :45, :50\n   - If collision detected, suggest the next available slot\n3. **Check quiet hours.** Default: 11 PM - 8 AM local time.\n   - Override: user-awake flag (if user is active, quiet hours suspended)\n   - During quiet hours: save output to held queue\n   - Morning contact releases the backlog\n4. **Register with host scheduler.** OpenClaw cron, Railway cron, crontab, or process manager. **Each registered entry should execute via Minions, not `agentTurn`.** See `skills\u002Fconventions\u002Fcron-via-minions.md` for the rewrite pattern (PGLite uses `--follow`, Postgres uses fire-and-forget + `--idempotency-key` on the cycle slot). GBrain's v0.11.0 migration auto-rewrites entries for built-in handlers; host-specific handlers need a code-level registration per `docs\u002Fguides\u002Fplugin-handlers.md`.\n5. **Write thin prompt.** Job prompt is one line: \"Read skills\u002F{name}\u002FSKILL.md and run it.\"\n\n## Idempotency Requirement\n\nEvery cron job MUST be idempotent:\n- Running the same job twice produces the same result (no duplicate pages, no duplicate timeline entries)\n- Use checkpoint state files to track progress and resume interrupted runs\n- Check for existing output before creating new output\n\n## Output Format\n\nJob configuration saved. Report: \"Job '{name}' scheduled at {cron expression}. Next run: {time}.\"\n\n## Multi-source brains: use `sync --all`, not per-source entries\n\nWhen the brain has 2+ active sources (anything `gbrain sources list` shows\nwith a non-null `local_path` that isn't archived), use one consolidated\ncron line instead of N per-source entries.\n\n**Preferred (multi-source)**:\n\n```cron\n*\u002F5 * * * * gbrain sync --all --parallel 4 --workers 4 --skip-failed\n```\n\nThis replaces N per-source lines AND auto-picks-up future sources without\na crontab edit. Concurrency budget: `parallel × workers × 2 ≈ 32`\nconnections during the wave (each per-file worker opens its own\n2-connection pool). Stay under your Postgres `max_connections` setting.\n\n**Avoid (legacy)**: separate `gbrain sync --source default` and\n`gbrain sync --source zion-brain` entries staggered by 5 minutes. They\nrequire manual deconfliction every time a new source is added, and a\nslow source can race a fast source on the legacy global `gbrain-sync`\nlock (v0.40.3.0+ uses per-source `gbrain-sync:\u003CsourceId>` locks but the\nper-source cron pattern doesn't benefit from the parallelism that\n`--all --parallel` actually delivers).\n\n`gbrain doctor` surfaces the recommended line as a `sync_consolidation`\ncheck whenever it detects 2+ active sources. Paste-ready from there.\n\n## Anti-Patterns\n\n- Scheduling jobs at the same minute (:00 for everything)\n- Inline 3000-word prompts in cron jobs (use skill file references)\n- Running cron jobs without testing on 3-5 items first\n- Jobs that produce different output on re-run (not idempotent)\n- Sending notifications during quiet hours (save to held queue instead)\n- Separate per-source `gbrain sync --source \u003Cid>` cron entries when\n  `gbrain sync --all --parallel N --workers N` would replace them with\n  one line that auto-picks-up future sources.\n",{"name":5,"tools":24,"version":28,"mutating":29,"triggers":30,"description":35},[25,26,27],"search","get_page","put_page","1.0.0",true,[31,32,33,34],"schedule a job","cron","quiet hours","what jobs are running","Schedule management with staggering, quiet hours, and wake-up override.\nValidates schedules, prevents collisions, and gates delivery during quiet hours.\n","main","837bd04f933ca05cfef2ba496e5df0f5f92681da","skills\u002Fcron-scheduler","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards","https:\u002F\u002Fgithub.com\u002Fazxav","2026-10-05 01:03:28",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":29},[44,47,50],{"tool":45,"command":46},"npx","npx skills add azxav\u002F2brain-techawards --skill cron-scheduler",{"tool":48,"command":49},"bunx","bunx skills add azxav\u002F2brain-techawards --skill cron-scheduler",{"tool":51,"command":52},"pnpm","pnpm dlx skills add azxav\u002F2brain-techawards --skill cron-scheduler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Fskills\u002Fcron-scheduler\u002FSKILL.md",[],[56,62,68,75,82,89],{"skillNo":57,"name":58,"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":59,"categories":60,"keywords":61,"publishedAt":19},"01M7AB1Q20A3N1F3B7V7ABYR00","query-helper","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fquery-helper\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"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":65,"categories":66,"keywords":67,"publishedAt":19},"01M7AB1M3ASM6Q4W5YCRS8TD4J","broken","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbroken\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7AB1HW3SCP26YJN6A03EV4A","brain-ops","Read, enrich, and write brain pages with source attribution.","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AB1G2F1SB33PW9GSMG9148","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"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":19},"01M7AB1E9DYEXR3AN2DSKFTFT3","query","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7AB1CD0BAW318SKC8DBBFYX","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fazxav\u002F2brain-techawards\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[]]