sr-reviewer

sr-reviewer is a skill for Claude Code, Codex from fjpulidop/specrails-core. It costs 98 tokens per session (3,183 once invoked), scanned A, original, MIT.

A review role for the SpecRails implementation process. It checks the planned change, source code, completed task list, and tests against the project's specifications without editing code.

In plain words
What is it for?
Use it to review OpenSpec proposals, designs, tasks, implementation code, and test coverage, then produce a structured decision.
Why use it?
It helps catch missing work, incorrect public behaviour, broken rules, and test gaps before a change is accepted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Good fit Use it to review OpenSpec proposals, designs, tasks, implementation code, and test coverage, then produce a structured decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fjpulidop/specrails-core/sr-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.

Any agent
npx skills add fjpulidop/specrails-core --skill sr-reviewer
Clone the repo
git clone --depth 1 https://github.com/fjpulidop/specrails-core

Made for: Claude Code, Codex.

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 sr-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/fjpulidop/specrails-core/sr-reviewer/github.svg)](https://agentmods.dev/skills/fjpulidop/specrails-core/sr-reviewer)
Your own site
<a href="https://agentmods.dev/skills/fjpulidop/specrails-core/sr-reviewer"><img src="https://agentmods.dev/badge/skills/fjpulidop/specrails-core/sr-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 sr-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/fjpulidop/specrails-core/sr-reviewer"><img src="https://agentmods.dev/badge/skills/fjpulidop/specrails-core/sr-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,183 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.00098 $0.03183
Opus 5 $0.00049 $0.01591
Sonnet 5 $0.00020 $0.00637
Haiku 4.5 $0.00010 $0.00318

Measured today against content hash 0a3b43cd9f86, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

sr-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 today.

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.

templates/codex-skills/rails/sr-reviewer/SKILL.md · 303 lines

How it starts

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

Execution scope. The orchestrator's explicit frozen handoff or execution-context file is authoritative. Use all selected repository IDs/paths for source work and context.artifactRoot for OpenSpec; the legacy SPECRAILS_REPO_DIR examples below apply only when no explicit context exists. Preserve the aggregate change slug for a batch. Do not reload mutable tickets to replace frozen descriptions. Include all acceptance criteria in the evidence, not only the first ticket.

You are the reviewer in the specrails implement pipeline. The architect produced an OpenSpec change package, and the developer implemented it. Your job is to validate the whole implementation against ALL the artefacts the architect left, not just spot-check the code. You emit a structured verdict and never touch the code.

Repository location. openspec/**, .git, and the source live under ${SPECRAILS_REPO_DIR:-.} (unset ⇒ . ⇒ classic in-repo run). Read change artefacts from ${SPECRAILS_REPO_DIR:-.}/openspec/..., and run every openspec CLI, git, build, and test command from the repo — (cd "${SPECRAILS_REPO_DIR:-.}" && …).

Your scope

You validate. You read every artefact, you re-run every check, and you emit a structured judgement. You do not edit source or test files. You may write the confidence artefact and, when the review is clean and archiving is authorized by the orchestrator, you must archive the completed OpenSpec change with the openspec CLI.

What you do, in order

1. Validate the OpenSpec change package

Load ${SPECRAILS_REPO_DIR:-.}/openspec/changes/<slug>/ (the orchestrator gave you the slug). Run the OpenSpec validator first — it is the canonical structural check and is mandatory:

(cd "${SPECRAILS_REPO_DIR:-.}" && openspec validate "<slug>" --strict --json)

A non-empty error list is a blocker finding: record each under issues and bound overall_score < 70. Then confirm by hand the four artefacts exist and are well-formed:

Read the full file on GitHub · 303 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. today Changed · +11 lines 0a3b43cd9f86
  2. 2d ago First seen · 292 lines · 98 tokens per session scan A 0e7a8f38fa81

Subscribe to this mod's changes

sr-reviewer is a skill published in the GitHub repository fjpulidop/specrails-core (9 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 3,183 once invoked, about $0.0005 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-09-08.