From te
Use this skill on any non-trivial task to externalize running notes, decisions, and ruled-out hypotheses to .agent-scratch/ instead of carrying them in the conversation. Invoke at task start (read prior notes), during work (append findings), and at task end (record decisions). Also use to detect when /compact or a session restart is warranted.
How this skill is triggered — by the user, by Claude, or both
Slash command
/te:scratch-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The supervisor's context window degrades over long sessions: re-reading the same files, re-investigating dead ends, losing the why behind earlier decisions. The fix is boringly mechanical — write things to disk and re-read them, instead of expecting the window to remember.
The supervisor's context window degrades over long sessions: re-reading the same files, re-investigating dead ends, losing the why behind earlier decisions. The fix is boringly mechanical — write things to disk and re-read them, instead of expecting the window to remember.
.agent-scratch/
├── notes.md # running notes for the current task (append-only)
├── decisions.md # one line per decision with rationale
├── dead-ends.md # hypotheses ruled out, with why
└── <task-id>.md # oversized subagent outputs (see delegate-work)
Add .agent-scratch/ to .gitignore unless you want it shared.
notes.md, decisions.md, dead-ends.md if they exist. Two minutes here saves re-deriving context that was already paid for in a previous session.dead-ends.md. If it's listed, don't re-run the investigation.If you installed this repo as the
teplugin, aSessionStarthook auto-injects the tail ofnotes.md,decisions.md, anddead-ends.mdinto context every time a session starts in a project that has a.agent-scratch/directory. You'll see the scratch content appear without having to remember to read it. Standalone-skill users get the discipline but have to read manually.
notes.md when you learn something non-obvious about the current task — a constraint, a surprising behavior, a file that turned out to matter.decisions.md when you make a choice that isn't obvious from the diff — "chose approach A over B because X". One line. Future-you will thank you.dead-ends.md the moment you rule out a hypothesis. "Not a race condition — verified by Y." This is the single most under-used habit and the biggest defense against re-investigating the same wrong answer twice.If you've re-read the same file twice in one task, that's the signal: write the relevant facts to notes.md and refer to that file instead.
Boring is fine. Append-only, dated, terse:
## 2026-05-24
- Session expiry is enforced in middleware/auth.ts:88, NOT in the Session model.
- The migration in 0042_user_schema.sql is the one legal flagged. Don't touch
without compliance sign-off.
- Ruled out: connection pool exhaustion. pool stats show 4/20 in use during repro.
Tell the user it's time for /compact or a fresh session when:
Suggest it explicitly — models don't volunteer this often enough.
notes.md like a journal. It's a working memory aid. Terse bullets, not narration..agent-scratch/<task>.mdProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub muktadirhassan/skills --plugin te