rohitg00/agentmemory

remember

Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/rohitg00/agentmemory --skill remember

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

The user wants to save this to long-term memory: $ARGUMENTS

Quick start

json
memory_save {
  "content": "We rotate JWT refresh tokens on every use; the old token is revoked server-side in auth/refresh.ts.",
  "concepts": "jwt-refresh-rotation, token-revocation, auth-flow",
  "files": "src/auth/refresh.ts"
}

Expected output:

text
Saved memory abc12345 with 3 concepts: jwt-refresh-rotation, token-revocation, auth-flow.

Why

A memory is only as useful as the terms that retrieve it. Tag with specific concepts so a future recall finds it, and preserve the user's own phrasing.

Workflow

  1. Pull the core insight, decision, or fact out of $ARGUMENTS.
  2. Extract 2-5 lowercased concept phrases. Prefer specific over generic

(jwt-refresh-rotation beats auth).

  1. Extract referenced file paths (absolute or repo-relative). Empty if none.
  2. Call memory_save with content, concepts (comma-separated string), and

files (comma-separated string). In a multi-agent setup pass agentId so the memory lands in the right agent's scope.

  1. Confirm the save and echo the concepts so the user knows the retrieval terms.
  2. To update a fact, save the corrected version outright: near-duplicate content

supersedes the old record, which leaves recall but stays in the version chain.

Anti-patterns

WRONG: concepts: "stuff, code, notes" (generic tags nothing can find later).

RIGHT: concepts: "jwt-refresh-rotation, token-revocation" (specific, retrievable).

Checklist

  • Content preserves the user's phrasing, not a paraphrase.
  • Concepts are specific, lowercased, 2-5 items.
  • File paths are real references, not guesses.
  • Confirmation echoes the exact concepts tagged.

See also

  • recall: retrieve what you save here (the pair to this skill).
  • forget: remove a memory you saved by mistake.
  • lesson: behavioral rules from corrections; memories are for facts.
  • memory-discipline: when to save unprompted.

Troubleshooting

See TROUBLESHOOTING.md if memory_save is not available.

Powiązane zadania

z tego samego repozytorium

Więcej Skills

Wszystkie Skills
rohitg00
Społeczność

agentmemory-agents

How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are supported, or when a connect adapter writes the wrong config path.

instalacje
3
GitHub Stars
29,9 tys.
Aktualizacja
25 paź
rohitg00
Społeczność

agentmemory-architecture

How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood.

instalacje
3
GitHub Stars
29,9 tys.
Aktualizacja
25 paź
rohitg00
Społeczność

agentmemory-hooks

The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without manual saves, when debugging missing observations, or when tuning what gets recorded.

instalacje
3
GitHub Stars
29,9 tys.
Aktualizacja
25 paź
rohitg00
Społeczność

commit-context

Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks "why is this code here", "what was the agent doing when this changed", "who wrote this", or wants context on a specific location in the codebase.

instalacje
3
GitHub Stars
29,9 tys.
Aktualizacja
25 paź