review-trajectory

review-trajectory is a skill for Claude Code, Codex from paultyng/skill-issue. It costs 90 tokens per session (1,511 once invoked), scanned A, original, MIT.

A repository-wide review of whether repeated code structures are becoming a reason to consolidate or redesign them. It looks beyond the files changed in the current code change and gives advice rather than modifying the change.

In plain words
What is it for?
Use it when deciding whether to refactor, extract shared code, simplify the architecture, or check for structural drift and repeated implementations.
Why use it?
A normal code review can miss duplication that appears only when the whole repository is considered. This review helps distinguish a one-off repetition from a pattern that may now justify refactoring.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when deciding whether to refactor, extract shared code, simplify the architecture, or check for structural drift and repeated implementations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paultyng/skill-issue/review-trajectory
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 paultyng/skill-issue --skill review-trajectory
Clone the repo
git clone --depth 1 https://github.com/paultyng/skill-issue

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 review-trajectory

README.md
[![agentmods](https://agentmods.dev/badge/skills/paultyng/skill-issue/review-trajectory/github.svg)](https://agentmods.dev/skills/paultyng/skill-issue/review-trajectory)
Your own site
<a href="https://agentmods.dev/skills/paultyng/skill-issue/review-trajectory"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/review-trajectory/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 review-trajectory

Your own site · 80×15
<a href="https://agentmods.dev/skills/paultyng/skill-issue/review-trajectory"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/review-trajectory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,511 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.00090 $0.01511
Opus 5.5 $0.00036 $0.00604
Sonnet 5.5 $0.00018 $0.00302
Haiku 4.5 $0.00009 $0.00151

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

Security

Grade A, and why

review-trajectory 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 14d 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.

skills/review-trajectory/SKILL.md · 129 lines

How it starts

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

Trajectory Review

Answer one question: is this diff the point at which consolidating some structural axis of the repository becomes worth doing? The answer rests on a count of members across the whole tree and on whether those members change together in git history. The diff under review is usually clean. It only decides which axes to examine first.

The output is advisory. It describes separate work, shaped as a backlog item.

Why this reviewer exists

Every other reviewer reports defects in changed files. A third entrypoint that copies the existing two passes all of them: it conforms, it abstracts nothing, and the duplication it adds is an explicit false-positive guard in review-code/reference-architecture.md. The signal is the count, and a reviewer scoped to changed files cannot count past one.

So this reviewer is anti-scoped: it reads the members the diff never touches. Findings concern the repository, not the resolved file list.

What a good finding is

One axis from reference-census-axes.md, with:

  • the members, enumerated by path, and the enumeration you actually ran;
  • the count against the threshold you applied, and why that threshold;
  • a co-change ratio as numerator and denominator over a stated commit range (2/3 = 0.67 and 40/60 = 0.67 carry different confidence);
  • each member's introduction position as a percentile of history in commits;
  • what count and coupling mean together, and the cost of consolidating now against the cost after the axis grows at its current rate;
  • a follow-up that names the shape of consolidation. Three entrypoints can collapse into one with a mode flag, share a bootstrap helper, or lose two of the three. "Extract an abstraction" is not a shape.

Evidence is counted members and actual git history. An impression that "this looks duplicated" is not a finding. A verdict without counts is an opinion, per ~/.claude/rules/probe-not-assume.md.

Verdicts

Verdict Meaning
NOT YET Below threshold. The default. State the count and the distance to the threshold so the next run has a baseline.
NOT COUPLED At or above threshold, ratio under 0.2. Independent histories mean independent things. Recommend nothing.
TIPPING This diff crossed the threshold, ratio 0.5 or higher.
OVERDUE Threshold crossed before this diff, ratio 0.5 or higher, members clustering in recent history. Rank below an axis this diff tipped.

Read the full file on GitHub · 129 lines

Files

What ships with it

1 file 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. 14d ago Changed · -38 lines 7450bfd2e1da
  2. 1mo ago First seen · 167 lines · 90 tokens per session scan A c8b2bcc724db

Subscribe to this mod's changes

review-trajectory is a skill published in the GitHub repository paultyng/skill-issue (8 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 1,511 once invoked, about $0.0004 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-10-17.

Related

review-trajectory compared with skills from other repositories

review-trajectory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-trajectorypaultyng/skill-issueSkill8todayMITA90Claude Code, Codex
deep-reviewulises-jeremias/agent-toolkitSkill28todayMITA57Claude Code
gh-address-commentsulises-jeremias/agent-toolkitSkill28todayMITA51Claude Code
deslopulises-jeremias/agent-toolkitSkill28todayMITA14Claude Code
pr-alignment-loopnikships/skills-registrySkill251mo agoApache-2.0A122Claude Code, Codex
blind-spot-passemaraschio/cursor-commandsSkill915d agoMITA138Claude Code, Cursor
merge-open-prsemaraschio/cursor-commandsSkill915d agoMITA65Claude Code, Cursor