oclaw/skills/session-bootstrap/hooks/runtime/HOOK.md
oliver beb52006d8 refactor: move bundled skills tree to repo root skills/
- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills
  with fallback to legacy runtime/skills for unmigrated trees.
- session-bootstrap hook handler resolves repo root via PROJECT_ROOT.
- Update architecture/migration docs and in-tree skill references.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 11:35:57 +08:00

14 lines
429 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: session-bootstrap
description: 在智能体启动时注入会话唤醒上下文
metadata: {"oclaw":{"emoji":"🧭","events":["agent:bootstrap"]}}
---
# 会话唤醒 Hook
在 `agent:bootstrap` 事件触发时,注入一个虚拟 `SESSION_BOOTSTRAP.md` 文件,内容包含:
- 身份与行为参考(`SOUL.md`、`IDENTITY.md`)
- 最近会话记忆摘要
- 最新 Wiki 改进信号
- 一句话连续性欢迎语