/major-ai-skills:dont-repaste-entire-documentfrom major-ai-skills
Reference existing document context and provide localized changes when repeating the full document is unnecessary.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A common habit among users is re-pasting a 5,000-word document into the chat window every time they want to ask a follow-up question or tweak a single paragraph.
Re-pasting entire files clogs the model's active memory window, invalidates prompt caches (making requests slower and more expensive), and risks exceeding context length limits.
The Context Hygiene Protocol teaches users how to reference already-loaded context using anchors, section numbers, and conversational pointers.
┌─────────────────────────────────────────────────────────────┐
│ Context Bloat vs. Hygiene │
│ │
│ Context Bloat (Re-pasting every turn): │
│ Turn 1: Paste 5,000-word document $\rightarrow$ 6,000 tokens │
│ Turn 2: Re-paste doc + 1 edit $\rightarrow$ 12,000 tokens │
│ Turn 3: Re-paste doc + 1 fix $\rightarrow$ 18,000 tokens │
│ ↳ Total: 36,000 tokens billed, high latency │
│ │
│ Context Hygiene (Pointer References): │
│ Turn 1: Paste 5,000-word document $\rightarrow$ 6,000 tokens │
│ Turn 2: "In Section 4, update point 2" $\rightarrow$ 6,100 t│
│ Turn 3: "Now check paragraph 3" $\rightarrow$ 6,200 t │
│ ↳ Total: 18,300 tokens (50% savings, instant responses) │
└─────────────────────────────────────────────────────────────┘
Use when modifying a document already present earlier in the chat:
Referring to the document you reviewed in message #1:
Focus ONLY on **Section 3.2 (Payment Terms)**:
- Rewrite the late fee clause to specify 2% monthly interest instead of a flat $50 fee.
- Output only the revised Section 3.2 text.
Use when reviewing or drafting a multi-chapter report or ebook:
We have established the outline in our previous turn.
Now let's work on **Chapter 2 ONLY**.
Do NOT reprint Chapter 1 or the outline.
Draft the 3 core subsections for Chapter 2 following our agreed tone.
User: Pastes the entire 500-line
docker-compose.ymlfile in Turn 1. In Turn 2, wants to add a Redis volume $\rightarrow$ Re-pastes the entire 500-line file with "Add redis volume". In Turn 3, wants to change the Postgres password $\rightarrow$ Re-pastes the entire 500-line file.
Turn 1: User uploads
docker-compose.yml. Turn 2: "Under theredisservice defined above, add a persistent volume mount to/data. Show only theredisYAML block."AI Response:
redis: image: redis:7-alpine ports: - "6379:6379" volumes: - redis_data:/data
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job