复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-memory-1680f961c51e ,按照其中的说明把「memory」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Search the exact History log path from the system prompt with grep; a project-relative
memory/history.jsonl may belong to a different workspace. The log is append-only JSONL,
with cursor, timestamp, and content per entry, and is not loaded into context.
Start broad searches with output_mode="count", then narrow by topic or date and request
matching content. Use fixed_strings=true for literal timestamps or JSON fragments.
Page long results with head_limit / offset and use context_before / context_after
when nearby entries matter.
Example (replace <history-log-path> with the path from the system prompt):
grep(pattern="project-name", path="<history-log-path>", output_mode="content", case_insensitive=true, head_limit=20)