AI SummaryContext Refresh restores Claude Code project context after memory loss or session resets by systematically reloading repository structure and documentation. Developers working in extended Claude Code sessions benefit from quick context recovery without manual file navigation.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "Context Refresh (claude-code-skills)" skill in my project. Please run this command in my terminal: # Install skill into the correct directory mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/.claude/commands/refresh_context.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Restore project context after memory loss or compression
Context Refresh (claude-code-skills)
<!-- SCOPE: Context refresh procedure ONLY. Contains minimal anchor files, deep dive sections, output format. --> <!-- DO NOT add here: skill details → individual SKILL.md files, architecture → docs/SKILL_ARCHITECTURE_GUIDE.md -->
Project Profile Constants
| Variable | Description | Value | |-----------|--------------|--------| | <DOCS_ROOT> | Documentation folder | docs | | <ENTRY_FILE> | Repository entry point | CLAUDE.md | | <SKILLS_ROOT> | Skills collection root | . | ---
1. Preparation
> Use this procedure when context was cleared, compressed, or lost (e.g., after /clear or session reset). > Goal: fully reload repository structure, skill architecture patterns, and development workflows. > [!WARNING] > Before any work with skills, ALWAYS read docs/SKILL_ARCHITECTURE_GUIDE.md for best practices 2024-2026: Orchestrator-Worker Pattern, Single Responsibility Principle, Token Efficiency, Task Decomposition guidelines, Red Flags. ---
Minimal Anchor (ALWAYS loaded)
Essential context for orientation (~500 lines, ~15% context): • [ ] Read <ENTRY_FILE> - repository rules, key concepts, versioning workflow • [ ] Read README.md (sections: Features tables, Key Concepts) - overview of 84 skills in 7 categories • [ ] Read docs/SKILL_ARCHITECTURE_GUIDE.md (sections: TOC, Core Principles, Orchestrator-Worker Pattern) • [ ] Read docs/DOCUMENTATION_STANDARDS.md - industry best practices 2024-2026 After loading the base set: Proceed to section 3. Based on current work type, load additional documents from "Deep Dive" below. ---
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster