update-context

Update CLAUDE.md with structured rules and session learnings.

1|Updated May 16, 2026
One-click install
npx skills add https://github.com/gudnuf/agicash-rs --skill update-context-gudnuf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-context
Source: https://github.com/gudnuf/agicash-rs/tree/main/.claude/skills/update-context
Command: npx skills add https://github.com/gudnuf/agicash-rs --skill update-context-gudnuf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CLAUDE.md serves as the project's persistent context. This skill ensures CLAUDE.md is kept current, actionable, and aligned with codebase changes to prevent stale assumptions.

Core Features & Use Cases

  • Post-Correction Reflex: capture root causes and translate them into concrete, reusable CLAUDE.md rules.
  • Full Reflection Analysis: perform a comprehensive review on /update-context to synthesize learnings from recent sessions and repository changes.
  • Targeted Updates: apply focused edits to CLAUDE.md on ad-hoc requests or after major refactors, preserving context history.
  • Context Evolution Rules: enforce meta-guidelines for maintaining CLAUDE.md and tracking learnings over time.

Quick Start

Run /update-context after significant codebase changes to refresh the CLAUDE.md knowledge context.

Frequently Asked Questions about update-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep CLAUDE.md updated with recent code changes automatically?

You can maintain CLAUDE.md context by capturing root causes from corrections and translating them into concrete, reusable rules. This post-correction reflex ensures your persistent context stays aligned with codebase changes and prevents stale guidance over time.

What is the best way to maintain a knowledge base from coding sessions?

Maintain a knowledge base from coding sessions by performing targeted updates after major refactors while preserving context history. This approach applies focused edits to capture session learnings and enforces meta-guidelines for tracking knowledge evolution over time.

When should I run context updates for my project documentation?

Run context updates after significant codebase changes to refresh the knowledge context. This ensures your persistent documentation stays current, actionable, and aligned with recent repository modifications rather than retaining outdated assumptions.

Does managing context with CLAUDE.md support ad-hoc requests?

Yes, managing context with CLAUDE.md supports ad-hoc requests by applying targeted updates. This allows you to perform focused edits on the knowledge base after major refactors or specific corrections while preserving the existing context history.

Why does my CLAUDE.md knowledge base contain stale guidance?

Your CLAUDE.md knowledge base contains stale guidance when it is not regularly updated after codebase changes. Without periodic health checks and post-correction reflexes to capture root causes, the persistent context retains outdated assumptions instead of actionable rules.

Can I prevent stale assumptions in my project context rules?

Prevent stale assumptions in your project context rules by enforcing context evolution meta-guidelines and running periodic health checks. These practices ensure your knowledge base captures fresh learnings and translates root causes into accurate, reusable rules over time.