Skip to content
Agentmart
Submit a tool

cortex-skills-loop

Drives the cortex skills recommend-feedback-rate loop.

Skill by NickCrew

IndexedMIT★ 61
Write a review

Chalk Labs

Need help deploying cortex-skills-loop?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nickcrew-cortex-skills-loop

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: spreadsheets, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cortex-skills-loop

What's inside

Skill name
cortex-skills-loop
Description
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.
License
MIT
Instructions
125 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Cortex Skills Loop

## Overview

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.

## When to Engage

### Signals That Trigger Recommendations

Run `cortex skills recommend` when any of these mismatch signals appear:

- **File pattern shift** — `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)
- **Agent activation change** — a new agent gets activated that likely has complementary skills
  not yet loaded (the recommender maps agents to skill sets internally)
- **Explicit domain pivot** — the user switches focus to a different domain ("now let's handle
  the database migrations") and the current skill set is oriented elsewhere
- **Skill gap felt** — a task requires domain knowledge that no active skill covers, or an
  active skill is providing no value to the current work

### Signals That Trigger Rating/Feedback

- **Task completion** — a skill was active during work that just finished successfully
- **Recommendation acted on** — a recommendation was recently followed or dismissed
- **Negative experience** — a skill actively misled or produced unhelpful guidance

### When Not to Engage

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.

## Workflow

### 1. Recommend — Surface Relevant Skills

When a context change is detected, run:

```bash
cortex skills recommend
```

This analyzes the current git state, active agents, and historical patterns to suggest skills
grouped by confidence level:

- **High confidence (>=0.8):** Auto-activate candidates — consider activating immediately
- **Medium confidence (0.6-0.8):** Worth reviewing with the user
- **Low confidence (<0.6):** Informational only

To check what is currently active before acting on recommendations:

```bash
cortex status
```

For full option details: `cortex skills recommend --help`

### 2. Feedback — Improve Recommendation Quality

After a recommendation has been acted on (activated or dismissed), record whether it was useful:

```bash
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`

### 3. Rate — Record Skill Effectiveness

After a task completes and a skill was active during the work, rate its contribution:

```bash
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 succeeded

Ratings 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`

## Closing the Loop

The recommend-feedback-rate cycle is cumulative. Each interaction updates the SQLite-backed
learning database, improving four recommendation strategies:

1. **Semantic similarity** — embeds successful session contexts for future matching
2. **Rule-based** — matches file patterns to skill suggestions
3. **Agent-based** — maps active agents to complementary skills
4. **Pattern-based** — promotes skills with high historical success rates

When multiple strategies converge on the same skill, confidence gets boosted. Consistent
feedback and ratings are what make this convergence happen over time.

## Quick Reference

| 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 "..."` |

From NickCrew/Claude-Cortex, MIT.

More from NickCrew/Claude-Cortex

Signals

Stars
61
Forks
15
Open issues
3
Last commit (this folder)
Apr 23, 2026 (6 months ago)
Last release
Jun 2, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from NickCrew

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get cortex-skills-loop running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying cortex-skills-loop?

CallGet help
Cite this page

cortex-skills-loop. Agent Mart. https://agentmart.dev/skills/nickcrew-cortex-skills-loop (last updated 2026-10-24)