← 返回 Skills 市场
idapixl

Cortex Engine

作者 IDAPIXL · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
294
总下载
1
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install cortex-engine
功能描述
Persistent cognitive memory for AI agents — query, record, review, and consolidate knowledge across sessions with spreading activation, FSRS scheduling, and...
使用说明 (SKILL.md)

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 (MIT) | npm

Prerequisites

This skill requires cortex-engine running as an MCP server. Install it separately before using this skill:

npm install [email protected]
# Integrity: sha512-8oIL8KenrdTdACAMSM/iqyrxx04yFE/3IfHx1dTF2439ljXhSCvULcNF5V10tH8UK7P/zuwmx3RuNynvjGi4kg==

Then initialize and start:

npx [email protected] fozikio init my-agent
npx [email protected]  # starts MCP server

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.

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 per API key, not per user")

Questions — unresolved:

wonder("Why does the sync daemon stall after 300k seconds?")

Hypotheses — unconfirmed ideas:

speculate("Connection pooling might fix the timeout issues")

Update beliefs

believe(concept_id, "Revised understanding based on new evidence", "reason")

Track work across sessions

ops_append("Finished auth refactor, tests passing", project="api-v2")
ops_query(project="api-v2")  # pick up where you left off

Memory-Grounded Reviews

Review code or designs by comparing against accumulated knowledge:

  1. Ground: query("the domain being reviewed") — load past decisions and patterns
  2. Compare: Does the work align with or diverge from established patterns?
  3. Record: observe() new patterns, wonder() about unclear choices, believe() updated understanding
  4. Output:
## Review — Grounded in Memory

### Aligned with known patterns
- [matches cortex context]

### Divergences
- [what differs, intentional or accidental]

### New patterns to capture
- [novel approaches worth observing]

Session Pattern

  1. Start: query() the topic you're working on
  2. During: observe() facts, wonder() questions as they come up
  3. End: ops_append() what you did and what's unfinished
  4. Periodically: dream() to consolidate memories (compress, abstract, prune)

Available Tools

Category Tools
Read query, recall, predict, validate, neighbors, wander
Write observe, wonder, speculate, believe, reflect, digest
Ops ops_append, ops_query, ops_update
System stats, dream
安全使用建议
This skill is a guide for using a local cortex-engine server rather than an installer or networked service. Before using it: (1) verify the referenced GitHub/npm package (review source code and maintainers) and confirm the provided integrity hash matches the package you install; (2) run the MCP server locally and restrict network exposure (firewall/localhost-only) so stored memories can't be exfiltrated; (3) be mindful that the agent using this skill may persist sensitive data to local memory—define retention/cleanup policies; and (4) if you need cloud-backed memory or connectors, expect additional credentials and review those separately. If you want higher assurance, provide the actual repository/homepage or any code the agent will run so you can audit it directly.
功能分析
Type: OpenClaw Skill Name: cortex-engine Version: 1.0.1 The skill bundle provides instructions for an AI agent to interface with 'Cortex Memory', an MCP-based persistent memory engine. The SKILL.md file outlines a comprehensive set of cognitive tools (e.g., query, observe, speculate, dream) and provides standard installation steps for the required 'cortex-engine' NPM package, including an integrity hash. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the content is entirely consistent with its stated purpose of enhancing agent cognition.
能力评估
Purpose & Capability
The skill's name/description match the SKILL.md: it teaches the agent how to use a local cortex-engine MCP server. It does not request unrelated credentials, binaries, or system paths.
Instruction Scope
SKILL.md contains guidance and example API calls (query, observe, believe, ops_append, etc.) scoped to memory management. It does not instruct the agent to read arbitrary host files, access unrelated environment variables, or send data to non-cortex endpoints.
Install Mechanism
This is instruction-only and includes a recommended npm install command (with an integrity hash) for a separate package; the skill itself does not perform any installs or download arbitrary URLs.
Credentials
No environment variables, credentials, or config paths are required by the skill. The requested resources are proportional to the documented function (a local memory MCP).
Persistence & Privilege
always is false and the skill does not request elevated or cross-skill configuration. Autonomous invocation is allowed by default (expected); the skill does not demand permanent platform presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cortex-engine
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cortex-engine 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Added npm integrity checksum (sha512). Reframed setup as prerequisites section to clarify the skill itself is instruction-only.
v1.0.0
Consolidated from cortex-query + cortex-review. Fixed security: pinned npm versions, added source repo links for verification.
元数据
Slug cortex-engine
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Cortex Engine 是什么?

Persistent cognitive memory for AI agents — query, record, review, and consolidate knowledge across sessions with spreading activation, FSRS scheduling, and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 294 次。

如何安装 Cortex Engine?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cortex-engine」即可一键安装,无需额外配置。

Cortex Engine 是免费的吗?

是的,Cortex Engine 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cortex Engine 支持哪些平台?

Cortex Engine 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cortex Engine?

由 IDAPIXL(@idapixl)开发并维护,当前版本 v1.0.1。

💬 留言讨论