bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
OpenClaw plugin that prepends custom text to every user message before it reaches the agent. Use for: enforcing memory_search before replies, injecting system-level instructions, adding persistent reminders to every conversation turn. Install as a workspace extension — works on all channels including WebChat, Telegram, Slack, etc.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install harukaon/message-injectorInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
A lightweight OpenClaw workspace extension that uses the before_agent_start hook to inject custom text into every user message via prependContext.
mkdir -p ~/.openclaw/workspace/.openclaw/extensions/message-injector
Copy scripts/index.ts and scripts/openclaw.plugin.json to the extension directory:
cp scripts/index.ts ~/.openclaw/workspace/.openclaw/extensions/message-injector/
cp scripts/openclaw.plugin.json ~/.openclaw/workspace/.openclaw/extensions/message-injector/
Add the following to ~/.openclaw/openclaw.json under plugins.entries:
"message-injector": {
"enabled": true,
"config": {
"enabled": true,
"prependText": "Your custom text here"
}
}
openclaw gateway restart
| Field | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | true |
Enable or disable the injector |
prependText |
string | "" |
Text to prepend before every user message |
Force memory search:
"prependText": "[⚠️ 回答前必须先 memory_search 检索相关记忆,禁止凭印象回答]"
Add persistent context:
"prependText": "[当前项目:my-app | 技术栈:React + Node.js | 部署环境:AWS]"
Inject safety rules:
"prependText": "[RULE: Always verify file paths before deletion. Never run rm -rf without confirmation.]"
The plugin registers a before_agent_start hook. When triggered, it returns { prependContext: prependText } which OpenClaw prepends to the user's message before the agent processes it. This is a hard injection at the Gateway level — the agent cannot skip or ignore it.
GitHub: https://github.com/Harukaon/openclaw-message-injector
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Message Injector
A lightweight OpenClaw workspace extension that uses the `before_agent_start` hook to inject custom text into every user message via `prependContext`.
## Installation
### 1. Create the extension directory
```bash
mkdir -p ~/.openclaw/workspace/.openclaw/extensions/message-injector
```
### 2. Copy the plugin files
Copy `scripts/index.ts` and `scripts/openclaw.plugin.json` to the extension directory:
```bash
cp scripts/index.ts ~/.openclaw/workspace/.openclaw/extensions/message-injector/
cp scripts/openclaw.plugin.json ~/.openclaw/workspace/.openclaw/extensions/message-injector/
```
### 3. Add configuration
Add the following to `~/.openclaw/openclaw.json` under `plugins.entries`:
```json
"message-injector": {
"enabled": true,
"config": {
"enabled": true,
"prependText": "Your custom text here"
}
}
```
### 4. Restart Gateway
```bash
openclaw gateway restart
```
## Configuration
| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `enabled` | boolean | `true` | Enable or disable the injector |
| `prependText` | string | `""` | Text to prepend before every user message |
## Example Use Cases
**Force memory search:**
```json
"prependText": "[⚠️ 回答前必须先 memory_search 检索相关记忆,禁止凭印象回答]"
```
**Add persistent context:**
```json
"prependText": "[当前项目:my-app | 技术栈:React + Node.js | 部署环境:AWS]"
```
**Inject safety rules:**
```json
"prependText": "[RULE: Always verify file paths before deletion. Never run rm -rf without confirmation.]"
```
## How It Works
The plugin registers a `before_agent_start` hook. When triggered, it returns `{ prependContext: prependText }` which OpenClaw prepends to the user's message before the agent processes it. This is a hard injection at the Gateway level — the agent cannot skip or ignore it.
## Source Code
GitHub: https://github.com/Harukaon/openclaw-message-injectorBambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...