← Back to Skills Marketplace
373
Downloads
1
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-self-analyzer
Description
自动分析OpenClaw架构,检测钩子点,生成钩子代码,扫描代码并生成详细分析报告。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-self-analyzer - After installation, invoke the skill by name or use
/openclaw-self-analyzer - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is OpenClaw Self Analyzer - 自分析工具?
自动分析OpenClaw架构,检测钩子点,生成钩子代码,扫描代码并生成详细分析报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 373 downloads so far.
How do I install OpenClaw Self Analyzer - 自分析工具?
Run "/install openclaw-self-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Self Analyzer - 自分析工具 free?
Yes, OpenClaw Self Analyzer - 自分析工具 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does OpenClaw Self Analyzer - 自分析工具 support?
OpenClaw Self Analyzer - 自分析工具 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Self Analyzer - 自分析工具?
It is built and maintained by fofo365 (@fofo365); the current version is v1.0.0.
More Skills