cratis-performance-review

cratis-performance-review is a skill for Claude Code, Codex from Cratis/AI. It costs 39 tokens per session (1,022 once invoked), scanned A, original, MIT.

A focused scalability review guide for changed Cratis applications. It examines costs such as replaying event history, reading data for projections, query shapes, payload sizes, .NET enumeration, and React rendering.

In plain words
What is it for?
Use it to review observers, projections, reducers, reactors, commands, queries, and React screens for performance or scalability problems. It reports findings by risk rather than implementing changes.
Why use it?
It finds design choices that may work on small data but become expensive as history and production data grow. In event sourcing, large or permanent events can increase storage and replay work indefinitely.

Skill for Claude CodeCodex

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

Good fit Use it to review observers, projections, reducers, reactors, commands, queries, and React screens for performance or scalability problems. It reports findings by risk rather than implementing changes.

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

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 cratis-performance-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-performance-review"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-performance-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 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.00039 $0.01022
Opus 5.5 $0.00016 $0.00409
Sonnet 5.5 $0.00008 $0.00204
Haiku 4.5 $0.00004 $0.00102

Measured today against content hash 02f49749fdf9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-performance-review 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.

.cratis/ai/skills/cratis-performance-review/SKILL.md · 92 lines

How it starts

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

Cratis performance review

Most performance findings in a Cratis application are shape problems, not hot-loop problems: a projection that has to re-read, a query that materializes before it filters, a payload nobody uses. They are cheap to fix while the change is open and expensive once data has grown behind them.

Two things make this stack different. A projection must be able to replay the entire history — a cost that is invisible at development volumes and fatal at production ones. And an event is permanent, so an oversized event is a storage and replay cost that never goes away.

Packages covered

Package Purpose
Cratis.Chronicle Observers, projections, reducers, reactors, replay
Cratis.Arc.Core Query return shapes and server-side paging
@cratis/components DataTable paging surface

Paged MongoDB observations re-read page and total on each change; distinguish that cost from the retained set in an unpaged observation.

Reverify against the owning product repository before asserting a framework behavior this file does not already state.

Route near misses

  • General correctness and maintainability: use cratis-code-review. Its performance section is the pass-by list; this skill is the focused one. When both have run, do not restate the same finding twice.
  • Adding paging rather than judging it: use cratis-arc-page-query (in cratis/arc) from cratis/application.
  • Security or data exposure: use cratis-security-review. An over-fetching payload is a finding for both — say which lens produced it.

Inspect the diff

Read the review checklist for Chronicle, store-backed queries, commands, .NET and React. Follow the changed caller path from the data source to the client, and stop a finding where the evidence stops.

Step 6 — Report

Write the report in this order: Blockers, Suggestions, Dismissed (with reason) and Verdict. Write None for empty sections. Include a Not examined: line naming unreviewed surfaces, ranges and checks. For each blocker, give its evidence, concrete consequence and proposed correction. Use Changes requested for a blocker, Incomplete if required evidence is missing without a blocker, Approved with suggestions for non-blocking findings after required checks, and Approved when required checks are complete with no findings. Keep the performance risk label on each finding:

Read the full file on GitHub · 92 lines

Files

What ships with it

2 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. today Changed · -68 lines · -3 tokens per session 02f49749fdf9
  2. 1mo ago Changed · -34 tokens per session fb1b1241b17a
  3. 1mo ago Changed · +1 lines 8ec5dfd77f5b
  4. 1mo ago Changed · +3 lines 52e63d38f8d0
  5. 1mo ago Changed · -2 lines 1350741fcb09
  6. 1mo ago Changed · +3 lines 11195b1efadc
  7. 1mo ago Changed 52f3b8d1a33c
  8. 1mo ago Changed · +13 lines 4feaa903e4c8
  9. 2mo ago Changed · +2 lines 33bbe2d25373
  10. 2mo ago First seen · 140 lines · 76 tokens per session scan A 92c089ca848d

Subscribe to this mod's changes

cratis-performance-review is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,022 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-09-08.

Related

cratis-performance-review compared with skills from other repositories

cratis-performance-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-performance-reviewCratis/AISkill4todayMITA39Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code