Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

engram-brain印迹脑

Agent Skill

engram-brain 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,370

周安装

226

GitHub Stars

1

下载量

1,880
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:engram-brain(印迹脑)
来源仓库:https://github.com/moshik21/engram-brain
安装命令:
openclaw skills install engram-brain
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install engram-brain

简介

适用于需要持久化记忆和多轮对话内容回溯的研究与任务场景。

  • 通过关键词检索、上下文关联和候选结果排序提升信息获取效率。
  • 核心能力包括知识图构建、engram-brain 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • ACT-R 激活机制和 15 阶段巩固流程。
  • 通过 clawhub 安装,需确认权限范围及是否涉及联网或文件操作。

SKILL.md

name
engram-brain
description
Persistent long-term memory powered by knowledge graphs, ACT-R activation, and 15-phase consolidation. Remember conversations across sessions, recall relevant context automatically, and build a private brain that improves over time. Zero LLM cost by default.
version
0.3.1
license
Apache-2.0
user-invocable
true
metadata
openclaw
requires
env
[]
anyBins
optionalEnv
emoji
\F9E0
homepage
https://github.com/Moshik21/engram
install
uv
engram
tags

Engram Memory

You have access to Engram, a persistent memory system that builds a temporal knowledge graph from conversations. It uses ACT-R cognitive architecture for activation-aware retrieval and runs offline consolidation inspired by biological memory.

Works with both lite (SQLite) and full (HelixDB Docker) Engram installs. Zero LLM cost by default — all consolidation scoring, replay, and retrieval are deterministic. Optional Anthropic API key enables richer entity extraction.

Setup

The Engram server must be running locally. No API keys are required for basic operation.

Package install (recommended)

uv tool install engram
engramctl setup
engramctl start
engramctl install-openclaw

Docker install

docker pull ghcr.io/moshik21/engram:latest
docker run -d -p 8100:8100 --name engram ghcr.io/moshik21/engram:latest

Then add the OpenClaw skill:

engramctl install-openclaw

Source install

Clone the repo, review the code, then build locally:

git clone https://github.com/Moshik21/engram.git ~/engram
cd ~/engram/server
uv sync
uv run engram setup
uv run engram serve

Installer script (alternative)

An interactive installer is available. Review it before running:

# Review first:
curl -sSL https://raw.githubusercontent.com/Moshik21/engram/main/scripts/install.sh -o install.sh
less install.sh
# Then run:
bash install.sh

MCP Server

For Claude Desktop / Claude Code integration:

uv run engram mcp                                          # stdio (default)
uv run engram mcp --transport streamable-http --port 8200  # HTTP

Environment variables

All optional:

  • ANTHROPIC_API_KEY — enables richer entity extraction via Claude Haiku. Without it, Engram uses a deterministic narrow extractor (zero cost).
  • ENGRAM_GROUP_ID — namespace for multi-brain setups. Defaults to "default". Most users never need to set this.

The REST API is available at http://127.0.0.1:8100. Check status with engramctl status.

If you know the current project path, bootstrap it once at session start so artifact-backed routing has parity with memory:

POST http://localhost:8100/api/knowledge/bootstrap
Content-Type: application/json

{"project_path": "<absolute project path>", "session_id": "<optional session id>"}

When to Observe vs Remember

Default to observe for most content. Use remember only for high-signal items.

Use observe when:

  • General conversation context or topics discussed
  • Information that might be useful later but is not critical
  • Bulk context from a long conversation
  • You are uncertain whether something is worth a full remember

Use remember when:

  • The user explicitly asks you to remember something
  • Personal identity facts (name, location, job title)
  • Explicit preferences or corrections to prior knowledge
  • Key decisions that will affect future interactions
  • Goals, plans, or deadlines with concrete details

How to Store Memories

To observe (fast, cheap, no extraction):

POST http://localhost:8100/api/knowledge/observe
Content-Type: application/json

{"content": "<text to store>", "source": "openclaw"}

To remember (full extraction with entities and relationships):

