cutweight-weigh

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

A measurement tool for an AI coding setup. It counts the context used by installed skills, startup memory files, and connected tool descriptions, then records a before-and-after comparison.

In plain words
What is it for?
Use it to weigh an agent setup, compare it before and after cleanup, and save a shareable weight record.
Why use it?
It shows how much of each request is occupied by setup information, so you can tell whether trimming the setup reduced that overhead.

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 — 4 skills shipped together

Good fit Use it to weigh an agent setup, compare it before and after cleanup, and save a shareable weight record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brenbuilds1/cutweight/cutweight-weigh
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 cutweight-weigh
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 4 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 cutweight-weigh

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brenbuilds1/cutweight/cutweight-weigh"><img src="https://agentmods.dev/badge/skills/brenbuilds1/cutweight/cutweight-weigh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 717 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.00093 $0.00717
Opus 5.5 $0.00037 $0.00287
Sonnet 5.5 $0.00019 $0.00143
Haiku 4.5 $0.00009 $0.00072

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

Security

Grade A, and why

cutweight-weigh 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 23d 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/cutweight-weigh/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. cutweight-diet finds what to cut; cutweight-weigh 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 cutweight-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. 23d ago First seen · 71 lines · 93 tokens per session scan A a65bb1a5e1da

Subscribe to this mod's changes

cutweight-weigh is a skill published in the GitHub repository brenbuilds1/cutweight (3 stars, last pushed 10d ago), licensed MIT. It adds 93 tokens to every session and 717 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-09-23.

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

prp-manager

Plan and implement features with PRPs (Product Requirements Prompts), implementation blueprints that give an AI coding agent the requirements, codebase context and validation steps to build a feature in one pass. Use this skill when the user wants to plan, spec or scope a feature before coding it, asks for an…

willywg/prp-manager · 122 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

cep-wizard

Launch a local, localhost-only browser wizard with two journeys — layout onboarding for a project with ult-repo-layout installed, initialized or not — guides an uninitialized or not-yet-discovered repo through Run Discover, then shows resolved layer/slot state through four labeled boxes and a directory picker, and…

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

codegraph

Generate a codebase knowledge graph with graphify at graphify-out/ so other skills can query cross-file relationships before touching code. Do NOT use for runtime profiling.

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

institutional-memory-distill

Distill decisions, reasoning, and rejected alternatives from PRs, design docs, and postmortems into the project's decisionledger, so ult-context-generate's trip-wire can surface institutional memory before new work quietly repeats settled ground. Do NOT use to query the ledger against new work or decide…

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