← Back to Skills Marketplace
85
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-agentlog
Description
OpenClaw Agent 自动存证与 Trace 生命周期管理 Skill。 提供给 OpenClaw Agent 使用,实现: 1. 自动会话存证 - 通过 OpenClaw Hooks 自动记录 agent 活动 2. Trace 生命周期 - 管理 trace 的创建、认领、完成流程 When to a...
Usage Guidance
This package is suspicious because it claims to be instruction-only but includes code that will automatically patch your OpenClaw installation and workspace files. Before installing: 1) Do not install on production systems without review. 2) Manually inspect postinstall.js, install.sh, and patch_dist.py (they modify files under global openclaw dist, run git commands, SSH/rsync, and restart services). 3) If you need the skill, run it first in an isolated VM/container and back up your OpenClaw installation. 4) Remove or disable the postinstall hook and do not run install.sh until you verify hosts/paths and understand its SSH usage. 5) Ensure any AGENTLOG_BACKEND_URL points to a trusted service (default is localhost; a remote URL could receive captured session data). 6) Prefer obtaining this functionality from a well-known, trusted source or request the author to provide a non-invasive install path and clearer declaration of required env/config and exact filesystem changes.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-agentlog
Version: 1.1.2
The bundle exhibits highly invasive behavior by 'hot patching' the host application's core distribution files, specifically modifying JavaScript files within the OpenClaw installation directory via `postinstall.js` and `patch_dist.py`. Additionally, `install.sh` performs remote system operations using SSH and manages systemd services. While these actions are aligned with the stated purpose of deep logging and trace management, the practice of programmatically altering the host's source code and requiring broad system-level access represents a significant security risk and a high-privilege execution pattern.
Capability Tags
Capability Assessment
Purpose & Capability
The declared purpose (agent session logging and trace handoff) aligns with many code behaviors (creating traces, writing sessions.json, capturing tool calls). However the package metadata claimed 'instruction-only' while the bundle includes executable code (postinstall script, install.sh, patch_dist.py) that modifies OpenClaw's global installation and the host filesystem. That degree of modification (hot-patching dist files under global node_modules, restarting services) is more intrusive than the SKILL.md/registry metadata suggests and not clearly justified in the manifest.
Instruction Scope
SKILL.md describes hooks, env vars, and sessions.json usage but does not document the install-time behaviors present in the code: automatic backup/patch of OpenClaw dist files, rsync/ssh synchronization to remote host, and postinstall hot-patching during npm install. The runtime code also executes git commands (git rev-parse), reads/writes files inside a repository's git common-dir (agentlog/sessions.json), and sets environment variables — actions that read/modify user repositories and system files beyond simple logging.
Install Mechanism
There is no declared install spec in registry metadata, yet package.json defines a postinstall script (scripts/postinstall.js) that will run automatically on npm install and attempts to patch global OpenClaw dist directories. Additionally install.sh can rsync to a remote host and run ssh commands and systemctl restarts. These behaviors are high-risk because they modify installed software and system services and run without an explicit curated install declaration in the registry metadata.
Credentials
The skill's documentation references environment variables (AGENTLOG_BACKEND_URL, AGENTLOG_MCP_URL, AGENTLOG_AGENT_ID) but the registry metadata lists no required env vars. The code will use those env vars (and defaults to http://localhost:7892). Because BACKEND_URL is configurable, a maliciously set BACKEND_URL could exfiltrate captured sessions/traces. The skill does not request cloud credentials, but it does read/write git repo files and interact with the filesystem — capabilities that are plausible for trace handoff but should be explicitly declared.
Persistence & Privilege
The plugin registers hooks (normal for a skill) but also includes scripts that modify OpenClaw's core dist JS files and restart the gateway service. Modifying the core dist bundle gives long-lived, system-wide influence over OpenClaw behavior beyond the plugin's own code. Although always:false (not force-enabled), the bundle's ability to patch runtime code and persist changes in global node_modules is a significant privilege and should be treated carefully.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-agentlog - After installation, invoke the skill by name or use
/openclaw-agentlog - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.2
- Merged agentlog-auto and openclaw-agent into a unified openclaw-agentlog skill for session evidence and trace lifecycle management.
- Introduced auto-logging via OpenClaw Hooks for session events, reasoning, tool calls, and agent responses.
- Added trace handoff features, including automated and manual claim/complete APIs for task transfers.
- Supports automatic Git commit binding and enhanced session management (no manual session_id required).
- Replaces and deprecates previous skills agentlog-auto and openclaw-agent.
Metadata
Frequently Asked Questions
What is openclaw-agentlog?
OpenClaw Agent 自动存证与 Trace 生命周期管理 Skill。 提供给 OpenClaw Agent 使用,实现: 1. 自动会话存证 - 通过 OpenClaw Hooks 自动记录 agent 活动 2. Trace 生命周期 - 管理 trace 的创建、认领、完成流程 When to a... It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.
How do I install openclaw-agentlog?
Run "/install openclaw-agentlog" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is openclaw-agentlog free?
Yes, openclaw-agentlog is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does openclaw-agentlog support?
openclaw-agentlog is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created openclaw-agentlog?
It is built and maintained by hobo0cn (@hobo0cn); the current version is v1.1.2.
More Skills