mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-11 04:10:44 +08:00
本次迁移将网关/通道/工具/技能/脚本与协议资源集中到新结构,统一路径常量与脚本转发机制,减少顶层噪音并保证运行与测试行为一致。 Made-with: Cursor
13 lines
308 B
Markdown
13 lines
308 B
Markdown
---
|
|
name: wiki-auto-inject
|
|
description: "Inject wiki context before model prompt build"
|
|
metadata:
|
|
oclaw:
|
|
emoji: "📚"
|
|
events: ["llm:before_prompt_build"]
|
|
---
|
|
|
|
# Wiki Auto Inject Hook
|
|
|
|
Builds a compact wiki context block and prepends it to system prompt via
|
|
`event.context.prepend_system_context`.
|