tinqiao-oss

Engramory — AI skill for Claude Code

AI community

给 AI agent 用的长期记忆:记住的东西存成普通 markdown 文件,有大小上限的索引每次会话自动读入.

How to install Engramory

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tinqiao-oss/engramory and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Engramory does

给 AI agent 用的长期记忆:记住的东西存成普通 markdown 文件,有大小上限的索引每次会话自动读入。支持 Claude Code、Codex、OpenClaw、Kiro 等,DeepSeek Harness(dsh)有专用插件 dsh-engramory。

Alternatives in AI

  • AI Guide — 程序员鱼皮的 AI 资源大全 + Vibe Coding 零基础教程,分享 OpenClaw 保姆级教程、大模型玩法(DeepSeek / GPT / Gemini / Claude)、最新 AI 资讯、Prompt 提 11.8k ★
  • ARIS Agent Guide — For AI agents reading this repo 6.2k ★
  • Desktop Cc Gui — Multi-engine AI coding desktop client (Tauri) 4.4k ★

README

**简体中文** | [English](README.en.md)

Engramory

[![CI](https://github.com/tinqiao-oss/engramory/actions/workflows/test.yml/badge.svg)](https://github.com/tinqiao-oss/engramory/actions/workflows/test.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![dsh-xray](https://img.shields.io/endpoint?url=https%3A%2F%2Funstone.github.io%2Fdsh-xray%2Fbadge%2Ftinqiao-oss__engramory.json)](https://unstone.github.io/dsh-xray/registry.html#tinqiao-oss__engramory)

**给 AI agent 用的长期记忆。** AI 记住的东西存成一个个普通 markdown 文件,一个只放指针的索引 `MEMORY.md` 列出全部笔记,每次会话开头读进来,细节要用时再打开。不需要数据库、向量或服务器,文件你能直接看、能改。Claude Code、Codex、[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(dsh)、OpenClaw、Kiro 等都能用;一个工具负责写,别的工具可以只读同一个库。

**dsh 有专用插件** `dsh-engramory`:装上就能用,每轮自动带上索引,把索引写超上限的写入大多在落盘前就被拦下,侧栏还多一个记忆页。Claude Code 用 hook 拦超限写入;其他工具靠规则加校验脚本。

名字来自 *engram*(记忆痕迹)+ *memory*。本项目是 `tinqiao-oss/engramory`(dsh 插件的 npm 包叫 `dsh-engramory`),与其他所有者名下的同名仓库无关。

🤖 **你是被要求安装或检查它的 AI agent?** 先读 [AGENT-SETUP.md](AGENT-SETUP.md)。

**状态:1.0.3。** 记忆库格式、工具和索引上限从此只在主版本做不兼容改动,见[版本规则](#版本规则)。

长什么样

.engramory-memory/
├── MEMORY.md           索引:每条笔记一行
├── 改完先跑测试.md      一个文件 = 一条事实
├── 数据库迁移约定.md
└── archive/            过时的笔记归档在这里

索引里的一行:`- [改完先跑测试](改完先跑测试.md) — 改代码后先跑测试再说完成`

一条 `feedback` 笔记记下一次可复用的纠正,带上原因和用法:

---
name: 改完先跑测试
description: 改代码后先跑测试再说完成
type: feedback
created: 2026-10-31
updated: 2026-10-31
---
改完代码先跑测试,过了再说完成。
**为什么:** 有一次没跑测试就报完成,CI 挂了。
**怎么用:** 任何代码改动收尾前跑一遍测试。

安装

dsh 插件从 npm 装,别的都不需要。其他工具需要 Python 3.9+,在本仓库目录里运行;macOS / Linux 没有 `python` 就用 `python3`。

DeepSeek Harness(dsh)

dsh plugin --profile <名字> add dsh-engramory

dsh 桌面版也可以在插件页搜 `dsh-engramory` 安装。装好就能用:记忆默认存在 `~/.dsh/.engramory-memory/`,侧栏多一个只读的「记忆」页。配置、大肥鱼模式、社交模式和上限规则见[插件说明](adapters/dsh/plugin/README.md)。

![dsh 里的记忆页](https://raw.githubusercontent.com/tinqiao-oss/engramory/master/adapters/dsh/plugin/screenshots/memory-page.png)

Claude