From claude-cortex
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".
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-cortex:cortex-initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Initialize both the context framework and project guidelines in one command.
Initialize both the context framework and project guidelines in one command. Runs context-init first, then guidelines-init. Because context-init creates CONVENTIONS.md before guidelines-init runs, guidelines-init's existing CONVENTIONS.md integration logic handles the cross-reference automatically — no orchestrator wiring needed.
| Argument | Guidelines mode |
|---|---|
| (empty) | Simple — flat rules list, minimal interview |
--simple | Simple — same as empty |
--full | Full — categorized rules with severity tags, comprehensive interview |
Check for:
.context/ directoryCLAUDE.md or .github/copilot-instructions.md in the project rootPROJECT_GUIDELINES.md in the project rootIf any exist, tell the user what was found and ask:
"These files already exist. Do you want to reinitialize? This will overwrite them."
If the user declines, stop.
--full was passed: use full mode--simple was passed or no argument: use simple modeRead skills/context-init/SKILL.md and follow its instructions with these
adjustments:
Everything else runs as documented: environment detection, file selection prompt, directory creation, template copying, codebase analysis, placeholder filling.
Read skills/guidelines-init/SKILL.md and follow its instructions with these
adjustments:
PROJECT_GUIDELINES.md already exists: follow the
existing-guidelines edge case logic from the skillEverything else runs as documented. Because context-init already created CONVENTIONS.md in Step 2, guidelines-init's existing CONVENTIONS.md integration logic will naturally detect it, migrate any code quality rules, and add the cross-reference.
List created files grouped by system:
.context/ files createdPROJECT_GUIDELINES.md (mode used, rule count or category count)Note the cross-reference: "CONVENTIONS.md references PROJECT_GUIDELINES.md as the source of truth for code quality rules."
Suggest a single commit:
git add .context/ [bootloader] PROJECT_GUIDELINES.md
git commit -m "Initialize cortex framework (context + guidelines)"
Mention next steps:
/context-session at the start of each session/guidelines-review to check code against the generated guidelines/guidelines-init separately to retryProvides 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.
npx claudepluginhub xanderscannell/claude-cortex --plugin claude-cortex