Files
rohitg00--agentmemory/plugin/opencode/commands/remember.md
T
wehub-resource-sync 979fb22d7c
CI / test (20, macos-latest) (push) Waiting to run
CI / test (20, ubuntu-latest) (push) Waiting to run
CI / test (22, macos-latest) (push) Waiting to run
CI / test (22, ubuntu-latest) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:18 +08:00

819 B

Explicitly save an insight, decision, or learning to agentmemory for future sessions. Wraps the memory_save MCP tool.

Usage

/remember [what to remember]

Instructions

  1. Analyze what needs to be remembered — extract the core insight, decision, or fact.
  2. Extract 2-5 searchable concepts (lowercased keyword phrases). Prefer specific terms ("jwt-refresh-rotation" over "auth").
  3. Extract relevant file paths the memory references.
  4. Call memory_save with:
    • content — full text to remember (preserve user's phrasing)
    • concepts — extracted concept list
    • files — extracted file list (empty array if none)
    • type — choose from: pattern, preference, architecture, bug, workflow, fact
  5. Confirm the save and show the concepts tagged so the user knows retrieval terms.