dont-repaste-entire-document

dont-repaste-entire-document is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 23 tokens per session (984 once invoked), scanned A, original, MIT.

A guide to keeping useful document context in a conversation without pasting the entire document again for every small change.

In plain words
What is it for?
It helps refer to loaded documents by section, anchor, or conversational pointer when requesting edits or follow-up work.
Why use it?
It reduces repeated input, which can make conversations slower, use more of the model's context limit, and increase usage costs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit It helps refer to loaded documents by section, anchor, or conversational pointer when requesting edits or follow-up work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/dont-repaste-entire-document
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 alivirgo/Major-AI-Skills --skill dont-repaste-entire-document
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

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 dont-repaste-entire-document

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/dont-repaste-entire-document/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/dont-repaste-entire-document)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/dont-repaste-entire-document"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/dont-repaste-entire-document/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 dont-repaste-entire-document

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/dont-repaste-entire-document"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/dont-repaste-entire-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 984 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.00023 $0.00984
Opus 5.5 $0.00009 $0.00394
Sonnet 5.5 $0.00005 $0.00197
Haiku 4.5 $0.00002 $0.00098

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

Security

Grade A, and why

dont-repaste-entire-document 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 2mo 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/dont-repaste-entire-document/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Don't Re-Paste Entire Documents (Context Hygiene) (AI Skill)

Overview

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. Context Hygiene

┌─────────────────────────────────────────────────────────────┐
│                 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)   │
└─────────────────────────────────────────────────────────────┘

Master Pointer Reference Prompt Templates

Pattern 1: The Anchor-Pointer Follow-Up

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.

Read the full file on GitHub · 103 lines

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. 2mo ago Changed · -7 tokens per session d1354819ca92
  2. 2mo ago First seen · 103 lines · 30 tokens per session scan A b4077c756179

Subscribe to this mod's changes

dont-repaste-entire-document is a skill published in the GitHub repository alivirgo/Major-AI-Skills (6 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 984 once invoked, about $0.0001 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-05.

Related

dont-repaste-entire-document compared with skills from other repositories

dont-repaste-entire-document next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dont-repaste-entire-documentalivirgo/Major-AI-SkillsSkill6yesterdayMITA23Claude Code
ai-engineering-toolkitdiegosouzapw/awesome-omni-skillsSkill1814mo agoMITA81Claude Code, Codex
agent-memory-mcp-v2diegosouzapw/awesome-omni-skillsSkill1814mo agoMITA62Claude Code, Codex
context-engineeringJPeetz/agent-skillsSkill21yesterdaynoneA39Claude Code, Codex
agent-memory-systems-v2diegosouzapw/awesome-omni-skillsSkill1814mo agoMITA54Claude Code, Codex
agent-memory-systemsdiegosouzapw/awesome-omni-skillsSkill1814mo agoMITA52Claude Code, Codex
agent-memory-mcpdiegosouzapw/awesome-omni-skillsSkill1814mo agoMITA60Claude Code, Codex