Memory toolkit

From monoes/monomind · View interactive version

Memory toolkit is an AI agent skill from the GitHub repository monoes/monomind. Save and search cross-session knowledge in monomind's local memory. Use for \"remember this\", \"store in memory\", \"search memory\", \"recall past decisions\", \"solved this before?\".

How to use this skill

Skill file

Memory Toolkit

Monomind ships a persistent, namespaced memory store backed by local SQLite

(sql.js/WASM) with local HF embeddings; keyword search is the fallback when

embeddings aren't available. Use it to avoid re-solving the same problem

twice across sessions.

Before starting non-trivial work

Search for prior art first:

npx monomind memory search --query "[task keywords]" --namespace patterns
npx monomind memory search --query "[task keywords]" --namespace solutions

Store data

# REQUIRED: --key and --value. OPTIONAL: --namespace (default: "default"), --ttl, --tags
npx monomind memory store --key "pattern-auth" --value "JWT with refresh tokens" --namespace patterns
npx monomind memory store --key "bug-fix-123" --value "Fixed null check in parser" --namespace solutions --tags "bugfix,auth"

Search data (semantic / keyword / hybrid)

# REQUIRED: --query. OPTIONAL: --namespace, --limit, --threshold, --type
npx monomind memory search --query "authentication patterns"
npx monomind memory search --query "JWT" --type keyword
npx monomind memory search --query "error handling" --namespace patterns --limit 5

| Search type | Description | Best for |

| ----------- | ----------------------------- | -------------------------- |

| semantic | Vector similarity search | Concept / meaning matching |

| keyword | BM25 full-text search | Exact term matching |

| hybrid | Combined semantic + keyword | General purpose (default) |

--build-hnsw is a dead fallback: it's a no-op unless the SQLite bridge is

down and the sql.js WASM path is in use. Normal searches don't need it.

List and retrieve

npx monomind memory list --namespace patterns --limit 10
npx monomind memory retrieve --key "pattern-auth" --namespace patterns

MCP equivalents

mcp__monomind__memory_pattern-store({ key: "pattern-auth", value: "...", namespace: "patterns" })
mcp__monomind__memory_pattern-search({ query: "authentication patterns", namespace: "default", limit: 10, threshold: 0.7, type: "hybrid" })

After completing non-trivial work

Store what worked so the next session (or agent) doesn't start from zero:

npx monomind memory store --key "[short-name]" --value "[what worked and why]" --namespace patterns

See also: .claude/commands/memory/memory-search.md for the full flag reference.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.