cortex-remember-global skill
✓ VerifiedStore and manage universal knowledge, architecture rules, and coding conventions that are visible across all projects in global memory.
- GitHub stars
- 76
- Files
- 1
- Last commit
- Nov 12, 2026
- License
- MIT
- Allowed tools
- —
What does the cortex-remember-global skill do?
cortex-remember-global stores and manage universal knowledge, architecture rules, and coding conventions that are visible across all projects in global memory.
Summary generated from the skill's SKILL.md.
About the cortex-remember-global skill
Maintaining consistent standards across multiple repositories is what this skill enables by storing knowledge in a global memory layer. Developers use it to preserve architecture rules, coding conventions, infrastructure facts, and security policies that must remain visible regardless of which specific project is currently active. When an agent identifies universal information like SOLID principles or server addresses, it can use the cortex:remember command with the is_global flag set to true to ensure the data bypasses domain filtering during recall.
This tool distinguishes itself through an auto-detection system that uses a weighted signal classifier to identify global patterns. If the system detects signals related to categories like infrastructure or security, it can automatically promote the memory to global status without explicit instructions. Users can also use the cortex:anchor command to prevent high-value core architecture rules from decaying over time. The resulting memories are organized by tags such as architecture, convention, or policy, allowing for structured retrieval across an entire development ecosystem.
What an agent can do with it
- 1Preserve core architectural principlesEnsure the agent always follows clean architecture rules regarding layer imports in all future tasks.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the cortex-remember-global skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the cortex-remember-global skill in Plugin
/plugin marketplace add cdeust/Cortex /plugin install hypermnesia-mcp@cortex-plugins
Install the cortex-remember-global skill in Claude Code
~/.claude/skills/cortex-remember-global/SKILL.md
$ npx degit cdeust/Cortex/skills/cortex-remember-global ~/.claude/skills/cortex-remember-globalInstall the cortex-remember-global skill in Claude Code (project)
.claude/skills/cortex-remember-global/SKILL.md
$ npx degit cdeust/Cortex/skills/cortex-remember-global .claude/skills/cortex-remember-globalInstall the cortex-remember-global skill in Codex
~/.agents/skills/cortex-remember-global/SKILL.md
$ npx degit cdeust/Cortex/skills/cortex-remember-global ~/.agents/skills/cortex-remember-globalInstall the cortex-remember-global skill in Gemini CLI
~/.gemini/skills/cortex-remember-global/SKILL.md
$ npx degit cdeust/Cortex/skills/cortex-remember-global ~/.gemini/skills/cortex-remember-globalInstall the cortex-remember-global skill in Claude.ai
npx degit cdeust/Cortex/skills/cortex-remember-global cortex-remember-global && zip -r cortex-remember-global.zip cortex-remember-global # claude.ai → Customize → Skills → + → Create skill → Upload a skill → cortex-remember-global.zip
Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work
- Source repository linked and reachablecdeust/cortex/skills/cortex-remember-global is public and reachablegithub.com/cdeust/cortex/tree/HEAD/skills/cortex-remember-gl ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-12github.com/cdeust/cortex/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/cdeust/cortex/blob/HEAD/skills/cortex-remember-gl ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/cdeust/cortex/blob/HEAD/skills/cortex-remember-gl ↗Pass
- SKILL.md follows the Agent Skills formatValid name and description; says when to use it; 85 linesgithub.com/cdeust/cortex/blob/HEAD/skills/cortex-remember-gl ↗Pass
SKILL.md
View on GitHubRemember 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
Step 3: Verify Global Status
The response includes:
is_global: true— confirms cross-project visibilityglobal_reason: "explicit"— stored because you explicitly requested it
Step 4: Anchor for Permanence (Optional)
Global memories are already high-value, but if they must never decay:
cortex:anchor({
"memory_id": <id>,
"reason": "Core architecture rule — permanent"
})
Auto-Detection
Even without is_global: true, Cortex automatically detects global content using a weighted signal classifier across 6 categories:
| Category | Example signals |
|---|---|
| Architecture | clean architecture, SOLID, dependency injection, composition root |
| Convention | coding standard, naming convention, best practice, team agreement |
| Infrastructure | server at, database URL, Docker compose, CI/CD pipeline |
| Security | API key rotation, credential policy, authentication, encryption |
| Cross-project | all projects, shared across, universal, applies everywhere |
| Knowledge | UTC timestamps, WAL mode, connection pools, idempotency |
If the weighted score exceeds threshold 3.0, the memory is automatically global — no explicit flag needed.
Tips
- Be declarative: "Inner layers never import outer layers" is better than "We should probably avoid importing infrastructure in core"
- One rule per memory: Don't bundle 5 conventions into one memory — store each separately for better retrieval
- Tag consistently: Use
architecture,convention,infrastructure,security,policytags for easy filtering - Review with visualization: Use
cortex:open_visualizationand click the "Global" filter to see all cross-project knowledge
Files in this skill
1cortex-remember-global skill questions
How do I install the cortex-remember-global skill in Claude Code?
Run npx degit cdeust/Cortex/skills/cortex-remember-global ~/.claude/skills/cortex-remember-global. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the cortex-remember-global skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
What kind of information should be stored as global memory?
You should store knowledge that transcends a single project, such as architecture rules, coding conventions, infrastructure facts, security policies, and team agreements.
How can I ensure a memory is permanent and does not decay?
You can use the anchor function to ensure high-value global memories remain permanent.
Does Cortex automatically detect global information?
Yes, Cortex uses a weighted signal classifier to automatically detect global content across categories like architecture, infrastructure, and security.