Claude-skill-registry context-packer
Build a compact, high-signal context brief (files, symbols, recent commits) instead of pasting large code blocks
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/context-packer" ~/.claude/skills/majiayu000-claude-skill-registry-context-packer && rm -rf "$T"
manifest:
skills/data/context-packer/SKILL.mdsource content
Context Packer
Purpose
Reduce token usage by summarizing only what’s needed for the task.
Behavior
- Produce a 10–20 line brief:
- File map (key paths)
- Key symbols/functions/classes
- Last 3 relevant commits (subject only)
- Pointers to exact files/lines if code is needed
- Include ≤1 short code window only if critical.
Guardrails
- Never paste large files; link paths/lines instead.
- Prefer bullets over prose.
Integration
enrichment; before sub-agent calls.UserPromptSubmit
Example Prompt
Pack context to implement auth middleware with minimal tokens.