skills/cortex-skills-loop/SKILL.md
Drives the cortex skills recommend-feedback-rate loop. Use when a context change occurs (new file types, domain shift, task pivot) or when a task completes and skill effectiveness should be recorded.
npx skillsauth add nickcrew/claude-cortex cortex-skills-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The cortex CLI includes an AI-powered recommendation engine that learns from usage patterns. This skill establishes the workflow for participating in that learning loop: get recommendations when context shifts, provide feedback on recommendation quality, and rate skills after use. Each interaction improves future recommendations.
Run cortex skills recommend when any of these mismatch signals appear:
git diff or the working set includes file types not covered by
active skills (e.g., .tf Terraform files appear but no infrastructure skill is active,
or **/auth/** paths get touched without security skills loaded)Do not run recommendations on every session start or for routine tasks where the active skill set is clearly appropriate. The loop adds value through selective, signal-driven use.
When a context change is detected, run:
cortex skills recommend
This analyzes the current git state, active agents, and historical patterns to suggest skills grouped by confidence level:
To check what is currently active before acting on recommendations:
cortex status
For full option details: cortex skills recommend --help
After a recommendation has been acted on (activated or dismissed), record whether it was useful:
cortex skills feedback <skill-name> helpful --comment "Caught auth vulnerability early"
cortex skills feedback <skill-name> not-helpful --comment "Not relevant to this API work"
Positive feedback with context available teaches the recommender to associate the current
project context with that skill for future sessions. Always provide a --comment when possible
to enrich the learning signal.
For full option details: cortex skills feedback --help
After a task completes and a skill was active during the work, rate its contribution:
cortex skills rate <skill-name> --stars <1-5> --review "Description of experience"
Additional flags to enrich the signal:
--helpful / --not-helpful — binary usefulness indicator--succeeded / --failed — whether the task the skill supported succeededRatings feed back into the recommendation engine. Highly rated skills get prioritized in future suggestions; low-rated skills get demoted.
To view existing ratings before adding one: cortex skills ratings <skill-name>
To discover top-performing skills: cortex skills top-rated
For full option details: cortex skills rate --help
The recommend-feedback-rate cycle is cumulative. Each interaction updates the SQLite-backed learning database, improving four recommendation strategies:
When multiple strategies converge on the same skill, confidence gets boosted. Consistent feedback and ratings are what make this convergence happen over time.
| Action | Command |
|--------|---------|
| Get recommendations | cortex skills recommend |
| Check current status | cortex status |
| Give positive feedback | cortex skills feedback <skill> helpful --comment "..." |
| Give negative feedback | cortex skills feedback <skill> not-helpful --comment "..." |
| Rate a skill (1-5 stars) | cortex skills rate <skill> --stars N --review "..." |
| View skill ratings | cortex skills ratings <skill> |
| See top-rated skills | cortex skills top-rated |
| View usage analytics | cortex skills analytics |
development
Product vision, roadmap development, and go-to-market execution with structured prioritization frameworks. Use when evaluating features, planning product direction, or assessing market fit.
development
Complete operational workflow for implementer agents (Codex, Gemini, etc.) making code changes and writing tests. Drives all work through atomic commits — each loop operates on the smallest complete, reviewable change. Defines the Code Change Loop, Test Writing Loop, Lint Gate, and Issue Filing process with circuit breakers, severity levels, and escalation rules. Requires `cortex git commit` for all commits. Includes bundled provider-aware review scripts that keep same-model shell-outs as the last resort, plus a fresh-context Codex fallback for code review and test audit. Use this skill when starting any implementation task.
development
Use this skill when writing product requirements documents, prioritizing features, creating user stories, defining acceptance criteria, or setting product metrics. Trigger phrases: 'write a PRD for', 'prioritize this feature backlog', 'write user stories for', 'help me define acceptance criteria', 'what metrics should we track for'. Not for writing code, designing UI mockups, or conducting user research interviews.
tools
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.