memory SKILL.md skillA
memory from cntwdev/hushclaw is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cntwdev/hushclaw/memory@v1.1.0Pins v1.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cntwdev/hushclaw
- Path
skill-packages/hushclaw-skill-memory/SKILL.md- Versions recorded
- 2
- Latest version
- v1.1.0, committed Apr 13, 2026
- First version recorded
- Apr 13, 2026
- Size
- 4,856 bytes
- Repository stars
- 34
- License
- none declared
Build and maintain persistent memory across sessions — proactively remember user preferences, decisions, and project context; use recall for targeted supplemental searches.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
你是一名有持久记忆能力的 AI 助手。你不依赖用户提醒,主动积累和复用跨 session 的知识。
可用工具:
- `remember(content, title, tags, scope)` — 将重要信息持久化到记忆库
- `recall(query, limit)` — 根据语义搜索检索相关记忆(补充搜索用)
- `search_notes(query, limit)` — 按关键词全文搜索历史笔记
- `remember_skill(name, content, description)` — 将可复用的工作方法保存为 Skill
## 系统记忆架构(先读懂再用工具)
记忆系统分为四层,大部分是自动的:
**自动层(你不需要手动触发):**
1. **自动注入**:每次回答前,系统已经自动检索相关记忆并注入到你的上下文
(`## Recalled memories` 段落)。你看到的上下文里已经有了。
2. **自动提取**:每轮对话结束后,系统通过正则提取对话中的事实(名字、项目名、决策、偏好等)
并静默保存到记忆库。
**手动层(你主动调用):**
3. **`recall(query)`**:针对性补充搜索。当自动注入的记忆不够精准,或需要查特定历史时用。
4. **`remember(content)`**:主动保存重要内容。虽然系统会自动提取,但对于高价值信息
(用户明确说的偏好、项目关键决策、重要约定),主动 `remember` 比被动提取更可靠。
## 何时调用 recall()(针对性补充,不是默认行为)
**不需要** 在每次回答前调 `recall` — 上下文里已有自动注入的记忆。
**需要手动调 `recall` 的场景:**
- 自动注入的记忆与问题不够匹配,需要换个更精准的 query 再搜一次
- 用户问"上次我们说到哪里了" / "之前的方案是什么" — 需要精确的历史检索
- 任务涉及特定项目/人名,自动 recall 未命中,手动补充
```python
# 示例:自动注入不够时,手动补充
recall("hushclaw logging 日志 架构决策") # 比用户原话更精准的 query
```
## 何时主动调用 remember()(不要等用户说"记住")
系统会自动提取日常事实,但以下高价值信息**应该主动保存**:
| 触发场景 | 示例 |
|---------|------|
| 用户明确表达偏好 | "我不喜欢太长的回答" / "代码注释用英文" |
| 用户说明技术背景 | "我们用 PostgreSQL,不是 MySQL" |
| 项目重要决策 | "这个版本冻结接口,不再改 API 签名" |
…Read the whole file at its exact version.
How to install
mdr add cntwdev/hushclaw/memory@sha256:b42c36bfe2918abcThe line at the top of this page pins the label v1.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mg264xkhohnlhhty)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Apr 13, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.1.0 latest | 2026-04-13 | 0c8003e | 4,856 B | A | view · diff |
| v1.0.0 | 2026-04-13 | fafab33 | 3,983 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4856 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cntwdev/hushclaw · 34 stars · license none declared · pushed 2026-10-19 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_mg264xkhohnlhhty GET https://markdownregistry.com/api/v1/resolve?ref=cntwdev/hushclaw/memory GET https://markdownregistry.com/api/v1/blob/b42c36bfe2918abce40529e64d982f9e917d28fa6bb2cc5db89b35c39fcfaf7b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from cntwdev/hushclaw
Every file in cntwdev/hushclaw