원클릭으로
autoreview
Autoreview closeout: local dirty changes, PR branch vs main, parallel tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Autoreview closeout: local dirty changes, PR branch vs main, parallel tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Official ASI "Hakua" Auditory & Physical Actuator Substrate
Use Hypura Harness voice input and output tools for local mic, WAV transcription, VOICEVOX playback, and Desktop Companion voice turns.
Use Hypura Harness tools to inspect and safely control the user's currently worn VRChat published avatar through its generated OSC JSON and approved action profile.
Use the OpenClaw LINE channel safely for webhook setup, group routing, rich replies, and runtime diagnosis.
Operate the Local Voice plugin for local STT, VOICEVOX TTS, camera capture, and VRChat OSC speaking cues.
Use the OpenClaw Telegram channel safely for polling or webhook setup, group routing, mention gating, and runtime diagnosis.
| name | autoreview |
| description | Autoreview closeout: local dirty changes, PR branch vs main, parallel tests. |
Run Codex's built-in code review as a closeout check. This is code review (codex review), not Guardian auto_review approval routing.
Codex native review mode performs best and is recommended. Non-Codex reviewers are fallback/second-opinion paths that receive a generated diff prompt, not the full Codex review-mode runtime.
Use when:
claude -p, pi -p, opencode run, droid exec, or copilot. Prefer Codex for final closeout because it uses native review mode; non-Codex reviewers use a Codex-inspired generated diff prompt. The helper runs nested Codex review in yolo/full-access mode by default; use --no-yolo only when intentionally testing sandbox behavior.codex review just to get a nicer "clean" line, a second opinion, or clearer closeout wording.OPENCLAW_TESTBOX=1 or AUTOREVIEW_OPENCLAW_MAINTAINER_VALIDATION=1). A review pass may inspect files and run cheap non-Node probes, but it must not start local pnpm, Vitest, tsgo, npm test, or node scripts/run-vitest.mjs from a Codex/worktree review unless the operator explicitly requested local proof. For runtime proof, use existing evidence or route through Crabbox/Testbox and report the id. Do not apply this rule to ordinary contributors who do not have maintainer Testbox access.Dirty local work:
codex review --uncommitted
Use this only when the patch is actually unstaged/staged/untracked in the
current checkout. For committed, pushed, or PR work, point Codex at the commit
or branch diff instead; do not force --mode local / --uncommitted just
because the helper docs mention dirty work first. A clean --uncommitted review
only proves there is no local patch.
Branch/PR work:
git fetch origin
codex review --base origin/main
Do not pass any prompt with --base. Some Codex CLI versions reject both inline
and stdin prompt forms, including the helper's codex review --base <ref> -,
with --base <BRANCH> cannot be used with [PROMPT]. If the helper hits this
error, run plain codex review --base <ref> and report that the helper prompt
injection was skipped.
If an open PR exists, use its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
codex review --base "origin/$base"
Committed single change:
codex review --commit HEAD
or with the helper:
.agents/skills/autoreview/scripts/autoreview --mode commit --commit HEAD
Use commit review for already-landed or already-pushed work on main. Reviewing
clean main against origin/main is usually an empty diff after push. For a
small stack, review each commit explicitly or review the branch before merging
with --base.
Format first if formatting can change line locations. Then it is OK to run tests and review in parallel:
.agents/skills/autoreview/scripts/autoreview --parallel-tests "<focused test command>"
Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain. Once that rerun exits cleanly, stop; do not spend another long review cycle on redundant confirmation.
Codex review is usually noisy. Default to a subagent filter when subagents are available. Ask it to run the review and return only:
Run inline only for tiny changes or when subagents are unavailable.
Bundled helper:
.agents/skills/autoreview/scripts/autoreview --help
The helper:
--uncommitted firstgh pr view worksorigin/main for non-main branchesPNPM_CONFIG_PM_ON_FAIL=ignore PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN=false PNPM_CONFIG_OFFLINE=true pnpm run check in parallel when a repo has package.json, pnpm-lock.yaml, node_modules, and a check script; disable with AUTOREVIEW_AUTO_TESTS=0--mode commit --commit <ref> for already-committed work, especially clean main after landing--mode auto or forced to --mode branch for PR/branch work; do not force --mode local after committing--reviewer codex|claude|pi|opencode|droid|copilot|auto; auto means Codex first--fallback-reviewer auto|claude|pi|opencode|droid|copilot|none; default is configured CLI fallback--output or AUTOREVIEW_OUTPUT is set--dry-run, --parallel-tests, and commit refs--dangerously-bypass-approvals-and-sandbox --sandbox danger-full-access by defaultOPENCLAW_TESTBOX=1 or AUTOREVIEW_OPENCLAW_MAINTAINER_VALIDATION=1, so local memory-heavy Node/Vitest checks are avoided in favor of Crabbox/Testbox proof--base plus the helper's stdin prompt; on that exact parser error, rerun plain codex review --base <ref> instead of falling back to a non-Codex reviewer--full-access; use --no-yolo or AUTOREVIEW_YOLO=0 to opt outCODEX_REVIEW_* env vars when the matching AUTOREVIEW_* var is unsetautoreview clean: no accepted/actionable findings reported when the selected review command exits 0Include:
Do not run another Codex review solely to improve the final report wording. If the final helper run exited 0 and produced no accepted/actionable findings, report that exact run as clean.
gh run view <run-id> --json jobs; use PR rollup only for final mergeability.origin/main..HEAD; drop CI-fix commits already upstream before pushing.