Context management, project guidelines, and code review for AI coding assistants. Prevent context degradation, enforce coding standards, and get structured code reviews — all in one plugin.
Thorough code review of uncommitted changes or current branch vs. a target branch
Initialize CDS framework in a new project
Load and update project context across sessions
Full framework initialization — sets up both .context/ (project knowledge) and PROJECT_GUIDELINES.md (coding standards) in one command. Use when the user wants to set up the complete claude-cortex framework, says "initialize everything", "full setup", or "set up cortex".
Scaffolds a PROJECT_GUIDELINES.md file for a codebase by auto-detecting project conventions and interviewing the user. Use this skill when the user wants to set up coding standards, initialize project guidelines, create a style guide, establish code conventions, or says things like "set up guidelines", "init standards", "create a style guide", or "what conventions should we follow". Also use when a project has no PROJECT_GUIDELINES.md and the user asks for a code review.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Context management, project guidelines, and code review for AI coding assistants — all in one plugin.
Three systems that work independently, but integrate deeply when used together:
Compatible with Claude Code and GitHub Copilot.
| Guide | What it covers |
|---|---|
| Context Framework | What CDS is, how .context/ works, daily workflow, templates |
| Project Guidelines | Simple vs full mode, severity system, review heuristics, subagent |
| Code Review | /code-review vs /ult-code-review, severity tiers, 10-agent suite, testability assessment |
# Marketplace
/plugin marketplace add xanderscannell/claude-cortex
/plugin install claude-cortex
# Or manual
git clone https://github.com/xanderscannell/claude-cortex.git
/plugin marketplace add ./claude-cortex
/plugin install claude-cortex
# Open the Command Palette (F1) and run:
Chat: Install Plugin From Source
# then point to this directory.
/cortex-init # Full setup: .context/ framework + PROJECT_GUIDELINES.md
# Or run them separately:
/context-init # Create .context/ framework + bootloaders
/guidelines-init # Generate PROJECT_GUIDELINES.md
/context-session # Load project context at session start; update at session end
/code-review # Review current changes
/guidelines-review --pr # Check PR against project guidelines
| Command | What it does |
|---|---|
/cortex-init | Full framework setup — runs /context-init then /guidelines-init in series, with a single combined commit |
/context-init | Scaffold .context/ directory, CLAUDE.md, and .github/copilot-instructions.md with auto-detected project details |
/context-session | Load context at session start, update status and guidelines at session end |
/guidelines-init | Generate PROJECT_GUIDELINES.md — simple (flat rules) or --full (categorized + severity) |
/guidelines-review | Review code against guidelines. Scopes: --pr, --staged, --changed, file, or directory |
/code-review | Security-first code review with 4 severity tiers, testability analysis, and merge verdict |
/ult-code-review | 10 parallel specialist agents for near-complete bug and vulnerability coverage |
claude-cortex/
|-- .claude-plugin/
| |-- plugin.json # Plugin manifest
|-- skills/
| |-- cortex-init/ # /cortex-init — full framework setup
| |-- context-init/ # /context-init — scaffold context framework
| |-- context-session/ # /context-session — load/update session context
| |-- guidelines-init/ # /guidelines-init — generate guidelines
| |-- guidelines-review/ # /guidelines-review — compliance review
| |-- code-review/ # /code-review — structured code review
| |-- ult-code-review/ # /ult-code-review — 10-agent parallel review
|-- agents/
| |-- reviewer.md # Subagent for parallel guideline reviews (51+ files)
|-- templates/
| |-- context/ # Templates for .context/ files
| |-- CLAUDE.md # Bootloader template (Claude Code)
| |-- copilot-instructions.md # Bootloader template (GitHub Copilot)
| |-- CURRENT_STATUS.md # Project status template
| |-- ARCHITECTURE.md # System design template
| |-- CONVENTIONS.md # Tooling and environment setup template
| |-- DECISIONS.md # ADR template
| |-- MASTER_PLAN.md # Roadmap template
| |-- SETUP.md # Dev setup template
|-- references/
| |-- guideline-categories.md # Per-stack example rules (JS/TS, Python, Go, Rust)
|-- docs/
| |-- context-framework.md # Deep dive: context system
| |-- guidelines.md # Deep dive: guidelines system
| |-- code-review.md # Deep dive: code review
|-- README.md
|-- LICENSE
Each system works standalone, but they're stronger together:
npx claudepluginhub xanderscannell/claude-cortex --plugin claude-cortexContext Degradation Syndrome (CDS) Prevention Framework - Maintain project context across Claude Code sessions using structured .context/ files
Generates and enforces project coding guidelines. Simple mode: flat rule list, direct review. Full mode: categorized guidelines with severity levels and structured reports.
YOUR_DESCRIPTION
Commands for loading context and priming Claude for specific tasks
Automatic context engineering — observes your coding sessions and generates rules, suggestions, skills, and hooks so Claude gets smarter on your codebase over time
Persistent context for AI coding assistants
(Alpha) Persistent memory, architectural decisions, and safety guardrails for Claude Code. Your agent starts every session with full project context — stack, decisions, patterns, safety rules, and a handoff from the previous session.
Personal Claude Code + Codex dev stack: security hooks, AI-first code conventions, /security-review, /repo-map, /stack-check, portable statusline. Designed to complement other skills-based plugins, not replace them.
Harness for Claude Code — skills, /harness:* slash commands, persona subagents, lifecycle hooks, and MCP tools without per-repo `harness setup`. Sibling plugins exist for Cursor, Gemini CLI, and Codex.