/cortex:using-cortexfrom cortex
Establishes that Cortex context must be consulted before answering code questions, and dispatches to the right Cortex skill for research, impact, and review tasks.
Ships in cortex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cortex maintains a local, ranked index of this repository (graph, embeddings, rules). Never answer a code question from memory when Cortex is available.
Before answering any question about this codebase, run:
cortex search "<query>" --json
Cite the entity ids and paths you used. If a command fails because there is
no .context/ directory or no index, say so and suggest cortex bootstrap
(first time) or cortex update (stale index) instead of guessing.
| Situation | Skill / command |
|---|---|
| "How does X work?", exploring code | repo-research skill |
| Planning a refactor or risky change | change-impact skill |
| Reviewing a file or diff | pattern-review skill |
| Finalizing a PR or full review | context-review skill |
| Architectural constraints | cortex rules --json |
| After significant changes | cortex update |
If Cortex MCP tools are connected, context.search, context.get_related,
context.get_rules, context.impact, and context.reload map to the CLI
commands above. Prefer whichever is available; the CLI needs no registration.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub danielblomma/cortex --plugin cortex5 skills in this plugin
/change-impactUse when planning a refactor, changing shared code, or making any modification whose blast radius is unclear - maps affected entities and traversal paths with Cortex before the first edit/context-reviewUse when finalizing any code review, pull request, or completed change - runs the Cortex review gates so policy rules and pattern evidence are checked before sign-off/pattern-reviewUse when reviewing a changed file, diff, or pull request - retrieves repo-local pattern evidence with Cortex so review feedback follows this repository's conventions before generic best practicesOther plugins' skills for the same job