一键导入
deep-sleep
/deep-sleep — Keep agent alive while user is away. Enter low-power polling loop that prevents request timeout.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
/deep-sleep — Keep agent alive while user is away. Enter low-power polling loop that prevents request timeout.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Enhance prompts for Claude models (Opus, Sonnet, Haiku). Applies XML structuring, recency-optimized instruction placement, few-shot patterns, and Claude-specific best practices.
Enhance prompts for OpenAI GPT models and Codex. Applies primacy-optimized instruction placement, conversational structure, delimiters, and GPT/Codex-specific best practices.
ACTION-FORCING prompt enhancer router. Detects /enhance-me → launches Task subagent → displays enhanced prompt → executes it. Reading this skill without launching a subagent is a protocol violation.
Durable request skill — keeps every AI agent conversation alive across multiple tasks instead of silently finishing. AGENT SHOULD STRICTLY FOLLOW THIS PROTOCOL WHEN ACTIVATED. ONLY activate when the user explicitly invokes.
Durable request skill — keeps every AI agent conversation alive across multiple tasks instead of silently finishing. AGENT SHOULD STRICTLY FOLLOW THIS PROTOCOL WHEN ACTIVATED. ONLY activate when the user explicitly invokes.
ACTION-FORCING prompt enhancer router. Detects /enhance-me → launches Task subagent → displays enhanced prompt → executes it. Reading this skill without launching a subagent is a protocol violation.
| name | deep-sleep |
| author | durable-request |
| description | /deep-sleep — Keep agent alive while user is away. Enter low-power polling loop that prevents request timeout. |
When the user says /deep-sleep, "deep-sleep", "brb", "I'll be back", or indicates they will be away.
You MUST call deep-sleep.sh via the Shell tool. Do not just acknowledge the user is leaving.
bash ~/.cursor/skills/durable-request/deep-sleep.sh [timeout_minutes]
deep-sleep.sh 30)The script blocks, printing [deep-sleep] Still sleeping... X/Y min elapsed. every 60 seconds.
The user wakes the agent by running:
touch ~/.cursor/skills/durable-request/.deep-sleep-wake
When the script returns (wake signal or timeout), you MUST present a new checkpoint to the user using the durable-request protocol.