context-refresh

Synthesize session history, Git commits, and file changes into project context.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/CodeTonight-SA/claude-optim --skill context-refresh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-refresh
Source: https://github.com/CodeTonight-SA/claude-optim/tree/main/skills/context-refresh
Command: npx skills add https://github.com/CodeTonight-SA/claude-optim --skill context-refresh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Every new AI session starts with zero project context, leading to repetitive file reads, missed Git state, and a slow "cold start" problem. This skill rapidly establishes a comprehensive project understanding by synthesizing information from session history, Git commits, and file changes.

Core Features & Use Cases

  • Multi-Source Semantic Understanding: Combines session history (WHY), Git commit messages (WHAT INTENDED), and Git status (WHAT EXISTS) for a complete mental model.
  • Adaptive Depth Analysis: Dynamically adjusts the depth of file analysis based on confidence, optimizing token usage.
  • CLAUDE.md Auto-Update: Automatically updates the CURRENT STATE section of CLAUDE.md when discrepancies are detected and confidence is high.
  • Use Case: You're starting a new AI session on an existing project, and you need the AI to quickly and thoroughly understand the current state, recent changes, and ongoing work.

Quick Start

"Refresh my context for this repository." "Help me understand the current state of this project."