remember

A command that saves a user's preference, habit, feedback, or reference in shared memory stored across projects.

In plain words
What is it for?
Use it to record coding preferences, review feedback, personal details, or reference information, after confirming the memory's type, name, and text.
Why use it?
It prevents useful instructions from being forgotten between projects and avoids repeating the same preferences.

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/lee-w/maigo/remember
Clone the repo
git clone --depth 1 https://github.com/Lee-W/maigo
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,490 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.00061 $0.01490
Opus 5 $0.00030 $0.00745
Sonnet 5 $0.00012 $0.00298
Haiku 4.5 $0.00006 $0.00149

Measured 2d ago against content hash d95ff9f062e1, 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 · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/maigo:remember

把「該被記得的事」從使用者腦袋移到共用的記憶層。

Orchestrator 親自跑,不開新 agent。

使用

/maigo:remember <自然語言描述>

例:

/maigo:remember 以後 review 要記得我偏好 integration test 而非 mock
/maigo:remember 我在所有專案的 commit message 都用 Conventional Commits
/maigo:remember 上次 Soyo 的 review 說明太長,希望更精簡

流程

Orchestrator 親自執行以下步驟(不 delegate 給 Tomori 或 Anon):

  1. 讀 input 自然語言

  2. 推斷 typeuser / feedback / project / reference 之一)

    啟發式判斷:

    輸入特徵 推斷 type
    含「偏好」「習慣」「慣例」「以後都」 project
    含「上次」「之前」「那次」「有人說」 feedback
    含 URL 或「文件」「參考」「spec」 reference
    含「我是」「我叫」「稱呼我」「語言」 user

    不確定 → 在 AskUserQuestion 列最可能的兩個,讓使用者選。

  3. 生成 candidate name(短、可讀;例:「Integration test 偏好」)

  4. 生成 candidate slug(lowercase + hyphen + ASCII only;例:integration-test-preference

    • 確認 ~/.config/maigo/memory/<slug>.md 不存在
    • 若已存在 → 見下方「同 slug 已存在」處理
  5. AskUserQuestion

    • 共同三題(所有 type)

      • 確認或修改 type(列出推斷的 type 及理由)
      • 確認或修改 name
      • 要不要編輯 body?(預設 body = 從 input 提煉的一句話 + 原 input 當補充;使用者可直接接受或提供新版)
    • 第四題(僅 type: project

      • 要 tag triggered skills 嗎?(optional,list,例:airflow-awarecommitizen-aware)。預設空,直接 Enter 略過
      • 非空 → frontmatter 加 triggers: [...];空 → 不加 triggers 欄位
      • 此欄位只對 type: project 有效;其他 type 不詢問、不寫入
  6. 使用者確認後:

    a. mkdir -p ~/.config/maigo/memory/

    b. 寫 ~/.config/maigo/memory/<slug>.md

    triggers 行只在 type: project 且使用者第四題回非空時加進 frontmatter)

    ---
    name: <確認的 name>
    description: <一句話摘要>
    type: <確認的 type>
    ---
    
    <body 內容>
    

    type: project 且使用者填了 triggers,在 type: 行後加一行:

    triggers: [<skill-name>, ...]
    

    c. 更新 ~/.config/maigo/memory/MEMORY.md

    • 若不存在 → 建立,含一行說明 + 第一個 entry
    • 若已存在 → append 一行 - [<name>](<slug>.md) — <description>

    d. 回報使用者:寫了哪兩個檔、type、name、slug

    e. 收場一句:🌙 Doloris:「<name>」,願它留在該留的地方——這次,不會被遺忘。

Read the full file on GitHub · 119 lines

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 · 119 lines · 61 tokens per session scan A d95ff9f062e1

Subscribe to this mod's changes

remember is a command published in the GitHub repository Lee-W/maigo (14 stars, last pushed 8d ago), licensed MIT. It adds 61 tokens to every session and 1,490 once invoked, about $0.0003 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-30.