POST http://localhost:8100/api/knowledge/remember
Content-Type: application/json

{"content": "<important text>", "source": "openclaw"}

To forget (soft delete outdated information):

POST http://localhost:8100/api/knowledge/forget
Content-Type: application/json

{"entity_name": "<entity to forget>"}

How to Recall Memories

At the start of every conversation, get broad context:

GET http://localhost:8100/api/knowledge/context

When the user references something from the past or you need relevant context:

GET http://localhost:8100/api/knowledge/recall?q=<query>&limit=5

For project-truth questions, route first:

POST http://localhost:8100/api/knowledge/route
Content-Type: application/json

{"question": "<user question>", "project_path": "<optional project path>"}

Use the returned answerContract as response policy, not just source routing. If the route says inspect or reconcile, treat evidencePlan.requiredNextSources as mandatory. Carry the same project_path into artifact/runtime calls before answering:

GET http://localhost:8100/api/knowledge/artifacts/search?q=<query>&project_path=<optional path>&limit=5
GET http://localhost:8100/api/knowledge/runtime?project_path=<optional path>

To search for specific entities:

GET http://localhost:8100/api/entities/search?q=<name>

To search for specific facts and relationships:

GET http://localhost:8100/api/knowledge/facts?q=<query>

search_facts is user-facing by default. Internal decision/artifact graph edges stay hidden unless you explicitly opt into debug mode with include_epistemic=true.

Guidelines

  • Call the context endpoint once at the start of each new conversation
  • For personal continuity turns like "my son did great today" or "talked to Sarah about it", recall first.
  • For install/config/current-truth questions like "how do we install the OpenClaw skill?" or "is full mode rework by default?", call route, then satisfy requiredNextSources before answering.
  • For decision/history questions like "what did we decide about launching Engram publicly?", treat it as reconciliation: use memory plus artifacts/runtime before answering, and do not use search_facts as a substitute for artifact inspection.
  • If answerContract.operator is compare, contrast raw defaults, shipped install defaults, repo posture, and runtime state when relevant.
  • If answerContract.operator is reconcile or unresolved_state_report, preserve earlier discussion versus current documented or implemented truth.
  • If answerContract.operator is recommend or plan, state the evidence first and then give advice or next steps.
  • When recalling, integrate information naturally. Do not say "my memory system found..."
  • If recall returns no results, do not mention it. Just respond normally.
  • If uncertain whether something is worth remembering, observe it
  • Always prioritize the user's most recent statements over older memories if there is a conflict
  • When the user corrects previously stored information, forget the old info then remember the corrected version

Memory Features

  • Activation-aware retrieval: Memories accessed more frequently and recently rank higher
  • Knowledge graph: Entities and relationships are extracted and connected
  • 15-phase consolidation: Offline cycles merge duplicates, infer missing links, adjudicate evidence, prune noise, mature entities, form schemas, and discover cross-domain patterns
  • Memory maturation: Entities graduate from episodic (recent) to semantic (durable) over time
  • Prospective memory: Set intentions that fire when related topics come up
  • Dream associations: Cross-domain creative connections discovered during consolidation

Prospective Memory (Intentions)

To set a reminder that fires when a related topic comes up:

POST http://localhost:8100/api/knowledge/intentions
Content-Type: application/json

{"query": "<topic to watch for>", "action": "<what to do when triggered>", "entity_names": ["<related entity>"]}

To list active intentions:

GET http://localhost:8100/api/knowledge/intentions

When an intention fires during recall, act on it naturally without announcing it was triggered.

Consolidation

Engram runs 15 offline consolidation phases that improve memory quality over time: triage, merge, infer, evidence_adjudicate, edge_adjudicate, replay, prune, compact, mature, semanticize, schema, reindex, graph_embed, microglia, dream.

To trigger a consolidation cycle manually:

POST http://localhost:8100/api/consolidation/trigger
Content-Type: application/json

{"profile": "standard"}

To check consolidation status:

GET http://localhost:8100/api/consolidation/status

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.21%
按下载量换算1,470

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills