cortex-profile

A profile-management workflow for Cortex, which learns how you explore code, work across sessions, and tend to make decisions. It can show your working patterns, blind spots, and connections between projects or domains.

In plain words
What is it for?
Use it at the start of a session, when reviewing your working style, or after substantial work when your profile should be rebuilt.
Why use it?
It gives coding assistance more context about how you work and helps you notice repeated habits or gaps in your approach.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cdeust/cortex/cortex-profile
Any agent
npx skills add cdeust/Cortex --skill cortex-profile
Clone the repo
git clone --depth 1 https://github.com/cdeust/Cortex

Made for: Claude Code, Codex.

Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 814 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00098 $0.00814
Opus 5 $0.00049 $0.00407
Sonnet 5 $0.00020 $0.00163
Haiku 4.5 $0.00010 $0.00081

Measured yesterday against content hash ff41b32535bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cortex-profile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cortex-profile/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Profile — Cognitive Profiling and Methodology

Keywords

profile, methodology, cognitive style, work patterns, blind spots, how do I work, thinking style, domains, rebuild profile, my patterns, session history, cognitive, behavioral, persona

Overview

Cortex builds a cognitive profile from your Claude Code session history — how you explore code, which tools you prefer, what patterns you repeat, where you have blind spots, and how your style connects across different project domains. This profile is used to calibrate responses and surface relevant context.

Use this skill when: Starting a session (auto-injected via hook), wanting to understand your work patterns, or needing to rebuild profiles after significant new work.

Workflow

Step 1: Load Current Profile

cortex:query_methodology({
  "cwd": "<current working directory>",
  "first_message": "<what the user is working on>"
})

Returns:

  • Cognitive style — Felder-Silverman dimensions (active/reflective, sensing/intuitive, visual/verbal, sequential/global)
  • Entry patterns — How you typically start work in this domain
  • Recurring patterns — Behavioral patterns that repeat across sessions
  • Blind spots — Categories, tools, or patterns you tend to miss
  • Connection bridges — Cross-domain analogies and structural similarities
  • Hot memories — Most relevant active memories for this context
  • Fired triggers — Prospective memories activated by the current context

Step 2: Explore Behavioral Features

Dive deeper into your behavioral profile:

cortex:explore_features({ "mode": "persona" })

Returns your 12-dimensional persona vector: exploration depth, tool diversity, session persistence, abstraction level, error recovery, etc.

Other exploration modes:

  • "mode": "features" — What behavioral dictionary features activate for this domain
  • "mode": "attribution" — How the pipeline traces decisions back to behavioral signals
  • "mode": "crosscoder" — Behavioral patterns that persist across different project domains

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 89 lines · 98 tokens per session scan A ff41b32535bf

Subscribe to this mod's changes

cortex-profile is a skill published in the GitHub repository cdeust/Cortex (71 stars, last pushed 3d ago), licensed MIT. It adds 98 tokens to every session and 814 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — errors, failed tool calls, latency, regressions, and low online-eval scores — plus Diagnostics issues. Reads live/production traces via the SDK (searchtraces and agentinsights) and works with no MCP; uses the MCP issue entity when connected.…

comet-ml/opik-mcp · 147 tokens

genesis-development

This skill should be used when developing, debugging, refactoring, or building Genesis itself — tasks like "fix this in Genesis", "add a new MCP tool", "wire up the runtime", "Genesis won't start", "create a worktree", "debug the bridge", or "add a capability". Applies to any task modifying files under src/, .claude/…

WingedGuardian/GENesis-AGI · 115 tokens

client-scripts

Write ServiceNow client scripts (onLoad/onChange/onSubmit/onCellEdit) using gform, guser, GlideAjax, field visibility/mandatory toggles, and validation with debounced server calls.

serac-labs/serac · 45 tokens

agoragentic-transaction-assurance

Prepare, evaluate, and reconcile autonomous agent transactions without self-granting payment or owner authority. Use when an agent must bind principal authority, seller terms, payment evidence, execution, delivered outcome, and reconciliation; handle paid retries safely; or prepare an authority request for owner…

rhein1/agoragentic-integrations · 65 tokens

linkding

Manage bookmarks with Linkding. Use when the user asks to "save a bookmark", "add link", "search bookmarks", "list my bookmarks", "find saved links", "tag a bookmark", "archive bookmark", "check if URL is saved", "list tags", "create bundle", or mentions Linkding bookmark management.

jmagar/claude-homelab · 69 tokens