cortex-remember-global

cortex-remember-global is a skill for Claude Code from cdeust/Cortex. It costs 99 tokens per session (913 once invoked), scanned A, original, MIT.

A Cortex workflow for saving knowledge that should be available in every project, such as coding conventions, architecture rules, infrastructure facts, security policies, or team agreements. Cortex is a memory system that can recall this shared information across projects.

In plain words
What is it for?
Use it when a rule, fact, or agreement applies broadly rather than to just the current codebase.
Why use it?
It prevents important cross-project knowledge from being stored only in one repository or forgotten between sessions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hypermnesia-mcp plugin — 13 skills, 4 commands, 5 agents, 2 MCP servers shipped together

Good fit Use it when a rule, fact, or agreement applies broadly rather than to just the current codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdeust/cortex/cortex-remember-global
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.

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

Made for: Claude Code.

Or install hypermnesia-mcp, the plugin that ships this one along with the rest of its 13 skills, 4 commands, 5 agents, 2 MCP servers.

Wrote 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.

agentmods badge for cortex-remember-global

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdeust/cortex/cortex-remember-global/github.svg)](https://agentmods.dev/skills/cdeust/cortex/cortex-remember-global)
Your own site
<a href="https://agentmods.dev/skills/cdeust/cortex/cortex-remember-global"><img src="https://agentmods.dev/badge/skills/cdeust/cortex/cortex-remember-global/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.

agentmods 80×15 button for cortex-remember-global

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdeust/cortex/cortex-remember-global"><img src="https://agentmods.dev/badge/skills/cdeust/cortex/cortex-remember-global.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 913 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00099 $0.00913
Opus 5.5 $0.00040 $0.00365
Sonnet 5.5 $0.00020 $0.00183
Haiku 4.5 $0.00010 $0.00091

Measured 3mo ago against content hash a7235c276e0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cortex-remember-global 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 3mo ago.

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-remember-global/SKILL.md · 85 lines

How it starts

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

Remember Global — Store Cross-Project Knowledge

Keywords

global, everywhere, all projects, cross-project, shared, universal, convention, standard, rule, infrastructure, policy, team agreement, always, never, architecture rule, coding standard

Overview

Store knowledge that transcends any single project into Cortex's global memory. Global memories bypass domain filtering during recall — they're visible from every project you work on. Use this for architecture rules, coding conventions, infrastructure facts, security policies, and team agreements.

Cortex auto-detects many global patterns (clean architecture, dependency injection, server addresses, etc.), but use this skill explicitly when you want to guarantee cross-project visibility.

Workflow

Step 1: Identify Cross-Project Knowledge

Good candidates for global memory:

  • Architecture rules: "Always follow clean architecture — inner layers never import outer layers"
  • Coding conventions: "Use UTC timestamps in all database layers"
  • Infrastructure: "Production database at db.internal:5432, daily backups at 3AM UTC"
  • Security policies: "Rotate API keys every 90 days, store in 1Password vault"
  • Team agreements: "PRs must be under 300 lines, always include tests"
  • Reusable patterns: "Use factory injection for all handler composition roots"

Not global (project-specific): bug fixes, feature decisions for one project, file-specific notes.

Step 2: Store as Global

cortex:remember({
  "content": "<clear, self-contained knowledge that applies across projects>",
  "tags": ["<category>", "<topic>"],
  "is_global": true,
  "force": true
})

Content guidelines:

  • Write as a rule or fact, not a narrative: "Always use UTC" not "Today we decided to use UTC in the auth service"
  • Include the why when it's a rule: "Use dependency injection because it enables testing and follows SOLID"
  • Keep it universal — no project-specific file paths, PR numbers, or branch names

Read the full file on GitHub · 85 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. 3mo ago First seen · 85 lines · 99 tokens per session scan A a7235c276e0e

Subscribe to this mod's changes

cortex-remember-global is a skill published in the GitHub repository cdeust/Cortex (78 stars, last pushed yesterday), licensed MIT. It adds 99 tokens to every session and 913 once invoked, about $0.0004 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-30.

Related

cortex-remember-global compared with skills from other repositories

cortex-remember-global next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cortex-remember-globalcdeust/CortexSkill78yesterdayMITA99Claude Code
xmemo-memoryyonro/memory-os-cliSkill13todayMITA108Claude Code, Codex
ceo-company-knowledge-vaultmelaya-labs/melaya-mcpSkill12d agoApache-2.0A108Claude Code
melaya-obsidian-vaultmelaya-labs/melaya-mcpSkill12d agoApache-2.0A215Claude Code
temporal-queryn24q02m/mnemo-mcpSkill112mo agoApache-2.0A77Claude Code
knowledge-auditn24q02m/mnemo-mcpSkill112mo agoApache-2.0A21Claude Code
memory-commitn24q02m/mnemo-mcpSkill112mo agoApache-2.0A72Claude Code