claude

prompt-cortex

Invisible prompt intelligence layer for Claude Code. Matches user input against proven prompt patterns and silently injects optimal framing as context.

1 on GitHubby Daniel Hjermitslevv1.3.0MITupdated 7 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin prompt-cortex in dnh33/prompt-cortex. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Slash commands (12)

  • /prompt-cortex:add

    Create a new prompt-cortex template from natural language — generates proper frontmatter, saves to the correct category directory, and rebuilds the index

  • /prompt-cortex:context

    Display current project intelligence — detected tech stack, active rules, and configuration

  • /prompt-cortex:debug

    Show what prompt-cortex would inject for the last prompt — displays matched templates, confidence scores, leave-alone score, and disposition

  • /prompt-cortex:feedback

    Rate the last prompt-cortex injection as good or bad — logs explicit quality signals to usage.jsonl for future template tuning

  • /prompt-cortex:list

    List all available prompt-cortex templates by category, with optional search/filter

  • /prompt-cortex:preset

    Manage prompt-cortex presets — activate, deactivate, list, or create custom presets

  • /prompt-cortex:show

    Display the full template body that prompt-cortex injected on your last prompt — shows exactly what Claude received as additional context

  • /prompt-cortex:stats

    Display prompt-cortex usage analytics — most-used templates, confidence trends, rejection rate, and project-specific template affinity from local telemetry

  • /prompt-cortex:suggest

    Analyze CLAUDE.md to generate project-specific template configuration

  • /prompt-cortex:sync

    Rebuild the prompt-cortex template index — validates all templates, rebuilds index.json, and reports stats

  • /prompt-cortex:tier

    Set the minimum quality tier for prompt-cortex template matching — gold (curated only), silver (default, full library), or all (including bronze)

  • /prompt-cortex:transparent

    Toggle transparent mode — when enabled, prompt-cortex appends a brief note after each injection showing which template was applied and at what confidence

Hooks (3)

  • SessionStart

    "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" cortex-session-init

  • UserPromptSubmit

    "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" cortex-match

  • CwdChanged

    "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" cortex-cwd-changed

View source on GitHub

Similar plugins

Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.

2 skills · 2 commands · 2 agents · 1 MCP server

f/prompts.chat 177,027

diff

claude

The diff pane as a plugin: /diff opens the session's uncommitted changes beside the transcript, file by file with their hunks, refreshed as Claude edits and runs commands; the first edit opens it where the terminal is wide enough, and a file's ask button rides its hunks on the next prompt.

anthropics/claude-code 155,476

nextjs

claude

Official Next.js skills: adopt and optimize Cache Components, adopt Partial Prefetching, and verify runtime behavior against a running dev server.

6 skills

vercel/next.js 143,495

Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations

24 skills · 1 command · 1 agent · hooks

ruvnet/ruflo 81,589

last30days

claudecodex

Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.

1 skill

mvanhorn/last30days-skill 67,453

Cloud architecture design for AWS/Azure/GCP/OCI, Kubernetes cluster configuration, Terraform infrastructure-as-code, hybrid cloud networking, and multi-cloud cost optimization

8 skills · 7 agents

wshobson/agents 42,461

Maintain prompt-cortex?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted