From 8765ba43243d19d4d2c8b60f075fef2b6d3aa4f7 Mon Sep 17 00:00:00 2001 From: Paul O'Reilly Date: Tue, 17 Mar 2026 11:15:35 +1300 Subject: [PATCH] Add context-load skill: reload project context mid-session Gathers CLAUDE.md, CONTEXT.md, MEMORY.md, BESTPRACTICES.md, directory trees, and git status from the directory hierarchy after /clear. Co-Authored-By: Claude Opus 4.6 (1M context) --- skills/context-load/SKILL.md | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 skills/context-load/SKILL.md diff --git a/skills/context-load/SKILL.md b/skills/context-load/SKILL.md new file mode 100644 index 0000000..f7f86e0 --- /dev/null +++ b/skills/context-load/SKILL.md @@ -0,0 +1,41 @@ +--- +name: context-load +description: > + Reload project context after /clear or mid-session. Runs the context-load script to gather + CLAUDE.md, CONTEXT.md, MEMORY.md, BESTPRACTICES.md, directory trees, and git status from + the directory hierarchy. Use when context has been lost (e.g., after /clear). +user_invocable: true +allowed-tools: Read, Glob, Bash(context-load) +--- + +# /context-load Skill + +context-load + +You are reloading project context into your conversation. This is typically run after `/clear` or when context has been lost. + +## Pre-gathered context + +The `context-load` script has walked from the current working directory upward, collecting all key index files: + +!`context-load` + +## Instructions + +The output above contains the full project context that would normally be loaded at session start. Internalize it now: + +1. **Read and acknowledge** the CLAUDE.md file(s) — these contain project guidelines and conventions +2. **Note the directory tree(s)** — understand the current repo structure +3. **Read CONTEXT.md** if present — this tells you what's actively being worked on +4. **Read MEMORY.md** if present — this is the index of accumulated learnings +5. **Read BESTPRACTICES.md** if present — these are cross-project best practices +6. **Note git status** — understand the current state of the working tree + +After internalizing, respond with a brief summary: +- Which project(s) you're now oriented to +- Current git status (clean/dirty, branch) +- Any active context entries worth highlighting + +If the user passed arguments (e.g., `/context-load` from a specific directory), those are available as: $ARGUMENTS + +Keep the summary concise — the user knows their project, they just need confirmation that you've reloaded context successfully.