Session Persistence
Medium
- Category
- Rogue Agent
- Content
--- name: openclaw-hook description: Create, debug, and maintain OpenClaw Gateway internal hooks. Use when: (1) creating new hooks for agent events like bootstrap, (2) debugging hook execution issues, (3) understanding hook configuration and event structure, (4) injecting virtual bootstrap files, (5) fixing issues like Telegram notifications not sending, Content-Length errors, or context access problems. Triggers on phrases like "create a hook", "fix hook", "debug hook", "hook not working", "internal hook". --- # OpenClaw Internal Hook 开发指南
- Confidence
- 87% confidence
- Finding
- The same persistence concern is present in the duplicated finding: the skill teaches how to register always-on internal hooks via configuration and have them run automatically after gateway restart. In the context of an agent platform, this makes the behavior more security-relevant because future agent sessions may inherit modified context or trigger external communications without fresh user awareness.
