Skip to content
Agentmart
Submit a tool

持久记忆

跨会话保存项目上下文,自动压缩会话观测、语义检索,新会话自动注入历史项目记忆。适配自 thedotmack/claude-mem(Claude Code 持久记忆插件)。

Skill by wch887292

IndexedApache-2.0★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wch887292-2a937a

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

跨会话保存项目上下文,自动压缩会话观测、语义检索,新会话自动注入历史项目记忆。适配自 thedotmack/claude-mem(Claude Code 持久记忆插件)。

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/claude-mem

What's inside

Skill name
持久记忆
Description
跨会话保存项目上下文,自动压缩会话观测、语义检索,新会话自动注入历史项目记忆。适配自 thedotmack/claude-mem(Claude Code 持久记忆插件)。
License
Apache-2.0
Instructions
37 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "持久记忆" does not match folder "claude-mem"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 持久记忆(claude-mem)

> 上游项目:https://github.com/thedotmack/claude-mem | MCP 记忆插件
> 存储:SQLite + Chroma 向量检索;提供 Web 管理面板。

## 触发
当用户希望 AI 在**不同会话之间记住项目上下文**(此前讨论过的需求、决定、坑、偏好),或问"我们之前不是讨论过 X 吗"时使用。

## 前置安装(一次性)
```bash
# 方式一:npm 安装并接入
npx claude-mem install

# 方式二:Claude Code 插件市场
/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem
```

## 执行步骤
1. 确认记忆服务已启用(首次安装后重启会话)。
2. **写入**:每轮关键结论、用户决策、踩坑、偏好 → 生成简短观测存入记忆库。
3. **压缩**:会话过长时自动摘要并归档,控制记忆体量。
4. **检索**:新会话启动时按语义注入与当前任务相关的历史记忆。
5. **管理**:通过 Web 面板查看/编辑/删除记忆条目,维护记忆卫生。

## 输出格式
```
注入的历史记忆:<与当前任务相关的前情,标注来源会话/时间>
当前会话新写入:<本次新增的关键上下文>
记忆状态:<条目数/最近归档>
```

## 边界
- 只持久化**非敏感**的项目上下文与决策;密钥、token、个人隐私不进记忆库。
- 记忆检索结果仅供参考,需与当前上下文复核,避免过时结论误导。

From wch887292/feihong-code, Apache-2.0.

More from wch887292/feihong-code

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Oct 16, 2026 (13 days ago)
Last release
Oct 22, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from wch887292

Cite this page

持久记忆 skill. Agent Mart. https://agentmart.dev/skills/wch887292-2a937a (last updated 2026-10-24)