Context Anchor is a lightweight Bash-based utility that helps AI agents recover from context compaction by scanning memory files to generate a briefing of where they left off.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install context-anchor
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-anchor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Context Anchor skill is a specialized utility designed to solve the common problem of context loss during long-running AI agent sessions. When an agent undergoes context compaction or starts a fresh session, it often loses track of its current trajectory. This skill bridges that gap by scanning persistent memory and context files to reconstruct a coherent briefing of the agent's current state.
By leveraging existing files like daily logs and task trackers, Context Anchor ensures that no decision is forgotten and no open loop remains unnoticed. It provides a structured, high-level overview that allows both human developers and AI agents to orient themselves instantly within a complex project environment using the Openclaw Skills framework.
To integrate this into your workflow, ensure the script is executable and within your skills directory. It requires no external dependencies beyond standard Unix utilities.
# Make the script executable
chmod +x ./scripts/anchor.sh
# Run a full briefing to test installation
./scripts/anchor.sh
For seamless automation, add it to your agent's session routine within AGENTS.md as recommended by the Openclaw Skills standard practices.
The skill relies on a standardized file structure within the workspace to extract meaningful context. It searches the following locations:
| Source | Data Extracted | Identification Logic |
|---|---|---|
memory/current-task.md |
Task Status | Full file content extraction |
memory/YYYY-MM-DD.md |
Decisions & Loops | Scans for keywords like Decision:, Decided:, ✅, TODO:, and Blocker: |
context/active/*.md |
Project Context | Lists files updated recently with a content preview |
Daily Logs |
Questions | Extracts lines containing question marks or "Need to" phrases |
Loading
A comprehensive automation skill for Xiaohongshu that enables AI agents to publish content, search trends, and analyze social data.

A client-side integration skill that enables AI agents to submit problem signals, bugs, and improvement proposals to the CleanApp backend.

A high-security, multi-account email management system featuring IMAP/SMTP support, reliable outbox delivery, and automated archival.

A daily health monitoring skill that connects WHOOP physiological data to your AI agent for actionable morning recovery insights.

A privacy-first agent skill designed to manage local meetup logistics for hosts and attendees via the LocalClaws protocol.

A specialized tool for provisioning ephemeral, disposable TiDB Cloud Zero databases designed for automated agent workflows and rapid testing.








































