A context management tool that prunes bloated conversation threads by generating compact summaries and tracking pending actions.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install context-gatekeeper
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 context-gatekeeper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Context Gatekeeper is a specialized utility designed to maintain lean and cost-effective AI interactions by reducing the volume of tokens sent to large language models. It works by synthesizing long conversation histories into essential decisions, next steps, and recent context snippets. By using this tool within the ecosystem of Openclaw Skills, developers can ensure their agents remain focused on high-priority tasks and project goals without being overwhelmed by the noise of extensive message threads.
The skill operates on a principle of discipline similar to manual compaction, replacing hundreds of old messages with a single, high-density briefing page. This results in significant token savings and improved model performance by keeping the most relevant data at the forefront of the prompt.
To get started with this skill, ensure your history file is updated and run the following command:
python skills/context-gatekeeper/scripts/context_gatekeeper.py \
--history context/history.txt \
--summary context/current-summary.md
You can customize the output by adjusting the --max-summary-sents and --max-recent-turns arguments to fit your specific workflow requirements.
The skill organizes its data through a simple file-based taxonomy to ensure portability and ease of use within Openclaw Skills:
| File Path | Format | Description |
|---|---|---|
context/history.txt |
Plain Text | A line-by-line log of the conversation using the ROLE: Message format. |
context/current-summary.md |
Markdown | The synthesized summary including the briefing, pending tasks, and recent turns. |
context/pending-tasks.md |
Markdown | (Optional) A dedicated file for persisting extracted action items. |
Loading
Automate the publishing of Obsidian notes and Markdown folders to Cloudflare Pages using Quartz for static site generation.

A comprehensive AI agent skill for managing wallets, launching tokens, and executing swaps on the UTXO Exchange Spark Network.

A comprehensive toolkit for scaffolding, developing, and deploying high-quality Obsidian plugins using TypeScript and the Obsidian API.

A unified interface for querying Etherscan-compatible explorers to retrieve blockchain transactions, contract ABIs, and event logs across multiple EVM chains.

An automated tool for downloading Bilibili video subtitles and chunking them for high-quality LLM summarization.

A comprehensive automation tool for managing Enterprise WeChat (WeCom) schedules and calendars through AI-driven workflows.








































