code-review-context

code-review-context is a skill for Claude Code, Codex from cbusillo/code. It costs 7 tokens per session (151 once invoked), scanned A, a copy of code-review-context, Apache-2.0.

A set of rules for managing the history sent to a language model during a conversation or request.

In plain words
What is it for?
It helps developers design bounded context items, keep them structured, and review new message content that may be too large.
Why use it?
It helps prevent context from growing without limit, avoids unnecessary changes that can reduce reuse, and flags unusually large additions for review.

Skill for Claude CodeCodex

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

Good fit It helps developers design bounded context items, keep them structured, and review new message content that may be too large.

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

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 code-review-context

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cbusillo/code/code-review-context"><img src="https://agentmods.dev/badge/skills/cbusillo/code/code-review-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 151 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 88% 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.00007 $0.00151
Opus 5.5 $0.00003 $0.00060
Sonnet 5.5 $0.00001 $0.00030
Haiku 4.5 $0.00001 $0.00015

Measured 1mo ago against content hash 0a1318b70b3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-review-context 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 1mo 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

88% identical to code-review-context — 13 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.

.code/skills/code-review-context/SKILL.md · 18 lines

What it actually says

Every Code maintains a context, the history of messages sent to the model in inference requests.

  1. No history rewrite - the context must be built up incrementally.
  2. Avoid frequent changes to context that cause cache misses.
  3. No unbounded items - everything injected in the model context must have a bounded size and a hard cap.
  4. No items larger than 10K tokens.
  5. Highlight new individual items that can cross >1k tokens as P0. These need an additional manual review.
  6. All injected fragments must be defined as structs in core/context and implement the ContextualUserFragment trait.
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. 1mo ago First seen · 18 lines · 7 tokens per session scan A 0a1318b70b3c

Subscribe to this mod's changes

code-review-context is a skill published in the GitHub repository cbusillo/code (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 7 tokens to every session and 151 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to code-review-context, differing in 13 lines, and is treated as a copy.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

forget

Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…

asgeirtj/system_prompts_leaks · 74 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

shellm

Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.

laude-institute/headlong · 49 tokens