weigh-in

weigh-in is a skill for Claude Code, Codex from brenbuilds1/cutweight. It costs 92 tokens per session (711 once invoked), scanned A, original, MIT.

A skill that measures an agent setup's always-loaded text, including installed skills, startup memory files, and available MCP tool descriptions. It estimates the token count, assigns a weight class, and records a comparison with the previous measurement.

In plain words
What is it for?
Use it before and after removing or changing skills, memory files, or MCP servers, then print and save a receipt of the difference.
Why use it?
It shows how much context an agent consumes before each request, making it easier to see whether a cleanup reduced that cost.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the cutweight plugin — 5 skills shipped together

Good fit Use it before and after removing or changing skills, memory files, or MCP servers, then print and save a receipt of the difference.

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

Made for: Claude Code, Codex.

Or install cutweight, the plugin that ships this one along with the rest of its 5 skills.

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 weigh-in

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brenbuilds1/cutweight/weigh-in"><img src="https://agentmods.dev/badge/skills/brenbuilds1/cutweight/weigh-in.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 711 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.00092 $0.00711
Opus 5 $0.00046 $0.00356
Sonnet 5 $0.00018 $0.00142
Haiku 4.5 $0.00009 $0.00071

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

Security

Grade A, and why

weigh-in 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 10d 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/weigh-in/SKILL.md · 71 lines

How it starts

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

Weigh-In

The scale for your agent. skill-diet finds what to cut; weigh-in tells you what you weigh, before the cut and after it. Step on the scale first, cut, step on it again.

Method

  1. Measure the always-on bill exactly as skill-diet does: installed skills (frontmatter name plus description each), memory files loaded at session start (CLAUDE.md, AGENTS.md, local variants, imports), MCP tool schemas (eager-loaded only; a server you cannot enumerate is unknown, never zero).
  2. Rough tokens for English markdown: characters / 3 on Claude models with the Opus 4.7 tokenizer (Opus 4.7+, Sonnet 5, Fable 5), characters / 3.5 to 4 on older Claude and GPT-style tokenizers. Label estimates.
  3. Read the last card from .cutweight/weigh-ins.md if it exists. Compute the delta.
  4. Print the card. Append it to the log. Never edit old cards.

Weight Classes

Cutweight's own scale, by always-on tokens per message:

class always-on
flyweight under 1,000
lightweight under 3,000
middleweight under 8,000
heavyweight under 20,000
superheavyweight 20,000 and up

The Card

cutweight weigh-in: 2026-07-10
always-on: 7,412 tokens on every message
  skills: 3,509 (27 installed)
  memory files: 3,903
  mcp schemas: ~0 (deferred loading)
class: middleweight
last weigh-in: 9,180 (-19%, was heavyweight)
next cut: the 25-skill plugin billing 2,462 for 4 skills used

Keep the card under 12 lines. It is made to be posted.

Hard Rules

  • The log is append-only. A rewritten history is not a weigh-in.
  • Measured or labeled-estimate numbers only.
  • The card always names the single next cut, or says "at weight" if lean.
  • Never name an agent-maintained memory file (auto-memory index, session memory) as the next cut. Bill it on the card, flag it to its owner. Its lines are the agent's retrieval keys; hand-trimming them breaks recall.
  • A card meant for posting shows counts and categories, never private tool, server, or plugin names. Generalize anything internal before it leaves the machine.
  • Keep .cutweight/ out of version control; the log stays on the machine.
  • Weigh-in changes nothing but its own log. The human does the cutting.

Read the full file on GitHub · 71 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. 10d ago First seen · 71 lines · 92 tokens per session scan A 4686bc31dace

Subscribe to this mod's changes

weigh-in is a skill published in the GitHub repository brenbuilds1/cutweight (2 stars, last pushed 2mo ago), licensed MIT. It adds 92 tokens to every session and 711 once invoked, about $0.0005 per session on Opus 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-08-31.

Related

Other skills, from other repositories

sdd

Execute the Liatrio Spec-Driven Development (SDD) workflow when explicitly invoked by the user. NOTE: this skill is NOT intended to be dynamically loaded or automatically triggered; it should only ever be explicitly called by the user.

liatrio-labs/spec-driven-workflow · 50 tokens

bcc-plan-spar

BCC align+lock+review PLAN.md for one slice (no product code). Slash: /bcc-plan-spar · chat: bcc:plan-spar · "lock PLAN" · spar the plan. Args: rounds=N (auto-review cap), review=self|subagent|cli|auto|off. Grill until clear enough (no default Q&A quota). Hand off to bcc-clean-cut after human APPROVE.

bo-cao/breaking-coding-chaos · 91 tokens

bcc-throughline

BCC global progress cockpit (plans.md/progress.md/findings.md). Slash: /bcc-throughline · chat: bcc:throughline · "where are we" · reprioritize · resume after /clear. Not for coding or full PLAN grill.

bo-cao/breaking-coding-chaos · 56 tokens

bcc-breaking-coding-chaos

BCC main skill: dual-loop coding workflow (throughline → plan-spar → clean-cut) or quick status+next. Slash: /bcc-breaking-coding-chaos · chat: bcc:breaking-coding-chaos · "run BCC" · "BCC status" · "what next BCC". Needs a real idea (1:1 implement). Args: goal text, or status. May pass plan-spar review budget as…

bo-cao/breaking-coding-chaos · 101 tokens

repo-layout

Register, resolve, and validate where a project's path-slots actually live via .layout-slots.yaml markers, so relocating a slot needs zero SKILL.md edits. Do NOT use for single-file lookups.

linkpranay-ai/context-engineering-protocol · 45 tokens

compiling-project-guidelines

Compile scattered guideline sources into one scope-aware COMPILED-GUIDELINES.md for other skills and ult-context-generate's Constraints layer. Do NOT use to enforce rules at runtime.

linkpranay-ai/context-engineering-protocol · 43 tokens