Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By PretInnov-Incv1.0.3MITIn 1 marketplace
Self-learning intelligence layer that auto-extracts learnings, mines patterns, tracks decisions, and continuously optimizes your Claude Code workflow across all projects and sessions.
Claude hands work to one, or you mention it with @.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Auto Evolutionauto_evolution
Enable auto-evolution from user feedback?
boolean
Default Output Styledefault_output_style
Output style: learning, terse, or verbose (default: learning)
string
Scope Task Thresholdscope_task_threshold
Max tasks before scope creep warning (default: 5, range: 3-15)
number
Health Alert Thresholdhealth_alert_threshold
Session health score below which to alert (default: 40, range: 20-70)
number
Repetitive Edit Thresholdrepetitive_edit_threshold
Repeated edits before pattern alert (default: 5, range: 3-20)
number
Claude Code with a brain.
By Siddharth Gupta | PretInnov Technologies
Here's the problem: Every time you start a new Claude Code session, Claude forgets everything. It doesn't remember that you hate Vue.js. It doesn't remember that your tests broke last time because of a database migration. It doesn't remember that you prefer Django over Flask. It starts from zero. Every. Single. Time.
Cortex fixes this.
Cortex is a self-learning intelligence layer that sits on top of Claude Code and does 6 things:
Captures Learnings — Every session, Cortex reads the transcript and extracts useful patterns: what technologies were used, what errors occurred, what decisions were made, what files were modified.
Remembers Anti-Patterns — Things that went wrong. "Don't auto-commit without asking." "Don't use Vue.js for this project." "Don't plan more than 5 tasks per session." These are recorded and warned about.
Tracks Decisions — When you decide "use Django instead of Flask" or "switch the theme to light mode," Cortex records it with the reasoning. So next time, Claude knows WHY you made that choice.
Injects Context — At the START of every session, Cortex automatically loads your learnings, anti-patterns, decisions, and session stats into Claude's context. Claude starts smart, not blank.
Guards Against Mistakes — Before Claude runs a dangerous command (force push, rm -rf, hardcoded secrets), Cortex warns you. It also checks against YOUR specific anti-patterns, not just generic rules.
Evolves Itself — Over time, Cortex adjusts its own thresholds based on your behavior. If you keep ignoring a warning, it suppresses it. If a pattern appears 5+ times, it promotes it to a permanent learning.
# Add the marketplace (one-time)
claude plugin marketplace add github:PretInnov-Inc/forge-marketplace
# Install Cortex
claude plugin install cortex@pretinnov-plugins
git clone https://github.com/PretInnov-Inc/forge-marketplace.git
claude --plugin-dir ./forge-marketplace/plugins/cortex
Cortex has 5 configuration options it asks when you enable it:
| Setting | What It Means | Default |
|---|---|---|
scope_task_threshold | How many tasks before Cortex warns you about scope creep | 5 |
repetitive_edit_threshold | How many times you edit the same file before Cortex flags it | 5 |
auto_evolution | Should Cortex automatically adjust its own rules? | true |
default_output_style | How Claude formats responses: learning, terse, or verbose | learning |
health_alert_threshold | Session health score below which Cortex alerts you | 40 |
Don't worry about getting these perfect — Cortex adjusts them over time if you enable auto_evolution.
/cortex:cortex — The DashboardWhat it does: Shows you everything Cortex knows — learnings, anti-patterns, decisions, session stats, and health trends.
How to use it:
# Full dashboard
/cortex:cortex
Example output:
═══════════════════════════════════════════
CORTEX DASHBOARD
═══════════════════════════════════════════
Sessions: 47 total | Avg health: 68/100
Learnings: 23 recorded
Anti-patterns: 8 active
Decisions: 12 tracked (3 pending)
Recent Session Health:
#47: 82/100 ▲ (django project, 4 files modified)
#46: 55/100 ▼ (scope creep, 2 errors)
#45: 91/100 ▲ (clean session, tests passed)
Top Learnings:
- [scope] Sessions with 5+ tasks complete at 40% rate
- [testing] Testing is nearly always skipped when it's the last task
- [stack] Django + HTMX + Tailwind is the validated stack
Active Anti-Patterns:
- Don't auto-commit without explicit user request
- Don't propose SDK approaches without verifying installed packages
- Don't plan 10+ step tasks in a single session
═══════════════════════════════════════════
/cortex:decisions — Decision JournalWhat it does: Records, queries, and manages important decisions you make during coding.
Why it matters: Two weeks from now, you won't remember WHY you chose Django over Flask. Cortex remembers for you, and tells Claude about it in future sessions.
How to use it:
# See all decisions for current project
/cortex:decisions
# Record a new decision
/cortex:decisions add Use PostgreSQL instead of SQLite for production
# Search decisions
/cortex:decisions search authentication
# Close a decision (mark outcome as success/failure)
/cortex:decisions close 3 success Worked perfectly in production
# See only pending decisions
/cortex:decisions pending
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub pretinnov-inc/claude-plugin-marketplace --plugin cortex