How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-cortex:context-sessionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Prevent Context Degradation Syndrome (CDS) — when an AI assistant loses track of project state between sessions, forgets architecture decisions, repeats mistakes, or ignores established conventions.
Prevent Context Degradation Syndrome (CDS) — when an AI assistant loses track of project state between sessions, forgets architecture decisions, repeats mistakes, or ignores established conventions.
This skill reads and updates your project's persistent context files so the AI assistant maintains complete awareness across sessions.
At the START of each session, this skill loads:
CLAUDE.md and/or .github/copilot-instructions.md in the project root. Read whichever exist (both may be present). These contain the Current Focus and context-loading instructions..context/CURRENT_STATUS.md — What was accomplished last session, what's in progress, what's next.context/MASTER_PLAN.md — Full roadmap; confirm which phase is active and which tasks are already checked off.context/CONVENTIONS.md — Tooling and environment setup (formatter, linter, test runner, build commands)PROJECT_GUIDELINES.md (project root, if it exists) — Code quality rules: naming, architecture, error handling, testing standards, security, performance, git workflow.context/ARCHITECTURE.md — System design and how components connectThen reads as needed based on your task:
.context/DECISIONS.md — Architecture Decision Records to avoid re-debating settled questionsWhile working:
DECISIONS.md when significant technical choices are madeMASTER_PLAN.md as soon as they are done — change - [ ] to - [x]At the END of each session:
Update .context/CURRENT_STATUS.md with:
Update .context/MASTER_PLAN.md — ensure all tasks completed this session are checked off (- [x]); if the active phase is now complete, mark its milestones done and note the next phase as active
Update the Current Focus section in whichever bootloader files exist (CLAUDE.md and/or .github/copilot-instructions.md) if priorities changed
Check if PROJECT_GUIDELINES.md needs updating — if the session introduced any of the following, update PROJECT_GUIDELINES.md directly or note it for next session:
Suggest a commit — provide a title and description based on what was worked on this session
| File | Purpose | Updated |
|---|---|---|
CLAUDE.md | Bootloader for Claude Code (read automatically) | Every few sessions |
.github/copilot-instructions.md | Bootloader for GitHub Copilot (read automatically) | Every few sessions |
.context/CURRENT_STATUS.md | Where the project stands right now | Every session |
.context/MASTER_PLAN.md | Implementation roadmap | Every session (tick off completed tasks) |
.context/ARCHITECTURE.md | System design and components | When architecture evolves |
.context/DECISIONS.md | Architecture Decision Records | When decisions are made |
.context/CONVENTIONS.md | Tooling, environment, and build commands | Rarely |
PROJECT_GUIDELINES.md | Code quality rules (naming, architecture, testing, security) | When patterns evolve |
.context/SETUP.md | Dev environment setup | Rarely |
If you see [PLACEHOLDER] markers (like [CURRENT_TASK], [PHASE_NAME], etc.) in CLAUDE.md, .github/copilot-instructions.md, or .context/ files, run /context-init to initialize the framework with your project details.
npx claudepluginhub xanderscannell/claude-cortex --plugin claude-cortexProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.