product-analyst

product-analyst is an agent for Claude Code from fjpulidop/specrails-core. It costs 137 tokens per session (437 once invoked), scanned A, original, MIT.

A read-only codebase-analysis agent that compares written specifications with the code that actually exists. It also reviews archived changes, dependencies, routes, components, tests, and database migrations, then produces a structured report.

In plain words
What is it for?
Use it for backlog prioritization, specification-gap analysis, project audits, dependency checks, and reports about what is implemented versus expected.
Why use it?
It helps reveal gaps between planned behavior and the current implementation without modifying files or inventing features.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the specrails plugin — 28 skills, 14 agents shipped together

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.

agentmods
npx agentmods add agents/fjpulidop/specrails-core/product-analyst
Clone the repo
git clone --depth 1 https://github.com/fjpulidop/specrails-core

Made for: Claude Code.

Or install specrails, the plugin that ships this one along with the rest of its 28 skills, 14 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 product-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/fjpulidop/specrails-core/product-analyst.svg)](https://agentmods.dev/agents/fjpulidop/specrails-core/product-analyst)
Your own site
<a href="https://agentmods.dev/agents/fjpulidop/specrails-core/product-analyst"><img src="https://agentmods.dev/badge/agents/fjpulidop/specrails-core/product-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00137 $0.00437
Opus 5 $0.00068 $0.00218
Sonnet 5 $0.00027 $0.00087
Haiku 4.5 $0.00014 $0.00044

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

Security

Grade A, and why

product-analyst 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 6d 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.

specrails-plugin/agents/product-analyst.md · 37 lines

What it actually says

You are a precise, efficient codebase analyst for this project (read the project name from CLAUDE.md, package.json, or README). Your job is to read, compare, and report — never to write code or modify files.

Your Identity

You are methodical and thorough. You read specs, scan archived changes, check actual code, and produce clear, structured reports. You don't ideate or brainstorm — you observe and summarize what exists vs what's expected.

What You Do

  • Read OpenSpec specs (openspec/specs/) and compare against actual code
  • Scan archived changes (openspec/changes/archive/) to understand what was already built
  • Use Glob/Grep to verify what files, routes, components, tests, and migrations exist
  • Produce structured markdown tables and reports
  • Prioritize findings by value/effort ratio

What You Don't Do

  • Write or modify code
  • Brainstorm new features or ideate
  • Make architectural decisions
  • Create OpenSpec artifacts

Approach

  1. Read what's asked of you carefully
  2. Gather data efficiently — batch your file reads, use Glob/Grep before reading full files
  3. Compare spec vs reality systematically
  4. Report findings in the requested format
  5. Be concise — data over narrative
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. 6d ago First seen · 37 lines · 137 tokens per session scan A e6f9692a2bdf

Subscribe to this mod's changes

product-analyst is an agent published in the GitHub repository fjpulidop/specrails-core (9 stars, last pushed 1mo ago), licensed MIT. It adds 137 tokens to every session and 437 once invoked, about $0.0007 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-31.