An automated evidence preservation and trace management skill designed to capture the full lifecycle of OpenClaw agent activities.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-agentlog
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 openclaw-agentlog using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The OpenClaw Agent Log Skill provides a unified framework for session management and activity tracing. It serves as an essential component for developers working with Openclaw Skills who require reliable record-keeping of agent behaviors, including reasoning processes from high-end models like DeepSeek-R1 and Claude. By leveraging OpenClaw Hooks, this skill automatically handles session creation, tool call logging, and response capturing without requiring manual session ID management.
This skill is particularly valuable in multi-agent environments where task handoffs (traces) are frequent. It ensures that every step of a workflow is documented and attributable, providing a clear audit trail for complex AI operations. It replaces the legacy agentlog-auto and openclaw-agent modules to offer a more streamlined and feature-rich experience.
To get started with this skill, ensure your OpenClaw Gateway and AgentLog Backend (default port 7892) are running. Configure your environment variables as follows:
# Define backend and MCP server locations
export AGENTLOG_BACKEND_URL=http://localhost:7892
export AGENTLOG_MCP_URL=http://localhost:7892
export AGENTLOG_AGENT_ID=your-agent-identifier
For advanced configurations, update your YAML settings:
agentlog:
autoBindCommit: true
reasoningCapture: true
sessionTimeout: 600
The skill organizes activity data through a structured pipeline that interfaces with a SQLite database via MCP. Below is the metadata taxonomy used:
| Data Type | Description | Capture Method |
|---|---|---|
| Session ID | Unique identifier for a single agent run | Automated Hook |
| Trace ID | Identifier for cross-session task tracking | Handoff API |
| Reasoning | Internal logic steps (e.g., DeepSeek thoughts) | reasoningCapture |
| Tool Calls | Arguments and results for all tool invocations | Tool Call Hooks |
| Git Commit | Binding to the latest commit in the repository | autoBindCommit |
Loading
A universal self-improvement system that enables AI agents to learn from every interaction and autonomously evolve their codebase based on real-world experiences.

A professional-grade financial monitoring tool that automates the tracking of US retail brokerages, market-wide trading volumes, and the emerging crypto and prediction market ecosystems.

A comprehensive personal travel assistant for planning trips, tracking budgets, and managing travel documents within a structured environment.

A production-grade engineering harness that enforces execution discipline, product thinking, and knowledge compounding for AI agents.

A local retrieval skill that utilizes SQLite for hybrid vector and keyword search across massive documentation libraries without bloating agent memory.

An intelligent AI research assistant that performs multi-source web searches and generates comprehensive, cited summaries.








































