← 返回 Skills 市场
hobo0cn

openclaw-agentlog

作者 hobo0cn · GitHub ↗ · v1.1.2 · MIT-0
cross-platform ⚠ suspicious
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-agentlog
功能描述
OpenClaw Agent 自动存证与 Trace 生命周期管理 Skill。 提供给 OpenClaw Agent 使用,实现: 1. 自动会话存证 - 通过 OpenClaw Hooks 自动记录 agent 活动 2. Trace 生命周期 - 管理 trace 的创建、认领、完成流程 When to a...
安全使用建议
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.
功能分析
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.
能力标签
crypto
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-agentlog
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-agentlog 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug openclaw-agentlog
版本 1.1.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

openclaw-agentlog 是什么?

OpenClaw Agent 自动存证与 Trace 生命周期管理 Skill。 提供给 OpenClaw Agent 使用,实现: 1. 自动会话存证 - 通过 OpenClaw Hooks 自动记录 agent 活动 2. Trace 生命周期 - 管理 trace 的创建、认领、完成流程 When to a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 openclaw-agentlog?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-agentlog」即可一键安装,无需额外配置。

openclaw-agentlog 是免费的吗?

是的,openclaw-agentlog 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

openclaw-agentlog 支持哪些平台?

openclaw-agentlog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 openclaw-agentlog?

由 hobo0cn(@hobo0cn)开发并维护,当前版本 v1.1.2。

💬 留言讨论