claude-skill
Skill14 starsChanged 16 days agoMITView on GitHub
Portable token discipline for long conversations where hooks cannot run - Claude Desktop, claude.ai, or a locked-down machine. Use when a chat is getting long, when the user mentions context limits or cost, or when resuming from a handoff brief.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- myysophia/codex-configtheir own version, first seen Oct 8, 2026
- feiskyer/codex-settingstheir own version, first seen Jul 27, 2026
- accelizero/claude-skilltheir own version, first seen Mar 9, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- feiskyer/codex-settings★ 248same name
- myysophia/codex-config★ 195same name
- accelizero/claude-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- gear-lowSkill
- gear-maxSkill
- gear-mediumSkill
- gear-xhighSkill
- opus-tunerSkill
- profileSkill
- wrapSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 14 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Every request re-reads the whole conversation.
- Distinctive: line 39
Answer the question asked: No preamble, no summary of what you are about to do, no recap of what you just did unless it changed the plan.
- Distinctive: line 41
Read narrowly: Ask for the file, function, or error — not the repository.
- Distinctive: line 42
If you have tools, grep for the symbol before reading a whole file.
- Distinctive: line 44
Do not re-verify by re-reading: If a fact is in the conversation, use it.
- Distinctive: line 52
Consider it at a task boundary, or at 70% of the ceiling, whichever comes first.
- Distinctive: line 63
When asked, write exactly this, under ~400 words.
- Distinctive: line 97
When a message begins with a handoff brief:
- Distinctive: line 99
Treat it as the working state.
- Distinctive: line 100
Start from Next step.
- Distinctive: line 101
Ask one question only if a decision it records is genuinely ambiguous.
- Distinctive: line 105
No measurement: you cannot see the real token count, only estimate it.
- Distinctive: line 106
No enforcement: nothing stops a turn at the ceiling.
- Distinctive: line 107
No automatic re-seed: the user pastes the brief.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
claude-skill — portable token discipline
This is the advisory companion to opus-tuner. It needs no hooks, no scripts and no filesystem: everything here is a habit the model can keep in any Claude client. Where opus-tuner measures and enforces, this only reminds. Say so if the user expects the automated version.
The budget
Track the conversation against two soft ceilings:
| Tier | Ceiling | Meaning |
| routine | ~150k tokens | default; most work fits |
| deep | ~250k tokens | one hard problem, explicitly chosen |
At 70% of the ceiling, finish the current unit and hand off. At the ceiling, stop starting new work. A turn near the ceiling re-reads everything, so the last 10% of a long chat is the most expensive part of it.
What actually costs tokens
Every request re-reads the whole conversation. That makes these the levers, in order:
- Conversation length. The dominant cost. A 300k chat costs roughly six times a 50k chat per turn, for the same answer.
- Output. Small share of tokens, large share of price. Do not pad.
- Restating. Repeating the plan, the diff, or the user's request back to them buys nothing and is re-read on every later turn.
Rules
- Answer the question asked. No preamble, no summary of what you are about to do, no recap of what you just did unless it changed the plan.
- Read narrowly. Ask for the file, function, or error — not the repository. If you have tools, grep for the symbol before reading a whole file.
- Batch. One message with the independent questions, not five round trips.
- Do not re-verify by re-reading. If a fact is in the conversation, use it. Verification is for claims that could be wrong, not for memory.
- Do not re-explain for the user's benefit. They can scroll.
- Never trade verification for tokens. Skipping a test to save context is how a cheap session becomes an expensive debugging session.
When to hand off
Consider it at a task boundary, or at 70% of the ceiling, whichever comes first. A fresh chat starts without the history, so each turn re-reads less, but it has to rebuild whatever the brief leaves out.
Offer this, in one line, and let the user decide:
This chat has grown long. If you would like to continue in a fresh one, I can write a handoff brief for it.
Handoff brief
When asked, write exactly this, under ~400 words. Every line is re-read in the new chat, so no filler:
# Handoff — <task>
## Goal
<one sentence: what done looks like>
## State
<what exists now: files, decisions, what passes>
## Decisions
<what was chosen and why — only the non-obvious ones>
## Dead ends
<what was tried and failed, so it is not retried>
## Unverified
<believed but not proven>
## Next step
<one concrete action>
## Files
<the handful that matter, with paths>Then tell the user: start a new chat, paste this, and say "continue from Next step". In a client with projects or memory, put it in the project instructions instead of the first message.
Resuming
When a message begins with a handoff brief:
- Treat it as the working state. Do not re-explore what it already records.
- Start from Next step.
- Ask one question only if a decision it records is genuinely ambiguous.
Limits, stated honestly
- No measurement: you cannot see the real token count, only estimate it.
- No enforcement: nothing stops a turn at the ceiling.
- No automatic re-seed: the user pastes the brief.
For measurement and enforcement, use opus-tuner in Claude Code: https://github.com/YahyaLendani/opus-tuner-claude-skill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

