hyper-code-review — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited hyper-code-review (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Code review gate. Calls Codex via codex exec --sandbox read-only - with a code-review prompt template (templates/codex/code-review.md) against a branch diff, uncommitted working-tree changes, or a specific commit; the prompt instructs Codex to run the target git commands itself (read-only sandbox) and review with broadened blast-radius context — not only the literal changed lines. Saves the output to .hyperclaude/code-reviews/<timestamp>-<slug>.md; you read the file and surface the findings.
/hyperclaude:hyper-code-review (with or without an argument)./hyperclaude:hyper-plan-review instead.Invocation argument: $ARGUMENTS
--resume is supported. Paths with spaces are unsupported.
Pre-normalize: if the first token is uncommitted case-insensitively, lowercase it. Then apply:
/^(?:(uncommitted|[0-9a-f]{7,40}|vs\s+[A-Za-z0-9._/][A-Za-z0-9._/-]*))?(?:\s*(--resume)(?:\s+(?!-)(\S+))?)?\s*$/Group 1 = target, Group 2 = --resume token, Group 3 = artifact path. Bare --resume → --resume auto. Empty Group 1 → bridge default (--base main).
For the full regex breakdown, valid/rejected invocation lists, resume identity rules, and per-pattern bridge examples, see references/argv-grammar.md.
Parse $ARGUMENTS with the grammar above. Construct an argv array (NOT a single shell string) to pass to the bridge.
| Pattern | Bridge argv |
|---|---|
| Empty (no argument) | ['code-review', '--base', 'main'] |
Literal uncommitted (case-insensitive, pre-normalized to lowercase) | ['code-review', '--uncommitted'] |
7–40 hex chars matching ^[0-9a-f]{7,40}$ | ['code-review', '--commit', '<sha>'] |
Matches ^vs (.+)$ AND rest passes ^[A-Za-z0-9._/-]+$ | ['code-review', '--base', '<ref>'] |
--resume present (Group 2) | Append ['--resume', <Group 3 or 'auto'>] to above |
| Anything else | Tell the user the contract above, ask them to clarify, STOP. Do NOT fall through to --base <argument> — this is shell-injection-prone and produces bad slug filenames. |
Skip entirely if resuming (Group 2 matched): do NOT compose or pass --background — the bridge rejects it alongside any --resume (mutually exclusive), and the prior context already lives in the Codex thread.
Otherwise, optionally write 1–3 sentences of neutral, descriptive background — what changed, what it touches, author intent. Skip it for a trivial change (just omit --background).
Guardrail: describe only. Never state what to flag, pre-judge or rank findings, or assign severities — background orients Codex on scope, it must not steer conclusions (builder/critic independence).
Pass it shell-safely (free prose may contain quotes / $() / backticks): Write the summary to a file in the session scratchpad — outside the repo, not via echo, no hardcoded literal path — assign its path to BACKGROUND_FILE, then pass --background "$(cat "$BACKGROUND_FILE")". The inner quotes protect the path; the outer "$(...)" makes the contents one argv token. Never inline the prose into the command string.
Use the Bash tool with timeout: 600000. Pass each argument as a separate token — never interpolate user-supplied substrings into a single quoted string.
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-bridge.mjs" code-review <flags from table above> [--resume <Group 3 or 'auto'>] [--background "$(cat "$BACKGROUND_FILE")"]Flag selection follows the dispatch table. If --resume was matched (Group 2), append --resume <value> where <value> is Group 3 if present, otherwise auto. See references/argv-grammar.md for a per-pattern cookbook of fully expanded commands. The optional --background "$(cat "$BACKGROUND_FILE")" token is appended only on a fresh (non-resume) run, following the temp-file recipe in Step 2.
The bridge prints a single JSON line to stdout. Parse it and see the Output contract section below for full details on the JSON structure. In brief:
resumeStatus is resume-failed, note that the prior context could not be used.The bridge prints a single JSON line to stdout:
{"ok":true,"path":"...","slug":"...","threadId":"...","resumeStatus":"..."} — read the review file with the Read tool and present the findings.{"ok":false,"error":"...","path":"...","resumeStatus":"...","threadId":"..."} — surface the error verbatim to the user; do not pretend a review happened. When resumeStatus is resume-failed, note that the prior context could not be used.Code-review files have YAML frontmatter (mode: code-review, slug, generated, plugin-version, codex-version, template-version, git-head, cwd, codex-thread-id (when available), codex-resume-status (one of fresh | resumed | fallback | resume-failed), codex-resumed-from (path when resumed successfully), codex-input-tokens, codex-cached-input-tokens, codex-output-tokens, codex-reasoning-output-tokens (each emitted independently when Codex reported that token field in usage; omitted when Codex did not emit usage), plus either base-ref or commit, and an optional title) followed by a Codex review body (### Findings with Blocker/Major/Minor + ### Verdict). Do not modify the file.
Legacy-artifact resume: code-review --resume requires the prior artifact to carry a template-version matching the current code-review prompt. A legacy artifact from the old native codex exec review path lacks it and is not resumable: --resume auto falls back to a fresh run (codex-resume-status: fallback, stderr note); an explicit --resume <legacy-path> returns {"ok":false,...} with a resume rejected error — surface it verbatim and do not pretend a review happened.
This skill critiques code and diffs. For plan critiques use /hyperclaude:hyper-plan-review.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.