[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MHK9CD8FBX3HZ7ADHVDBJ":3,"skill-same:01M77MHK9CD8FBX3HZ7ADHVDBJ":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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M77MHK9CD8FBX3HZ7ADHVDBJ","anti-sleep",null,"Keep a Mac awake for a set duration or while a process runs. Use only when the user explicitly invokes \u002Fanti-sleep.","davidondrej\u002Fskills","davidondrej","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F131768515?v=4","01M77MHARFKYVNT9FV22807T8F","David Ondrej","01M77MHASHNDV507F9NTVKR2CY",4310,"MIT","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fanti-sleep\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: anti-sleep\ndescription: Keep a Mac awake for a set duration or while a process runs. Use only when the user explicitly invokes \u002Fanti-sleep.\ndisable-model-invocation: true\n---\n\n# Anti-Sleep (macOS caffeinate)\n\nUse the bundled launcher from this skill directory. It creates a one-shot user LaunchAgent using only built-in macOS tools.\n\n## Required workflow\n\nNever launch `caffeinate` with raw `&`, `nohup`, `disown`, or `launchctl submit`. Temporary execution shells can kill their descendants, and `launchctl submit` can restart a timed job.\n\nResolve `scripts\u002Fanti-sleep.sh` relative to this `SKILL.md`; never assume the user's current directory. Run:\n\n1. Inspect current state:\n\n```bash\nscripts\u002Fanti-sleep.sh status\n```\n\n2. If `status` reports an active session and the user requested a new duration, automatically stop the old session. **Never ask for confirmation.**\n\n```bash\nscripts\u002Fanti-sleep.sh stop\n```\n\n3. Start the new timer for the requested duration:\n\n```bash\nscripts\u002Fanti-sleep.sh start 10800    # 3 hours\n```\n\nFor a specific process, use `start-pid`. Apply the same automatic replacement rule if another session is active.\n\n```bash\nscripts\u002Fanti-sleep.sh start-pid \u003CPID>\n```\n\n4. In a **separate tool\u002Fshell call after the start command has returned**, verify:\n\n```bash\nscripts\u002Fanti-sleep.sh verify\n```\n\nOnly report success when verification returns `STATUS=running` and `ASSERTIONS=active`. Confirm the PID, flags, and wall-clock expiry. If verification fails, run `stop` and do not claim the Mac is protected.\n\n## Assertion flags\n\nThe default is `-d -i`: keep the display on and prevent idle system sleep. Pass explicit flags after the duration or PID when needed:\n\n| Flags | Effect |\n|---|---|\n| `-i` | Prevent idle system sleep; display may dim |\n| `-d` | Prevent display sleep |\n| `-d -i -s` | Also prevent system sleep while on AC power |\n\nNone of these stop sleep when the lid closes. For agent runs that must survive a closed lid, see [Keep Claude Code running when your laptop is closed](https:\u002F\u002Fwww.cloudroom.dev\u002Fblog\u002Fkeep-claude-code-running-laptop-closed).\n\nExample:\n\n```bash\nscripts\u002Fanti-sleep.sh start 10800 -i\n```\n\n## Status and stop\n\n```bash\nscripts\u002Fanti-sleep.sh status\nscripts\u002Fanti-sleep.sh stop\n```\n\nThe launcher tracks one exact LaunchAgent label, PID, start time, and expiry under `~\u002FLibrary\u002FCaches`. It never uses broad `pkill`.\n\n## Fallback\n\nIf `launchctl bootstrap` fails, use a visible persistent terminal or cmux pane. Read the `cmux` skill before interacting with cmux. If no persistent surface is available, tell the user instead of starting an unreliable background job.\n\n`caffeinate` cannot keep the keyboard backlight on. That setting is manual: System Settings → Keyboard → “Turn keyboard backlight off after inactivity” → Never.\n","# Anti-Sleep (macOS caffeinate)\n\nUse the bundled launcher from this skill directory. It creates a one-shot user LaunchAgent using only built-in macOS tools.\n\n## Required workflow\n\nNever launch `caffeinate` with raw `&`, `nohup`, `disown`, or `launchctl submit`. Temporary execution shells can kill their descendants, and `launchctl submit` can restart a timed job.\n\nResolve `scripts\u002Fanti-sleep.sh` relative to this `SKILL.md`; never assume the user's current directory. Run:\n\n1. Inspect current state:\n\n```bash\nscripts\u002Fanti-sleep.sh status\n```\n\n2. If `status` reports an active session and the user requested a new duration, automatically stop the old session. **Never ask for confirmation.**\n\n```bash\nscripts\u002Fanti-sleep.sh stop\n```\n\n3. Start the new timer for the requested duration:\n\n```bash\nscripts\u002Fanti-sleep.sh start 10800    # 3 hours\n```\n\nFor a specific process, use `start-pid`. Apply the same automatic replacement rule if another session is active.\n\n```bash\nscripts\u002Fanti-sleep.sh start-pid \u003CPID>\n```\n\n4. In a **separate tool\u002Fshell call after the start command has returned**, verify:\n\n```bash\nscripts\u002Fanti-sleep.sh verify\n```\n\nOnly report success when verification returns `STATUS=running` and `ASSERTIONS=active`. Confirm the PID, flags, and wall-clock expiry. If verification fails, run `stop` and do not claim the Mac is protected.\n\n## Assertion flags\n\nThe default is `-d -i`: keep the display on and prevent idle system sleep. Pass explicit flags after the duration or PID when needed:\n\n| Flags | Effect |\n|---|---|\n| `-i` | Prevent idle system sleep; display may dim |\n| `-d` | Prevent display sleep |\n| `-d -i -s` | Also prevent system sleep while on AC power |\n\nNone of these stop sleep when the lid closes. For agent runs that must survive a closed lid, see [Keep Claude Code running when your laptop is closed](https:\u002F\u002Fwww.cloudroom.dev\u002Fblog\u002Fkeep-claude-code-running-laptop-closed).\n\nExample:\n\n```bash\nscripts\u002Fanti-sleep.sh start 10800 -i\n```\n\n## Status and stop\n\n```bash\nscripts\u002Fanti-sleep.sh status\nscripts\u002Fanti-sleep.sh stop\n```\n\nThe launcher tracks one exact LaunchAgent label, PID, start time, and expiry under `~\u002FLibrary\u002FCaches`. It never uses broad `pkill`.\n\n## Fallback\n\nIf `launchctl bootstrap` fails, use a visible persistent terminal or cmux pane. Read the `cmux` skill before interacting with cmux. If no persistent surface is available, tell the user instead of starting an unreliable background job.\n\n`caffeinate` cannot keep the keyboard backlight on. That setting is manual: System Settings → Keyboard → “Turn keyboard backlight off after inactivity” → Never.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","a9d4ad810cf3c303fde23bdcd5fc86df7c57daf3","skills\u002Fanti-sleep",626,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills","https:\u002F\u002Fwww.cloudroom.dev","https:\u002F\u002Fgithub.com\u002Fdavidondrej","https:\u002F\u002Fwww.cloudroom.dev\u002F","founder of Cloudroom","2026-11-14 10:00:36",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":24},[37,40,43],{"tool":38,"command":39},"npx","npx skills add davidondrej\u002Fskills --skill anti-sleep",{"tool":41,"command":42},"bunx","bunx skills add davidondrej\u002Fskills --skill anti-sleep",{"tool":44,"command":45},"pnpm","pnpm dlx skills add davidondrej\u002Fskills --skill anti-sleep","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fanti-sleep\u002FSKILL.md",[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",43,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fanti-sleep\u002Fagents\u002Fopenai.yaml",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fanti-sleep.sh","SCRIPT","脚本",7831,"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fanti-sleep\u002Fscripts\u002Fanti-sleep.sh",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"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},"01M77MPMR6DE13EZFSMY76S6YB","varied-search","Research a topic across the web, GitHub, and X\u002FTwitter with DeepAPI and produce a concise Markdown report. Use for varied-search or requests to compare web coverage, relevant repositories, and social discussion.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fvaried-search\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},"01M77MPG5F9H2JBW4VFHBY1VSM","total-review","Run five independent max-effort reviews (Fable 5.1, Opus 5.5, GPT-6 Astra, GPT-6.1 Sol, Muse Wonder), merge their findings, and fix only what the user approves. Use for \u002Ftotal-review, or when the user or another agent asks for a total review.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftotal-review\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},"01M77MP8XZJ42ZJZQV8C76B353","stop-overthinking","Manually-invoked skill that stops overthinking and forces a short, practical decision. Use only when the user explicitly invokes stop-overthinking.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fstop-overthinking\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},"01M77MP5EGQSNF1VS9SY8CK60Q","state","Manually-invoked skill that recaps what the current thread is doing and how far along it is. Use when the user says \"state\", \"where are we\", or \"what % are we done\".","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fstate\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},"01M77MP2H479SWAP7687RAVG7T","setup-help","Guide setup one step at a time and show what remains. Use only when the user explicitly asks for it by name.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsetup-help\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M77MNZV9X8NPC9JZMWP8WAF8","self-archive","Archive the current Cloudroom thread and release its runtime. Use only when the user explicitly asks to self-archive, archive yourself, or archive this thread.","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fself-archive\u002FSKILL.md",[],[]]