A high-efficiency context management skill that injects dynamic data into AI sessions as attachments rather than system prompt modifications.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install attachment-inject
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 attachment-inject using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Attachment Inject is a specialized utility designed to optimize how AI agents handle large sets of dynamic data. Inspired by the Claude Code architecture, this skill allows developers to inject dynamic content—like skill registries or agent descriptions—into the conversation flow as message attachments. By moving this data out of the system prompt, it ensures that your Openclaw Skills benefit from better prompt caching and significantly lower token overhead.
This approach solves the problem of static, bloated system prompts that become expensive and slow as more capabilities are added. Instead of hardcoding every possible skill into the initial instruction, Attachment Inject enables a modular architecture where detailed information is only provided to the AI when specifically needed for the current task.
To set up dynamic registries for your environment, you can use a bash script to crawl your Openclaw Skills directories and generate an index:
# Generate a skills registry
for dir in skills/*/; do
name=$(basename "$dir")
desc=$(grep "^description:" "$dir/SKILL.md" 2>/dev/null | head -1 | sed 's/description: *//' | cut -c1-60)
echo "| $name | $desc |"
done
The skill organizes information into a tiered hierarchy to maximize context efficiency:
| Level | Data Type | Implementation |
|---|---|---|
| Registry | Metadata Index | Lightweight Markdown tables (typically < 500 tokens) |
| Injection | Dynamic Placeholders | HTML-style comment tags (e.g., <!-- INJECT:SKILLS_REGISTRY -->) |
| On-Demand | Full Specifications | Full markdown content loaded via filesystem read tools when triggered |
| Core Context | Static Essentials | Top-tier descriptions for mission-critical functions |
Loading
PromptBuddy is an intelligent middleware skill that automatically reformats and optimizes user queries into structured prompts for superior AI reasoning.

A lightweight monitoring system that provides 3-5 word real-time status updates for active sub-agents to keep workflows transparent and efficient.

Automatically search keywords, extract web content, and organize data into a structured Feishu Bitable personal knowledge base.

A lightweight progress monitoring system that generates 3-5 word status updates for active sub-agents every 30 seconds.

A dedicated tool for querying daily hidden high-value Taobao Flash Sale coupons and red packets via API.

A professional framework for AI-driven development that prioritizes evaluation-first execution, task decomposition, and cost-aware model routing.








































