结构化代码审查
autoreview
通过共享的 OpenClaw agent-skills 安装进行结构化代码审查。
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 154
- Forks
- 30
01 前言 Front Matter
- name
- autoreview
- description
- Structured code review through the shared OpenClaw agent-skills installation.
03 SKILL.md 正文
Auto Review
Use the canonical autoreview skill.
Read the complete installed ~/.agents/skills/autoreview/SKILL.md and the references
it requires before reviewing. If installed at another operator-selected location,
use that installation. This repository entrypoint contains no review implementation.
If the skill is missing, reuse or clone https://github.com/openclaw/agent-skills
and run python3 scripts/install-skills autoreview from that checkout. On Windows,
use python; --mode copy is available when symlinks are unavailable.
Run the shared scripts/autoreview helper with Python from the repository being
reviewed, preserving its working directory. Follow this repository's review
requirements in addition to the canonical skill.
For this repository, default to GPT-6.1 Sol with high reasoning and Standard service. Preserve an explicit user-selected engine, model, effort, or service tier. The example below is only for an otherwise-unconfigured Codex route. CLI flags override environment defaults; do not blindly append these flags when a user or operator has selected another value. Apply defaults independently:
- Engine: honor an explicit user choice or
AUTOREVIEW_ENGINE; otherwise Codex. - Model: omit the repository
--modeldefault when an explicit choice,AUTOREVIEW_CODEX_MODEL, orAUTOREVIEW_MODELselects it. - Effort: omit the repository
--thinkingdefault when an explicit choice,AUTOREVIEW_CODEX_THINKING,AUTOREVIEW_THINKING, or an explicit Codexmodel_reasoning_effortconfig override selects it. - Tier: omit
--codex-speed defaultwhen an explicit speed/tier choice,AUTOREVIEW_CODEX_SPEED, or aservice_tieroverride in--codex-config/AUTOREVIEW_CODEX_CONFIGselects it. Preserve that explicit override.
Pass user-selected CLI values as requested; otherwise omit the corresponding flag so the helper can read its supported environment/config setting. Add only missing Codex defaults. For a non-Codex engine, do not project Codex-specific model/effort/tier defaults onto it.
With no such choices or environment overrides, run:
python3 "$HOME/.agents/skills/autoreview/scripts/autoreview" \
--engine codex --model gpt-6.1-sol --thinking high --codex-speed default \
--max-priority P3 --mode local
Use --mode branch --base origin/main for the committed branch review.
Keep shared fixes and instructions upstream in openclaw/agent-skills. Update
the shared checkout once for all symlinked consumers; reinstall copy-mode skills
after updating their source. Do not add repository-local helpers or test copies.
04 同仓库更多 Skills
notes
暂无简介
ClawHub 恶意技能配置提案审核
review-clawhub-profile-proposal
当 OpenClaw 维护者或负责人审核 ClawHub 恶意技能配置提案 PR 时使用:检查 `proposals/<GHSA-ID>/clawscan.yml`、在不泄露的前提下阅读私有漏洞上下文、运行 SkillTrustBench Profile Gate 或等效的本地基准测试、更新已接受的基线,并将通过的候选配置提升到 `internal/profiles/clawhub/clawscan.yml`。
ClawHub 恶意技能上报流程
report-clawhub-malicious-skill
当研究人员、维护者或贡献者在 ClawHub 发现或怀疑恶意技能,且需要走私密上报流程时使用:创建 GitHub 私有漏洞报告、准备仅含提案的 PR、创建 `proposals/<GHSA-ID>/clawscan.yml`、对恶意技能运行 ClawScan,并说明哪些证据应置于私密渠道、哪些应置于公开渠道。
ClawScan CLI 扫描与基准测试
clawscan-cli
用于运行或讲解 ClawScan CLI,包括一次性智能体技能扫描、基准测试运行、扫描器测试夹具(fixtures)、judge harness 命令、环境变量校验,以及解读 clawscan-run-v1 和 clawscan-benchmark-v1 产物。
可疑项检测
suspicious
暂无简介
恶意
malicious
暂无简介