skills/memory/SKILL.md
Persistent cross-session memory system. Automatically captures observations, generates semantic summaries, and makes them available to future sessions. Use when saving context, recalling past work, searching memory, or at session end to persist learnings.
npx skillsauth add abhiroopb/synthetic-mind memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A claude-mem-inspired persistent memory system for Amp. Uses SQLite + FTS5 for storage and search, with a web viewer UI and progressive disclosure.
~/.gemini/memory/amp-mem.db (SQLite + FTS5 full-text search)~/bin/amp-mem (all operations)amp-mem serve → http://localhost:37777 (self-contained in CLI, no external files needed)~/.gemini/memory/knowledge.md (also maintained for plain-text access)Use these types when saving to enable filtering:
| Type | When to use |
|---|---|
| observation | General knowledge learned about the codebase, tools, or systems |
| decision | A design decision, approach chosen, or trade-off made |
| discovery | A bug found, root cause identified, or non-obvious behavior uncovered |
| preference | User preference for how things should be done |
| bugfix | A bug fix — what was broken, why, and how it was fixed |
| session | End-of-session summary |
| config | Configuration, URLs, credentials locations, environment details |
| workflow | A new workflow, command sequence, or process established |
| people | Team structure, ownership, who to contact |
| thread | Ingested Amp thread summary (auto-captured on session start) |
amp-mem save <type> "<topic>" "<summary>" [--project NAME] [--file PATH] [--tags "a,b,c"] [--session ID] [--private]
amp-mem search "query" [--type TYPE] [--project PROJECT] [--after DATE] [--before DATE] [--limit N] [--include-private]
# Layer 1: Compact index (~50 tokens/result)
amp-mem search "checkout flow"
# Layer 2: Timeline — chronological context around a result
amp-mem timeline 42 --window 5
# Layer 3: Full details for specific IDs
amp-mem detail 42 43 44
amp-mem context --lines 50
amp-mem compact --older-than 30
amp-mem ingest-thread <thread_id> "<title>" "<summary>" [--date DATE] [--url URL] [--tags "a,b"]
amp-mem stats # Memory statistics
amp-mem export --format json # Export all memory
amp-mem export --format md # Export as markdown
amp-mem serve --port 37777 # Start web viewer
amp-mem session-start # Start a new session (returns ID)
amp-mem session-end --session 1 # End a session
amp-mem migrate # Import legacy sessions.jsonl
amp-mem decay # Apply confidence decay to aging observations
Save when something is worth recalling in a future session — significant edits, decisions, discoveries, bugs, configs, workflows, preferences, and session summaries.
Note: When the amp-mem plugin (
~/.config/amp/plugins/amp-mem.ts) is installed, most of this capture happens automatically. The plugin passively captures tool results (Linear, Gmail, Slack, Notion, Google Drive, Bash), batches file edits, and AI-gates observations at agent.end with p>0.65 threshold. Context injection is silent (display: false), one-shot per session (duplicate prevention), uses a 60-line budget with smart sentence-boundary truncation, and filters out self-referential amp-mem observations.
For rapid-fire observations during a session, batch them:
# Quick inline save after a tool use
amp-mem save observation "POS receipt locale bug" "ReceiptRenderer.kt was missing locale config for AU region. Fixed by adding Locale.AU to the SUPPORTED_LOCALES map at line 142." --project "checkout-flow" --file "src/receipt/ReceiptRenderer.kt" --tags "bugfix,pos,au"
amp-mem init (idempotent)amp-mem context --lines 50amp-mem session-start --thread-url <URL>amp-mem session-end --summary "..."amp-mem compactStart with amp-mem serve to browse memory at http://localhost:37777.
Features:
~/.gemini/memory/<private>, all observations from that turn are saved with --private and excluded from context injection and default searchamp_mem_save with private: true or amp-mem save ... --private to mark specific observations as privateamp-mem search <query> --include-private to include private observations in search resultstesting
Track TV shows and movies with Trakt.tv. Search, get watchlist, history, up-next, recommendations, trending, calendar, ratings, stats, add/remove from watchlist, mark watched, rate, and check in. Use when asked about what to watch, TV shows, movies, watch history, or Trakt.
development
Send and receive SMS messages via Twilio API. Used for text message notifications, forwarding important alerts, and two-way SMS communication.
documentation
Organizes files in the local Downloads folder into proper folders. Use when asked to organize, sort, or file downloaded documents.
tools
Book and manage appointments on Sutter Health MyHealth Online portal. Uses browser automation via Playwright MCP to interact with the patient portal.