v1.31.0
qualitymeasure-context.js

Context

Everything Claude reads before the first question costs tokens in every session. This page measures that cost with the same script as the release gate and breaks it down so you can see where to cut.

13.979tokens
14.000ceiling
33listed skills
1536description cap

Total against the ceiling

13.979always-loaded tokens
14.000ceiling (ADR-003)
100 %of the ceiling
4chars per token

Breakdown by component

ComponentTokens% of total
Memory (CLAUDE.md + imports)483535 %
Always-loaded rules264219 %
Skill listing478634 %
Agent descriptions171612 %

Always-loaded memory

Files Claude Code loads when opening a session in a project with Ovillo (the consumer CLAUDE.md and its @imports).

FileCharsTokensLevel
CLAUDE.md75571889root
_hilo/ESTADO_PROYECTO.json90862272@import
_hilo/SESION_ACTUAL.md2695674@import

Rules

RuleCharspaths:Always loaded
context-optimization.md2269noyes
developer-branch.md4106noyes
devops-awareness.md4194noyes

Skill listing

Claude sees a listing with the name and description of every model-invocable skill; workflows (disable-model-invocation) are left out. The description is cut at 1536 characters.

Measured, not assumed (ADR-040): the 13 path-scoped skills (paths:) do appear in the listing and are counted here. Until ADR-040 they were counted as 0, on an assumption that turned out to be false when checked against the model: in a directory where nothing matches, it still quotes their description. The sibling assumption does hold, which is why workflows stay out.

33listed skills
55user-only (excluded)
19.145chars
4786tokens
0truncated

No description is truncated.

How to bring the cost down

  • Move layer conventions to path-scoped skills (paths:): they only load when those files are touched.
  • Shorten descriptions below the cap without losing the tokens that fire the evals (measure it with run_eval.py).
  • Reduce the consumer memory: a short CLAUDE.md and @imports only for what is stable.
  • Agents: a one-sentence description with USE FOR / DO NOT; the body costs nothing until it is invoked.
Ovillo v1.31.0tag v1.31.0 (2026-10-06) · sin decisiones posteriores69 skills · 19 agents · 22 hooks · 3 reglas · 15 tools · 103 decisionesfuente: scripts/measure-context.jsCopyright 2026 Hugo Valer Rojas · Apache-2.0