A powerful OpenClaw extension that automatically prepends custom instructions or context to every user message before the agent processes it.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install message-injector
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install message-injector using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Message Injector is a streamlined workspace extension designed to enhance the reliability and consistency of AI interactions within the Openclaw Skills ecosystem. By leveraging the before_agent_start hook, this skill ensures that specific guidelines, memory search requirements, or project-wide context are injected into every turn of the conversation.
This tool acts as a gateway-level guardrail, allowing developers to enforce specific agent behaviors without manually repeating instructions. Whether you are using WebChat, Telegram, or Slack, this extension provides a seamless way to maintain persistent reminders and operational safety across all communication channels supported by Openclaw Skills.
before_agent_start hook within the OpenClaw architecture.prependContext method to hard-inject the text at the very beginning of the user's message payload.First, create the dedicated extension directory to house your new Openclaw Skills components:
mkdir -p ~/.openclaw/workspace/.openclaw/extensions/message-injector
Next, copy the required script files into 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 configuration block to your ~/.openclaw/openclaw.json file under the plugins.entries section:
"message-injector": {
"enabled": true,
"config": {
"enabled": true,
"prependText": "Your custom instructions here"
}
}
Finally, restart the gateway to enable the new functionality:
openclaw gateway restart
The skill manages its behavior through a simple JSON configuration schema:
| Property | Type | Description |
|---|---|---|
enabled |
boolean | Toggles whether the injection logic is active for the workspace. |
prependText |
string | The raw text or instructions to be prepended to every incoming user message. |
hook |
string | Uses the before_agent_start hook to ensure priority execution. |
Loading
A security-hardened Perplexity API integration for real-time web-grounded search with citations.

A robust tool to fetch, summarize, and manage unread RSS entries from your Miniflux instance via its REST API.

An autonomous AI skill for creating, managing, and deploying full-featured blogs across multiple database architectures and hosting providers.

An automated end-to-end pipeline to discover trending topics, research them, and generate fact-checked podcast episodes with professional audio.

An automated utility that maintains a structured and searchable index of your workspace directories and project metadata.

A sophisticated AI agent skill for generating real-time A-share sector reports, mapping global news to stock movements, and analyzing US-market correlations.








































