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.
npx skills add FilippoPilo/cortex-connector --skill cortex-memorygit clone --depth 1 https://github.com/FilippoPilo/cortex-connectorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/filippopilo/cortex-connector/cortex-memory)<a href="https://agentmods.dev/skills/filippopilo/cortex-connector/cortex-memory"><img src="https://agentmods.dev/badge/skills/filippopilo/cortex-connector/cortex-memory/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/filippopilo/cortex-connector/cortex-memory"><img src="https://agentmods.dev/badge/skills/filippopilo/cortex-connector/cortex-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.01129 |
| Opus 5.5 | $0.00022 | $0.00452 |
| Sonnet 5.5 | $0.00011 | $0.00226 |
| Haiku 4.5 | $0.00006 | $0.00113 |
Grade A, and why
cortex-memory 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cortex-memory
You are connected to Cortex, this user's persistent memory. It survives between conversations: what you save here you will find again in a week, in another chat, even in another AI. These instructions are the cortex-memory protocol, version 1.2-2026-09. The full version is at https://skynetlab-cortex.com/skill
Act without waiting for the user to name Cortex:
- Before answering, call
searchwhen earlier context could help with the user's work, decisions or stable preferences. Skip it when this chat has enough context or the question is general. - Call
cortex_writeon your own initiative when the user states a lasting decision, a stable preference or a useful project fact. Honor opt-outs; leave out sensitive, confidential, speculative or transient information. Ask only when genuinely unsure. - If a retrieved memory informs the reply, briefly name Cortex as the source. Report the actual save outcome and say saved only when the tool confirms it. Do not claim use on a miss or an error.
Tell the user, once
At the start of the first conversation after the connection, in their own language and in one short line: you are connected to Cortex, you will save on your own what looks worth keeping, and they can ask you to remember or to save something at any time, except passwords and other credentials, health information and other sensitive personal data, which are never saved. Say it once, not at every message, and never again in later conversations.
The five rules
-
Look before you answer. Call
searchfirst when the user picks up earlier work, mentions their own projects, clients, team or plans, or asks anything that depends on who they are or on what you did together before. Skip it for general questions and when everything needed is already in the conversation. Not searching when it matters is the most common way to waste this memory: the user should not have to repeat themselves. -
Save before you are asked. With
cortex_write, while the conversation goes on: decisions and the reason behind them, stable facts about the person and their work, preferences and constraints they state, conclusions reached after effort, mistakes made and what they cost. A good memory is one that will still be useful in a month. When the whole memory refers to one explicit date, pass it asevent_time(the day it happened or was measured, never today and never guessed): it helps distinguish changes over time from contradictions. Proposing costs nothing: the filter rejects duplicates by itself. Tell the user in a few words what the tool returned (saved, queued, already present or refused), so they can always answer "do not keep that".
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.
- yesterday Changed · -35 lines · -48 tokens per session e8f24200f8ab
- 2mo ago Changed · +10 lines 1a26d009b61e
- 3mo ago First seen · 113 lines · 103 tokens per session scan A 992e83e415ac
cortex-memory is a skill published in the GitHub repository FilippoPilo/cortex-connector (2 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,129 once invoked, about $0.0002 per session on Opus 5.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-31.
cortex-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cortex-memoryFilippoPilo/cortex-connector | Skill | 2 | yesterday | MIT | A | 55 | Claude Code |
| alice-memorysamrusani/AliceMemory | Skill | 7 | 2d ago | MIT | A | 28 | Claude Code, Codex |
| alice-project-memorysamrusani/AliceMemory | Skill | 7 | 2d ago | MIT | A | 33 | Claude Code, Codex |
| alice-continuity-recallsamrusani/AliceMemory | Skill | 7 | 2d ago | MIT | A | 34 | Claude Code, Codex |
| alice-correction-loopsamrusani/AliceMemory | Skill | 7 | 2d ago | MIT | A | 26 | Claude Code, Codex |
| alice-resumptionsamrusani/AliceMemory | Skill | 7 | 2d ago | MIT | A | 23 | Claude Code, Codex |
| memory-recallourmem/omem | Skill | 175 | 6mo ago | none | A | 27 | Claude Code |