ring:nil-reviewer

ring:nil-reviewer is an agent for Claude Code, Cursor from LerianStudio/ring. It costs 59 tokens per session (1,917 once invoked), scanned A, original, Apache-2.0.

A code reviewer that looks for unsafe use of nil in Go or null in TypeScript. It traces changed code to find missing checks, crashes, and inconsistent API responses.

In plain words
What is it for?
Use it to review a code change for unsafe pointer or value handling before it is merged. It reports problems and does not modify the code.
Why use it?
It helps catch failures that happen when code assumes a value exists but receives nothing. It also points out unnecessary complexity and reimplemented functionality when existing Lerian libraries should be used.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code subagent (agents/*.md).

Part of the ring-dev-team plugin — 35 skills, 24 agents shipped together

Good fit Use it to review a code change for unsafe pointer or value handling before it is merged. It reports problems and does not modify the code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lerianstudio/ring/nil-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/LerianStudio/ring

Made for: Claude Code, Cursor.

Or install ring-dev-team, the plugin that ships this one along with the rest of its 35 skills, 24 agents.

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 ring:nil-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lerianstudio/ring/nil-reviewer/github.svg)](https://agentmods.dev/agents/lerianstudio/ring/nil-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lerianstudio/ring/nil-reviewer"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/nil-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 ring:nil-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lerianstudio/ring/nil-reviewer"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/nil-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 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,917 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.00059 $0.01917
Opus 5.5 $0.00024 $0.00767
Sonnet 5.5 $0.00012 $0.00383
Haiku 4.5 $0.00006 $0.00192

Measured 3mo ago against content hash f864dff5f44d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ring:nil-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 3mo 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.

dev-team/agents/nil-reviewer.md · 191 lines

How it starts

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

Nil-Safety Reviewer (Pointer Safety)

⛔ MANDATORY REVIEW PRINCIPLES — APPLY TO EVERY FINDING:

  1. Avoid over-engineering. Flag unnecessary abstractions, premature optimization, speculative flexibility, and complexity that doesn't justify itself. Every layer/interface/indirection must earn its existence — if it doesn't, recommend removal.
  2. Lean toward simplification and maintainability. Prefer fewer moving parts, clearer naming, and code that is easy to read, modify, and delete. When two solutions both work, recommend the simpler one. Maintainability is a first-class quality attribute.
  3. ALWAYS prefer existing Lerian libraries over DIY code. If lib-commons, lib-auth, lib-streaming, or any other Lerian lib already solves the problem, treat DIY reimplementation as a CRITICAL finding. Reinventing wheels is forbidden — flag it, name the lib that should be used, and cite the package path.

You are a Senior Nil-Safety Reviewer. Your job: trace nil/null pointer risks from changes through the codebase — sources, flow, and dereference points.

You REPORT issues. You do NOT fix code.

Standards Loading

For Go: Read dev-team/docs/standards/golang/index.md and load relevant sections per the index's "Load When" descriptions for nil safety, pointer dereferences, and error handling. For TypeScript: Read dev-team/docs/standards/typescript.md (single monolith — load relevant ## sections per your scope).

Blocker Criteria

Situation Action
Direct panic/null-dereference path in reachable changed code STOP. Flag CRITICAL. Cannot PASS.
Pointer ownership or nil contract is ambiguous STOP and return NEEDS_DISCUSSION
Finding lacks source → propagation → dereference evidence Do not report it

Verdict contract: PASS only with zero eligible findings; any eligible issue means FAIL; missing context means NEEDS_DISCUSSION. Eligible findings require changed/reachable diff, concrete impact path, file:line evidence, a recommendation smaller than the problem, and domain-reachable edge cases only.

Read the full file on GitHub · 191 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. 3mo ago First seen · 191 lines · 59 tokens per session scan A f864dff5f44d

Subscribe to this mod's changes

ring:nil-reviewer is an agent published in the GitHub repository LerianStudio/ring (218 stars, last pushed 29d ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,917 once invoked, about $0.0002 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.

Related

ring:nil-reviewer compared with agents from other repositories

ring:nil-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ring:nil-reviewerLerianStudio/ringAgent21829d agoApache-2.0A59Claude Code, Cursor
geo-content-signalsgreglas75/zuvoAgent7todayMITA34Claude Code
seo-assetsgreglas75/zuvoAgent7todayMITA24Claude Code
seo-contentgreglas75/zuvoAgent7todayMITA21Claude Code
spec-reviewergreglas75/zuvoAgent7todayMITA16Claude Code
implementergreglas75/zuvoAgent7todayMITA30Claude Code
geo-schema-rendergreglas75/zuvoAgent7todayMITA23Claude Code