← 返回 Skills 市场
fofo365

OpenClaw Self Analyzer - 自分析工具

作者 fofo365 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
373
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-self-analyzer
功能描述
自动分析OpenClaw架构,检测钩子点,生成钩子代码,扫描代码并生成详细分析报告。
安全使用建议
This package appears coherent with its description: it scans an OpenClaw installation and workspace, generates a JSON/Markdown report and example JS hooks. Before running or deploying generated hooks: (1) run in an isolated environment if possible because the scripts read many files under the OpenClaw install and may log context data, (2) review generated hook code for any logic you don't expect before installing them into a live OpenClaw instance, (3) update the hardcoded paths if your OpenClaw is installed elsewhere, and (4) avoid running it as a privileged account unless necessary. No credentials or network endpoints are requested by the skill itself.
功能分析
Type: OpenClaw Skill Name: openclaw-self-analyzer Version: 1.0.0 The OpenClaw Self Analyzer skill is designed to analyze the OpenClaw architecture, identify hook points, and generate boilerplate code for custom hooks and reports. All scripts (`run.sh`, `core/architecture_analyzer.py`, `generators/hook_generator.py`, `reporters/report_generator.py`, `scanners/code_scanner.py`) operate within the expected OpenClaw installation and workspace directories (`/root/.nvm/.../openclaw` and `/root/.openclaw/workspace/`), reading and writing files locally. While the `generators/hook_generator.py` inserts a `logic` string directly into generated JavaScript, in this skill bundle, this string is either a benign `console.log` statement or a placeholder, indicating a potential vulnerability in the code generation design rather than an intentional malicious act. There is no evidence of data exfiltration, unauthorized execution, persistence mechanisms, or prompt injection attempts against the agent.
能力评估
Purpose & Capability
Name/description (self-analysis, hook detection/generation, report creation) align with the included Python/JS code: architecture_analyzer, code_scanner, hook_generator, and report_generator implement the advertised features. Hardcoded paths target an installed OpenClaw package and the workspace, which is reasonable for this purpose.
Instruction Scope
SKILL.md directs running the bundled Python scripts from /root/.openclaw/workspace/skills/openclaw-self-analyzer and the scripts read the OpenClaw install tree and workspace files and write reports and generated hooks. This is expected, but the instructions assume specific root paths and file locations; the analyzer will read many files under the OpenClaw package and may log context contents (generated hooks use console.log), so generated output can contain sensitive data from scanned code or runtime contexts.
Install Mechanism
No install spec or network download; all code is bundled with the skill. There is no external package installation or archive extraction, so install risk is low.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does use hardcoded filesystem paths (e.g., /root/.nvm/.../node_modules/openclaw and /root/.openclaw/workspace) to find and save data, which is consistent with its stated purpose.
Persistence & Privilege
always is false and the skill does not modify other skills or global agent configuration. It writes generated hooks and reports to its workspace area; those files could execute if the user installs them into a running OpenClaw instance, so they should be reviewed before deployment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-self-analyzer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-self-analyzer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of OpenClaw Self Analyzer. - Provides automated architecture analysis and hook point detection for OpenClaw. - Generates hooks and extension packages with customizable logic. - Includes code scanning and comprehensive report generation features. - Supports integration via Python scripts for both hook generation and report output. - Documents OpenClaw pipeline stages and hook types with usage instructions.
元数据
Slug openclaw-self-analyzer
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

OpenClaw Self Analyzer - 自分析工具 是什么?

自动分析OpenClaw架构,检测钩子点,生成钩子代码,扫描代码并生成详细分析报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 373 次。

如何安装 OpenClaw Self Analyzer - 自分析工具?

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

OpenClaw Self Analyzer - 自分析工具 是免费的吗?

是的,OpenClaw Self Analyzer - 自分析工具 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw Self Analyzer - 自分析工具 支持哪些平台?

OpenClaw Self Analyzer - 自分析工具 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw Self Analyzer - 自分析工具?

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

💬 留言讨论