Prevents answers from being cut off half-way when the token limit runs out. Use before any long output - large code, multiple files, long documents, big refactors, full apps - or whenever context is getting full, a previous reply was truncated, or the user says "continue", "it stopped", "cut off", "incomplete answer", or "tokens ran out". Budgets the reply, delivers the complete result first, compresses when tokens are low, and splits oversized work into self-contained parts.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Nevercut?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sunil56224972-nevercut)
---
name: nevercut
description: Prevents answers from being cut off half-way when the token limit runs out. Use before any long output - large code, multiple files, long documents, big refactors, full apps - or whenever context is getting full, a previous reply was truncated, or the user says "continue", "it stopped", "cut off", "incomplete answer", or "tokens ran out". Budgets the reply, delivers the complete result first, compresses when tokens are low, and splits oversized work into self-contained parts.
---
# NeverCut - finish the whole answer before tokens run out
A reply that stops half-way is worse than a shorter reply that is complete: the user gets broken code and has to pay for another run. Your job is to **always land the answer**.
## When to use
- Before writing anything long: big code, several files, full documents, long lists, migrations.
- When the context window is getting full (long session, many files read).
- When a previous reply was cut off, or the user says "continue", "it stopped", "incomplete".
Do NOT apply the compression rules to short answers that obviously fit - just answer normally.
## Step 1 - Know your budget
Use the best source available, in this order:
1. **NeverCut hook context** (Claude Code): a `[NeverCut 🟢/🟡/🔴 ...]` line is injected into your prompt with the real numbers. Trust it.
2. **NeverCut MCP tool**: call `nevercut_budget` (or `nevercut_plan` with your size estimate) if the `nevercut` MCP server is available.
3. **Estimate yourself** if neither exists:
- 1 token ≈ 4 characters of English ≈ 0.75 words; 1 line of code ≈ 10-12 tokens.
- A single reply is usually capped far below the context window (often 8k-32k tokens ≈ 700-2,500 lines of code at most - plan for much less).
- **Aim for ~55% of the room you think you have.** Measured on real models: LLMs overshoot a stated token budget by 10-50% because they can't count their own tokens. Count **lines of code** instead of tokens - you track lines far better.
## Step 2 - Pick the zone
| Zone | When | How to write |
|------|------|--------------|
| 🟢 GREEN | >60% context left and the task clearly fits | Normal detail, still result-first |
| 🟡 YELLOW | 25-60% left, or task needs most of the reply room | No intro/recap, minimal comments, ≤3 sentences of explanation, show only changed code |
| 🔴 RED | <25% left, or task does not fit | Zero prose before the result, shortest correct solution, no comments unless needed |
## Step 3 - Plan the delivery (before writing)
Estimate the answer size (lines of code × 11 + words ÷ 0.75). Compare with the reply room:
- **Fits** → one reply.
- **Fits only if compact** → one reply in YELLOW/RED style.
- **Does not fit even compact** → split into **self-contained parts**:
- Most important / foundational part first (the part everything else depends on).
- Each part is complete and usable on its own: whole files or whole functions, every block closed.
- In agent mode, **write each finished file to disk** before moving on - a saved file can't be cut off.
- End each part with exactly one line: `NEVERCUT CHECKPOINT k/N - next: <what comes next>`.
## Step 4 - Write with the landing rules
1. **Result first.** The working code / final answer goes at the top. Explanation goes last and is the first thing you drop.
2. **Never open what you cannot close.** Don't start a file, function, code block, table or list you can't finish inside the remaining room.
3. **Wrap up at 85%.** When you are near ~85% of the reply room, stop adding and close everything: brackets, tags, ``` fences, the current sentence.
4. **No filler.** No "Sure! Here's…", no restating the question, no repeating unchanged code - use `// ...existing code...` anchors instead.
5. **Long files in agent mode:** create the file in complete chunks (write the first complete half, then append the next complete section) instead of one giant tool call that can be truncated.
## Step 5 - If a reply was cut off anyway
- Continue from the **exact last character**. Don't restart, don't repeat, don't apologise.
- If you were inside a code block, continue the code directly - do not open a new ``` fence.
- If the `nevercut_check` tool is available, run it on suspicious output; it returns the exact closers needed.
## Examples
**User (RED zone, ~600 tokens left):** "Add JWT auth middleware to my Express app."
❌ Bad: three paragraphs about JWT, then the code stops at `const token = req.hea`.
✅ Good:
```js
const jwt = require('jsonwebtoken');
module.exports = (req, res, next) => {
const h = req.headers.authorization || '';
const token = h.startsWith('Bearer ') ? h.slice(7) : null;
if (!token) return res.status(401).json({ error: 'missing token' });
try { req.user = jwt.verify(token, process.env.JWT_SECRET); next(); }
catch { res.status(401).json({ error: 'invalid token' }); }
};
```
Use: `app.use('/api', require('./auth'))`.
**User:** "Build the full app: backend, frontend, DB schema, tests" (doesn't fit one reply)
✅ Good: Part 1 = DB schema + backend (complete, runs), ends with
`NEVERCUT CHECKPOINT 1/3 - next: frontend (React pages + API client)`.
## Output checklist (run mentally before you stop)
- [ ] The full result is present (or this part is complete on its own).
- [ ] Every ``` fence, bracket, tag and sentence is closed.
- [ ] If split: checkpoint line present with what comes next.