night-reviewer

night-reviewer is an agent for Claude Code 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 Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter; mentions Claude Code; runs codex exec.

Part of the lane-stack plugin — 62 skills, 4 commands, 24 agents, 1 MCP server 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.

Or install lane-stack, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 24 agents, 1 MCP server.

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.5 $0.00011 $0.00502
Sonnet 5.5 $0.00005 $0.00251
Haiku 4.5 $0.00003 $0.00126

Measured 1mo ago against content hash 302a6d4dde5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo ago Changed 302a6d4dde5c
  2. 1mo 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 (124 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 1,256 once invoked, about $0.0001 per session on Opus 5.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.