pr-lens

pr-lens is a skill for Claude Code, Codex from jozrftamson/hermes-figma-prompt-hub. It costs 15 tokens per session (2,506 once invoked), scanned A, a copy of pr-lens, MIT.

A tool for turning code changes, system architecture, and data flows into animated SVG diagrams. SVG is a web-friendly image format that can be viewed and shared.

In plain words
What is it for?
Use it to illustrate pull-request changes, architecture, or data flow, and optionally attach the resulting diagram to a GitHub pull request.
Why use it?
It makes the structure and movement of a change easier to understand visually, without treating the diagram as a code review or bug report.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to illustrate pull-request changes, architecture, or data flow, and optionally attach the resulting diagram to a GitHub pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jozrftamson/hermes-figma-prompt-hub/pr-lens
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 jozrftamson/hermes-figma-prompt-hub --skill pr-lens
Clone the repo
git clone --depth 1 https://github.com/jozrftamson/hermes-figma-prompt-hub

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 pr-lens

README.md
[![agentmods](https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/pr-lens/github.svg)](https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/pr-lens)
Your own site
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/pr-lens"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/pr-lens/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 pr-lens

Your own site · 80×15
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/pr-lens"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/pr-lens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,506 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 100% copy Near-identical to another mod 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.00015 $0.02506
Opus 5.5 $0.00006 $0.01002
Sonnet 5.5 $0.00003 $0.00501
Haiku 4.5 $0.00002 $0.00251

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

Security

Grade A, and why

pr-lens 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 12d 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.

Origin

This is a copy

100% identical to pr-lens — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

optional-skills/software-development/pr-lens/SKILL.md · 146 lines

How it starts

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

PR Lens Skill

PR Lens draws code as visually rich animated diagrams: diffs, architecture, data flows. You describe the diff or codebase as one JSON document (lanes, nodes, edges, ordered flows) and the CLI renders it as animated SVGs. There is no findings lens — PR Lens is a comprehension layer, not a review bot. There is no field for a bug, risk, or security note, and a document that invents one is rejected.

When to Use

  • Asked to diagram, visualise, or explain a code change or a system.
  • A pull request should carry an architecture or data-flow diagram.
  • Keywords: PR Lens, diagram, architecture, data flow, visualise, pull request.

Prerequisites

  • Node.js with npx (the CLI runs via npx @coldtea/pr-lens-cli@latest; no install step).
  • gh (GitHub CLI) — optional, only for attaching diagrams to PRs.
  • Optional canvas publishing calls the third-party service prlens.dev (see step 4b).

How to Run

Run all commands with the terminal tool from the repository root.

  1. Read the diff. When representing a code change: git diff --find-renames <base>...<head>. The base is the merge base, not the tip of the base branch. If not expressing a diff, read the code to be visualised.

  2. Write the document to .pr-lens/graph.json, following references/graph-document.md. references/example.graph.json is a valid reference with three lanes, all four delta states, a hero edge, a seven-step flow, a nested drill-down tree and a six-step walkthrough. Read it before writing your first document — quicker than reading the reference.

  3. Validate, and fix.

    npx @coldtea/pr-lens-cli@latest validate .pr-lens/graph.json
    

    Fix every failure and run it again. Do not render an invalid document; do not "work around" a failure by deleting the element it names.

  4. Render.

    npx @coldtea/pr-lens-cli@latest render .pr-lens/graph.json --theme light
    

    Render light by default unless the user requests another theme. The SVGs, the manifest and drawn.graph.json land in .pr-lens/, which the CLI adds to the repository's .gitignore. Do not commit any of it — these files are rebuilt from the diff on demand. Each SVG is named after its view, theme and content hash; manifest.json lists them by lens and view.

Read the full file on GitHub · 146 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 146 lines · 15 tokens per session scan A b11e1eba1f74

Subscribe to this mod's changes

pr-lens is a skill published in the GitHub repository jozrftamson/hermes-figma-prompt-hub (1 stars, last pushed 13d ago), licensed MIT. It adds 15 tokens to every session and 2,506 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to pr-lens, differing in 0 lines, and is treated as a copy.

Related

pr-lens compared with skills from other repositories

pr-lens next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-lensjozrftamson/hermes-figma-prompt-hubSkill113d agoMITA15Claude Code, Codex
code-review-csharppnp/copilot-promptsSkill912todayMITA66Claude Code, Codex
release-pr-reviewcyanheads/obsidian-mcp-serverSkill72119d agoApache-2.0A136Claude Code
code-reviewdevcxl/mattpocock-skills-zhSkill566todayMITA109Claude Code, Codex
review-commitmoonlight-lupin/agent-skillsSkill135yesterdayMITA167Claude Code, Codex
auditpe-menezes/vibeflowSkill345d agoMITA132Claude Code
code-reviewggg123124/vrchat-assistantSkill30yesterdayMITA96Claude Code, Codex