Context orchestration CLI with curated agents, rules, skills, and management tools for Claude Code
Project description
Cortex
Context orchestration toolkit for Claude Code, with curated agents/skills/rules/hooks and a Python CLI for management.
Docs: https://cortex.atlascrew.dev/
Why Cortex
- Curated context assets for Claude Code (
agents/,skills/,rules/,hooks/) - A Python CLI (
cortex) for activation, validation, TUI workflows, diagnostics, and exports - Built-in support for MCP docs, memory capture, and review gates
Feature Highlights
Original Cortex Skills
Cortex includes four foundational skills that drive quality across development workflows:
agent-loops — Structured Implementation & Verification
- Skill file:
skills/agent-loops/SKILL.md - Purpose: Multi-phase implementation loop with built-in verification and code review gates
- When to use: Any feature implementation, bug fix, or refactoring task
- Workflow: Plan → Implement → Verify → Review approval before committing
- CLI integration: Complements
cortex reviewcommand:
cortex review --dry-run # Preview review gates
cortex review -c feature -c debug # Full review workflow
test-review — Quality Assurance & Coverage Analysis
- Skill file:
skills/test-review/SKILL.md - Purpose: Audit test quality and coverage across modules
- When to use: After test suite changes, coverage gaps, or brittle tests
- Features: Identifies gaps, suggests improvements, validates test patterns
doc-claim-validator — Documentation Accuracy Auditing
- Skill file:
skills/doc-claim-validator/SKILL.md - Purpose: Validates that documentation claims match codebase reality
- When to use: Before releases, after major refactors, periodic audits
- Features: Extracts verifiable assertions (file paths, code patterns), checks against actual code
doc-maintenance — Documentation Lifecycle Management
- Skill file:
skills/doc-maintenance/SKILL.md - Purpose: Systematic documentation audit and maintenance
- When to use: Documentation may be stale, outdated references, inconsistent structure
- Features: Identifies orphaned docs, updates cross-references, improves navigation
Skills command suite
- Discover and inspect skills:
cortex skills list
cortex skills info agent-loops
cortex skills recommend
- Collect feedback and ratings:
cortex skills feedback agent-loops helpful --comment "High signal loop guidance"
cortex skills rate agent-loops --stars 5 --review "Reliable workflow"
AI command suite
- Recommendations and auto-activation:
cortex ai recommend
cortex ai auto-activate
- Continuous watch mode:
cortex ai watch --interval 2.0 --threshold 0.7 --dir .
- Learning ingestion and export:
cortex ai ingest-review .agents/reviews/latest.md
cortex ai export --output ai-recommendations.json
Repository Layout
| Path | Purpose |
|---|---|
agents/ |
Agent definitions used by Claude Code |
skills/ |
Reusable skill modules with metadata and guidance |
rules/ |
Rule modules for behavior and quality guardrails |
hooks/ |
Hook definitions and validation assets |
commands/ |
Slash-command style command assets |
claude_ctx_py/ |
Python CLI implementation |
docs/ |
Documentation source for guides/reference |
schemas/ |
Validation schemas |
tests/ |
Unit and integration tests |
Installation (pip / pipx)
Install released CLI
# Recommended
pipx install claude-cortex
# Alternative
python3 -m pip install claude-cortex
Local development install
git clone https://github.com/NickCrew/claude-cortex.git
cd claude-cortex
python3 -m pip install -e ".[dev]"
Quick Start
# Link bundled assets into ~/.claude
cortex install link
# Optional post-install helpers (completions + manpages)
cortex install post
# Check current state
cortex status
# Launch TUI
cortex tui
CLI Arguments and Commands
Current global arguments:
--scope {auto,project,global}--cortex-root PATH(alias:--plugin-root)--skip-wizard(alias:--no-init)
Usage pattern:
cortex [--scope {auto,project,global}] [--cortex-root PATH] [--skip-wizard] <command> [<args>]
Documented command groups in this README:
agentruleshooksskillsmcpstatuslinetuiaiexportinstallmemoryplandocsdevfileuninstallstatusreview
Run help anytime:
cortex --help
cortex <command> --help
Common Workflows
Using Original Cortex Skills
Feature implementation with agent-loops:
# Start implementation with built-in verification gates
cortex review --dry-run # Preview what will be reviewed
cortex review -c feature -c debug # Run full review workflow
Quality assurance with test-review:
# Audit test quality and identify coverage gaps
cortex skills info test-review # View skill details
# Then invoke: /test-review in Claude Code to audit your test suite
Documentation accuracy with doc-claim-validator:
# Validate documentation matches codebase reality
cortex skills info doc-claim-validator # View skill details
# Then invoke: /doc-claim-validator in Claude Code to audit docs
Documentation maintenance with doc-maintenance:
# Perform systematic documentation audit
cortex skills info doc-maintenance # View skill details
# Then invoke: /doc-maintenance in Claude Code for maintenance workflow
Agent + skill management
cortex agent list
cortex agent status
cortex skills list
cortex skills feedback agent-loops helpful --comment "High signal loop guidance"
cortex skills rate agent-loops --stars 5 --review "Reliable workflow"
MCP diagnostics
cortex mcp list
cortex mcp diagnose
AI recommendations
cortex ai recommend
cortex ai auto-activate
cortex ai watch
Development
Preferred local commands
command -v committer
command -v tx
- Use
committerfor atomic commits - Use
txfor local workflow/service orchestration
Build, test, quality
just install
just test
just lint
just type-check
Additional useful targets:
just test-unit
just test-integration
just test-cov
just docs
just docs-build
just build
Docs preview
cd docs
bundle exec jekyll serve --livereload
Documentation Index
- docs/index.md
- docs/README.md
- docs/guides/getting-started.md
- docs/guides/commands.md
- docs/guides/skills.md
- docs/guides/asset-manager.md
- docs/guides/prompt-library.md
- docs/tutorials/index.md
- docs/reference/index.md
- docs/reference/configuration.md
- docs/reference/api/index.md
- docs/architecture/README.md
- CONTRIBUTING.md
- CHANGELOG.md
- CREDITS.md
License
MIT. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_cortex-3.1.0.tar.gz.
File metadata
- Download URL: claude_cortex-3.1.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3408bc426f6f061ed7972ee392d271597887e0e1bb8441ace835d5d342614adf
|
|
| MD5 |
c3e481aa1bb50b17e93a756f8d703a9e
|
|
| BLAKE2b-256 |
21705c834d19695412f3c5adc0fe74f17f9e227cc397b53366e69bf0bfbe4869
|
File details
Details for the file claude_cortex-3.1.0-py3-none-any.whl.
File metadata
- Download URL: claude_cortex-3.1.0-py3-none-any.whl
- Upload date:
- Size: 364.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d5d0efc291c26e73f30cbf867cf8c340f0bc57eac33d6e655f4f12820b2d241
|
|
| MD5 |
111e04c5851d78139639f7162f2dc78f
|
|
| BLAKE2b-256 |
1e9ff3b225350c11f65e885354e7d36c5b62c063e447ad4883026d31269133e1
|