← 返回 Skills 市场
michealxie001

OpenClaw Code Review

作者 michealxie001 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
98
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-code-review
功能描述
Automated code review assistant. Analyzes code changes, PRs, and files for quality issues, best practices, security concerns, and style violations. Provides...
安全使用建议
Things to check before installing/using: - Inspect the rest of scripts/analyzer.py (the file was truncated in the bundle you provided). Look specifically for any of: network libraries (requests, urllib, socket, http.client, ftplib), subprocess or os.system calls that call curl/wget/nc, hardcoded remote endpoints, base64/exec/eval of downloaded data, or code that reads files outside the repository (e.g., /etc, home directory). If any are present, treat as high risk. - Confirm there are no commands that automatically POST or upload review reports to an external server (search for 'http', 'https', 'upload', 'post', 'requests', 'urllib', 'socket'). The roadmap mentions "PR 评论自动发布" but that feature is not implemented in SKILL.md; ensure it isn't implemented hidden in analyzer.py. - Since the tool reads repository files, avoid running it on repos that contain secrets or production credentials until you've verified it does not exfiltrate data. Run it first on a disposable/sandbox repo. - Because there's no source/homepage or owner reputation, prefer to run the code in a restricted environment (container or ephemeral VM) and/or vendor-lock it into your CI (so you control when it runs and which files it can access). - If you plan to add the pre-commit hook or CI workflow, update the hook path and review the hook/CI snippet to ensure it doesn't accidentally write credentials or outputs to public artifacts. Consider limiting the tool's scope (file globs) so it doesn't scan sensitive directories. - If you want higher assurance, ask the publisher for the full repository or verify with a reproducible build. If you cannot obtain the rest of analyzer.py source, do not run this on sensitive projects. If you share the full contents of scripts/analyzer.py (unsuppressed), I can re-check for network calls, obfuscated code, and any other red flags and raise the confidence of this assessment.
功能分析
Type: OpenClaw Skill Name: openclaw-code-review Version: 1.0.0 The code-review skill bundle is a legitimate static analysis tool designed to identify quality, style, and security issues in Python and JavaScript code. It uses standard libraries (ast, re, subprocess) to perform checks for cyclomatic complexity, hardcoded secrets, and dangerous functions like eval(), and integrates with local Git commands to analyze staged changes or specific commits (scripts/analyzer.py, scripts/main.py). No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description, SKILL.md commands, and the two Python scripts (main.py and analyzer.py) are coherent: they implement a local code review tool (file/staged/commit/diff) and Git integration. No unexpected services or credentials are requested.
Instruction Scope
SKILL.md instructs the agent/user to run the bundled scripts against repo files, staged changes, or commits — that matches the main.py behavior. This necessarily gives the tool read access to repository files (expected), and SKILL.md suggests adding hooks/CI calls that will run the script in CI. However analyzer.py source in the submission was truncated, so I couldn't fully verify it doesn't read unrelated system files or transmit data externally.
Install Mechanism
No install spec and no external downloads; this is an instruction+script bundle that runs as a local Python program. That is low risk compared to bundles that fetch remote code.
Credentials
The skill declares no required env vars or credentials and main.py/analyzer.py (visible portions) do not reference secrets or external credentials. The tool will read repository files (normal for a linter/analyzer).
Persistence & Privilege
always:false and user-invocable; the skill does not request persistent platform privileges. The SKILL.md suggests placing a pre-commit hook or CI step (user action) — normal for this category.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-code-review
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-code-review 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Automated code review with AST analysis, security detection, and Git integration
元数据
Slug openclaw-code-review
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

OpenClaw Code Review 是什么?

Automated code review assistant. Analyzes code changes, PRs, and files for quality issues, best practices, security concerns, and style violations. Provides... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。

如何安装 OpenClaw Code Review?

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

OpenClaw Code Review 是免费的吗?

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

OpenClaw Code Review 支持哪些平台?

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

谁开发了 OpenClaw Code Review?

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

💬 留言讨论