remember

A command for saving an important fact, preference, project detail, reference, or user detail in local memory.

In plain words
What is it for?
Use it to classify a memory, give it a short title, choose its scope, and save it through the memory system. It reports the saved file, category, indexing status, and chunk count.
Why use it?
It keeps useful information available for future conversations and clarifies whether the note applies only to one project or everywhere.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/xcodethink/open-claude-code-skills/remember
Clone the repo
git clone --depth 1 https://github.com/xcodethink/open-claude-code-skills
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.00375
Opus 5 $0.00010 $0.00187
Sonnet 5 $0.00004 $0.00075
Haiku 4.5 $0.00002 $0.00038

Measured 2d ago against content hash d7051fedc487, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

remember scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/remember.md · 52 lines

What it actually says

主动记忆

用户想保存一些重要信息到记忆系统。按以下步骤操作:

1. 理解要记什么

从用户的输入提取:

  • 内容(content)
  • 类型(feedback / project / reference / user)
  • 范围(当前项目 / global)

2. 询问归属(如果不明确)

如果用户没说清楚归属,主动问: "这条记忆是只对当前项目有效,还是所有项目通用?"

3. 询问类型(如果不明确)

  • feedback: 偏好、纠正、规则("以后不要..."、"我喜欢...")
  • project: 项目事实、决策、状态
  • reference: 配置、API 信息、参考资料
  • user: 关于用户本人的信息(位置、习惯、身份)

4. 生成简短标题

从内容中提炼一个 30 字以内的标题,用于文件名。

5. 调用 memory_remember MCP 工具

参数:

  • content: 用户给的原始内容(保留格式)
  • wing: 'global' 或当前项目 wing 名
  • title: 提炼的标题
  • memory_type: 上面确定的类型

6. 反馈结果

已保存:
- 文件:[path]
- Wing:[wing]
- 已索引:是 / 否
- Chunks:[数量]

未来的对话可以通过 memory_search 找到这条记忆。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 52 lines · 21 tokens per session scan A d7051fedc487

Subscribe to this mod's changes

remember is a command published in the GitHub repository xcodethink/open-claude-code-skills (2 stars, last pushed 27d ago), licensed MIT. It adds 21 tokens to every session and 375 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.