cutweight-cut

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

A guide for deciding when to reset an AI coding session. It explains when to start a fresh session, when to continue with a compacted summary, and what handoff information to save first.

In plain words
What is it for?
Use it when a session grows heavy, the agent repeats or contradicts earlier work, or you are switching to an unrelated task.
Why use it?
Long conversations resend old context and can make the agent slower, forgetful, or distracted by unrelated work.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the cutweight plugin — 4 skills shipped together

Good fit Use it when a session grows heavy, the agent repeats or contradicts earlier work, or you are switching to an unrelated task.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brenbuilds1/cutweight/cutweight-cut"><img src="https://agentmods.dev/badge/skills/brenbuilds1/cutweight/cutweight-cut.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 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.00072 $0.00388
Opus 5.5 $0.00029 $0.00155
Sonnet 5.5 $0.00014 $0.00078
Haiku 4.5 $0.00007 $0.00039

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

Security

Grade A, and why

cutweight-cut 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 24d 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-cut/SKILL.md · 44 lines

What it actually says

Session Cut

Every message you send re-sends the conversation so far. The longer the session, the heavier each message gets, and the older context starts working against you. Knowing when to cut a session saves more tokens than any single trim.

The Calls

  • One task, one session. Starting an unrelated task in an old session makes the new task carry the old one's weight.
  • /clear between unrelated tasks. It is the cheapest reset there is.
  • /compact only to continue the SAME task past context limits. Compaction is a summary; treat it as lossy, because it is.
  • Fresh session with a handoff note beats a compacted haze. Before you clear, have the agent write five lines: what was done, what is next, which files matter. Paste that into the new session.

The Tells

Cut the session when:

  • The agent re-reads files it already read this session.
  • It forgets or contradicts a decision made earlier in the session.
  • Replies slow down or drift off the task you actually asked for.
  • The work left is unrelated to the transcript behind it.

Hard Rules

  • Never /compact as a reflex. Ask first: is this the same task?
  • The handoff note gets written before the clear, not remembered after.
  • If the agent is fighting the context instead of the problem, cut the session. Reset.
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. 24d ago First seen · 44 lines · 72 tokens per session scan A 0f18d530423a

Subscribe to this mod's changes

cutweight-cut is a skill published in the GitHub repository brenbuilds1/cutweight (3 stars, last pushed 12d ago), licensed MIT. It adds 72 tokens to every session and 388 once invoked, about $0.0003 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.