agent-wake
БесплатноЗапускает вложенные скриптыНе проверенWake an OpenClaw agent session from an external script or process. Use when a background task (Claude Code CLI, cron job, webhook, price alert, or any script)…
от modbender★ 21 звезда на GitHubОб этом скилле
agent-wake
Wake your OpenClaw agent from any external process using the gateway HTTP API.
How it works
scripts/agent-wake.py calls POST /tools/invoke with the cron tool, firing a wake event into the agent's session. The agent receives the event text as a system message and responds immediately in the correct channel.
Quick start
python agent-wake.py "Task finished -- brief summary" "YOUR_DISCORD_CHANNEL_ID"
Setup (one-time)
See references/setup.md for:
- Enabling the
crontool over HTTP (required -- blocked by default) - Setting
GATEWAY_TOKEN - Finding your Discord channel ID
Usage patterns
End of a Claude Code CLI task
Add to the task prompt:
When done, run: python "/path/to/agent-wake.py" "Task done -- summary here" "CHANNEL_ID"
From any Python script
import subprocess
subprocess.run([
"python", "/path/to/agent-wake.py",
"Price alert triggered -- AAPL crossed $200",
"1475232925724315740"
])
Standalone (wake main session)
python agent-wake.py "Backup completed successfully"
Omit channel ID to wake the main session (response goes to default channel).
What the agent receives
The event text is injected as a system message. Be specific -- the agent acts on what you write:
Build finished -- 3 errors fixed, tests passing. Send your response to Discord channel 1475232925724315740...
Script location
scripts/agent-wake.py -- copy this wherever your tasks run. No dependencies beyond Python stdlib.
Установить agent-wake в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-wake?
Wake an OpenClaw agent session from an external script or process. Use when a background task (Claude Code CLI, cron job, webhook, price alert, or any script) finishes and you want the agent to automatically receive a notification and respond in the correct Discord channel without manual prompting. Solves the problem of agents not knowing when async work completes.
Как установить скилл agent-wake?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-wake запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic