Skip to main content

agent-resource-discipline

Stars10
Forks1
UpdatedMay 14, 2026 at 11:54

Use this skill at the start of any non-trivial session in this ecosystem -- the single biggest lever for reducing token / quota / context-window consumption and for keeping the agent productive across sessions. Make sure to load this whenever the work involves more than a few file reads, any PDF handling, multi-file editing, web fetching, or continuation of prior-session work, EVEN IF THE USER DOES NOT MENTION IT. Codifies five disciplines: tool selection (Read/Grep/Glob/Edit/Write over Bash equivalents); PDF lifecycle (one-shot pdftotext + survey-note-first lookup); persistent memory via the project's indices (PLAN.md / collection log / notes index); context-window budgeting; web-fetch caching. A research-flavoured operationalisation of the file-as-memory + just-in-time retrieval patterns from Anthropic's context-engineering guidance and the Manus / planning-with-files / claude-mem prior art (see "Adjacent prior art + lineage" inside the skill for citations).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly