night-reviewer

night-reviewer is an agent for Claude Code, Codex from VKirill/claude-lane-stack. It costs 27 tokens per session (1,256 once invoked), scanned A, original, MIT.

A read-only reviewer that checks a task, specification, branch, or nighttime work against a chosen base commit.

In plain words
What is it for?
Use it to review task-scoped changes, compare an entire branch with its base, or inspect uncommitted work against project requirements.
Why use it?
It provides an independent review step without allowing the reviewer to modify the project.

Agent for Claude CodeCodex

Written for Claude Code and Codex: background in frontmatter, but also runs codex exec. Also seen: model in frontmatter; mentions Claude Code; mentions Codex.

Part of the lane-stack plugin — 53 skills, 4 commands, 17 agents, 1 hook shipped together

Good fit Use it to review task-scoped changes, compare an entire branch with its base, or inspect uncommitted work against project requirements.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vkirill/claude-lane-stack/night-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Made for: Claude Code, Codex.

Or install lane-stack, the plugin that ships this one along with the rest of its 53 skills, 4 commands, 17 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for night-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/night-reviewer/github.svg)](https://agentmods.dev/agents/vkirill/claude-lane-stack/night-reviewer)
Your own site
<a href="https://agentmods.dev/agents/vkirill/claude-lane-stack/night-reviewer"><img src="https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/night-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for night-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/vkirill/claude-lane-stack/night-reviewer"><img src="https://agentmods.dev/badge/agents/vkirill/claude-lane-stack/night-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01256
Opus 5 $0.00014 $0.00628
Sonnet 5 $0.00005 $0.00251
Haiku 4.5 $0.00003 $0.00126

Measured 4d ago against content hash 302a6d4dde5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

night-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lane-stack/agents/night-reviewer.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

night-reviewer (canonical conveyor role)

Function name, not the adoc daytime writer. Implementation shell-out may be Codex CLI.

Model + effort (token-aware)

Mode Model Effort
default task / night chunk gpt-5.6-sol high
only if CODEX_REASONING=xhigh or PM escalate gpt-5.6-sol xhigh

Uses the installed night-review Codex profile (read-only, approval_policy=never). Never Terra/Luna/5.5 for review. See docs/decisions/ADR-codex-effort.md.

Inputs

PROJECT_CWD, BASE_REF (base commit of the run/worktree; required), optional TASK_FILE, ARTIFACT_DIR, MODE = task|spec|branch

Run — prefer native codex review (CLI ≥0.147)

Codex ships a first-class review path:

  • Interactive / shell: codex review --base <branch> / --commit <sha> / --uncommitted
  • Headless: codex exec review … (same flags)

Prefer native review when MODE=branch or there is no task YAML (whole-tree delta against BASE_REF). Use the custom SPEC path below when MODE=task|spec so owns_paths / task contract stay in scope.

Instructions file (custom path): ~/.agents/codex/instructions/reviewer.md

A) Native branch review (default when no TASK_FILE)

export PATH="$HOME/.agents/bin:$PATH"
cd "$PROJECT_CWD"
mkdir -p "$ARTIFACT_DIR"
FINAL="$ARTIFACT_DIR/codex-last-message.txt"
# Prefer lane-exec so long reviews survive Claude Bash ~2m FG limit
# `codex exec review` flags are a subset of `codex exec` (no -p/-C/--sandbox).
# Force night-review policy via -c; run from PROJECT_CWD.
lane-exec --idle 900 --max 5400 --label codex-review \
  --log "$ARTIFACT_DIR/lane-exec.log" \
  -- codex exec review \
    --model gpt-5.6-sol \
    -c model_reasoning_effort="${CODEX_REASONING:-high}" \
    -c approval_policy="never" \
    -c sandbox_mode="read-only" \
    --skip-git-repo-check \
    --ephemeral \
    --base "$BASE_REF" \
    --output-last-message "$FINAL" \
  > "$ARTIFACT_DIR/lane-final.log" 2>&1
echo CODEX_EXIT=$? >> "$ARTIFACT_DIR/lane-final.log"

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed 302a6d4dde5c
  2. 9d ago First seen · 121 lines · 27 tokens per session scan A 45b704392f76

Subscribe to this mod's changes

night-reviewer is an agent published in the GitHub repository VKirill/claude-lane-stack (115 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 1,256 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

afc-architect

Architecture analysis agent — invoked during plan phase for ADR recording and review phase for architecture compliance checks. Remembers ADR decisions and architecture patterns across sessions to provide consistent design guidance.

jhlee0409/all-for-claudecode · 39 tokens

afc-pr-analyst

PR deep analysis worker — invoked during /afc:triage for deep PR verification. Performs build/test/lint verification in an isolated worktree for triage.

jhlee0409/all-for-claudecode · 40 tokens

afc-security

Security scanning agent — invoked during review phase for security vulnerability scanning. Remembers vulnerability patterns and project-specific security characteristics across sessions to improve scan precision.

jhlee0409/all-for-claudecode · 33 tokens

ai_slop_reviewer

Expert code auditor that detects AI-generated code quality defects, hallucinated patterns, and structural anti-patterns across any codebase.

ZaxbyHub/opencode-swarm · 31 tokens

java-reviewer

Expert Java and Spring Boot code reviewer specializing in layered architecture, JPA patterns, security, and concurrency. Use for all Java code changes. MUST BE USED for Spring Boot projects.

loulanyue/awesome-claude-notes · 40 tokens

pr-reviewer

State-of-the-art QA & security reviewer for PRs in the opencode-swarm plugin. Reconstructs intent, verifies implementation, and hunts for defects, security issues, and shipped-vs-claimed mismatches. Operates read-only. Never approves without positive evidence. Never invents repository facts.

ZaxbyHub/opencode-swarm · 65 tokens