cortex-memory
Persistent memory for AI agents. Knowledge survives across sessions: recall past decisions, track evolving beliefs, detect contradictions via NLI, and build a knowledge graph over time. 60 tools over MCP, with FSRS spaced-repetition scheduling and spreading-activation retrieval. Runs locally on SQLite and Ollama, so no cloud account is needed. Skill: cortex-memory Owner: fozikio Summary: Persistent memory for AI agents. Knowledge survives across sessions: recall past decisions, track evolving beliefs, detect contradictions via NLI, and build a knowledge graph over time. 60 tools over MCP, with FSRS spaced-repetition scheduling and spreading-activation retrieval. Runs locally on SQLite and Ollama, so no cloud account is needed. Tags: agents:1.0.1, code-revi
Rank
62
Safety
84
Downloads
1.4k
Updated
Oct 10, 2026
Version
1.0.3
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.4K downloadsadoption · observed Oct 10, 2026
- Latest release
- 1.0.3release · observed Jul 31, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s174thqtasmtez8pcz57f07ha18bj3g8:cortex-engine- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-fozikio-cortex-engine/snapshot"
Documentation
CLAWHUB
39,087 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: cortex-memory
version: 1.1.0
description: Persistent cognitive memory for AI agents — query, record, review, and consolidate knowledge across sessions with spreading activation, FSRS scheduling, and NLI contradiction detection.
author: idapixl
tags: [memory, cognition, mcp, agents, knowledge-graph, spaced-repetition, code-review, fsrs]
---
# Cortex Memory
Persistent memory engine for AI agents. Knowledge survives across sessions — recall what you learned last week, track evolving beliefs, detect contradictions, and build a knowledge graph over time.
**Source:** [github.com/Fozikio/cortex-engine](https://github.com/Fozikio/cortex-engine) (MIT) | [npm](https://www.npmjs.com/package/@fozikio/cortex-engine)
## Prerequisites
This skill requires [cortex-engine](https://github.com/Fozikio/cortex-engine) running as an MCP server. Install it separately before using this skill:
```bash
npm install -g @fozikio/cortex-engine
```
> **Install the scoped package, unpinned.** The unscoped `cortex-engine` on npm is the old name and is deprecated — but old versions of it still resolve, so pinning one installs an ancient engine that works just well enough to hide the problem. Always use `@fozikio/cortex-engine`, and let it take the latest.
Then initialize and start:
```bash
fozikio init my-agent # scaffold a workspace
fozikio up # start ollama + nli, wait until they answer
fozikio serve # start the MCP server (stdio)
```
If anything goes wrong, `fozikio doctor` diagnoses the install and tells you how to fix it.
Runs locally with SQLite + Ollama. No cloud accounts needed. The skill instructions below are read-only — they teach your agent how to use cortex tools, they don't execute anything.
## Managing the services
`cortex-engine` 1.4.0+ ships a service supervisor, so you do not have to babysit Ollama:
| Command | What it does |
|---|---|
| `fozikio up` | start every service and wait until it actually answers |
| `fozikio status` | service health (HTTP probe, not PID liveness); exits 1 if unhealthy |
| `fozikio doctor` | diagnose the install and say how to fix what is broken |
| `fozikio dashboard` | live service and memory view |
| `fozikio down` | stop services it started |
`status` and `up` use an HTTP probe rather than checking whether a process exists, because a wedged process still holds the port. They also **adopt rather than kill**: if fozikio did not start a process, it will not stop it — which matters when the Ollama desktop app or another agent already owns `:11434`.
## Core Loop
**Read before you write.** Always check what you already know before adding more.
### Search
```
query("authentication architecture decisions")
```
Be specific. `query("JWT token expiry policy")` beats `query("auth")`. Results include relevance scores and connected concepts.
Explore around a result:
```
neighbors(memory_id)
```
### Record
**Facts** — things you confirmed:
```
observe("The API rate limits at 1000 req/min_meta.json
{
"ownerId": "kn72z63n9q59956xsvygf25e5d82xx7m",
"slug": "cortex-engine",
"version": "1.0.3",
"publishedAt": 1785481992564
}skill-card.md
## Description: <br> Persistent cognitive memory for AI agents: query, record, review, and consolidate knowledge across sessions with spreading activation, FSRS scheduling, and NLI contradiction detection. <br> This skill is ready for commercial/non-commercial use. <br> ## Publisher: <br> [idapixl](https://clawhub.ai/user/idapixl) <br> ### License/Terms of Use: <br> MIT-0 <br> ## Use Case: <br> Developers and agent builders use this skill to give agents persistent local memory for recalling prior decisions, tracking evolving beliefs, detecting contradictions, and continuing work across sessions. <br> ### Deployment Geography for Use: <br> Global <br> ## Known Risks and Mitigations: <br> Risk: The skill enables long-lived local memory that can retain project and personal context across sessions. <br> Mitigation: Avoid storing secrets or sensitive business details unless local retention is acceptable for the deployment. <br> Risk: The skill depends on a globally installed external npm package and local services. <br> Mitigation: Review the npm package and service behavior before installation, and use the documented scoped package @fozikio/cortex-engine. <br> ## Reference(s): <br> - [ClawHub skill page](https://clawhub.ai/idapixl/skills/cortex-engine) <br> - [cortex-engine GitHub repository](https://github.com/Fozikio/cortex-engine) <br> - [@fozikio/cortex-engine npm package](https://www.npmjs.com/package/@fozikio/cortex-engine) <br> ## Skill Output: <br> **Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br> **Output Format:** [Markdown with inline shell commands and tool-call examples] <br> **Output Parameters:** [1D] <br> **Other Properties Related to Output:** [Guides an agent through local MCP memory workflows for querying, recording, reviewing, and consolidating knowledge.] <br> ## Skill Version(s): <br> 1.0.3 (source: ClawHub release evidence) <br> ## Ethical Considerations: <br> Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/fozikio/skills/cortex-engine",
"sourceUrl": "https://clawhub.ai/fozikio/skills/cortex-engine",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T13:12:23.935Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-fozikio-cortex-engine/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-fozikio-cortex-engine/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T13:12:23.935Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.4K downloads",
"href": "https://clawhub.ai/fozikio/cortex-engine",
"sourceUrl": "https://clawhub.ai/fozikio/cortex-engine",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T13:12:23.935Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.3",
"href": "https://clawhub.ai/fozikio/cortex-engine",
"sourceUrl": "https://clawhub.ai/fozikio/cortex-engine",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-07-31T07:13:12.564Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-fozikio-cortex-engine/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-fozikio-cortex-engine/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.3",
"description": "Fixes an install path that silently installed a very old engine. - Install is now `npm install -g @fozikio/cortex-engine`, unpinned. The previous instructions pinned `[email protected]` - the unscoped package, which is deprecated but whose old versions still resolve. The documented path therefore installed an engine two major versions behind, which worked just well enough to hide the problem. The integrity hash was removed rather than updated: it verified correctly, because it was genuinely the hash of that old package. - `npx [email protected] fozikio init` was malformed regardless of version, since `fozikio` is a declared bin. Now `fozikio init my-agent`. - Documents the 1.4.0 service CLI, previously absent entirely: `up`, `status`, `doctor`, `dashboard`, `down`. `status` and `up` probe over HTTP rather than checking for a process, and adopt rather than kill - which matters when something else already owns port 11434. - Tool table corrected from 25 to the actual 60, across 13 categories. Threads, identity/evolution, content, social, graph and signals were missing. - skill-card.md: replaced the deprecated unscoped npm link, and removed the advice to \"verify the provided integrity checksum\" - it pointed at the same outdated artifact.",
"href": "https://clawhub.ai/fozikio/cortex-engine",
"sourceUrl": "https://clawhub.ai/fozikio/cortex-engine",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-07-31T07:13:12.564Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
