From memv-skills
This skill should be used when the user asks to 'add a memory', 'write to mem[v]', 'store in the knowledge graph', or when writing or modifying code that calls client.memories.add. Covers required space_id, metadata patterns, multimodal payload routing (text vs file vs video), and the error-handling envelope every call needs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memv-skills:memv-add-memoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. `docs/memv/sdk/memories.md` — full method signatures + patterns. **Hot path. Read full.**
docs/memv/sdk/memories.md — full method signatures + patterns. Hot path. Read full.docs/memv/core-concepts/memories.md — lifecycle (create → enrich → link → retrieve → decay), what counts as one memory.docs/memv/core-concepts/spaces.md — every write needs space_id. Confirm caller has one.docs/memv/sdk/error-handling.md — exception types to catch.space_id mandatory. No global writes.memvai) directly. No wrapper class Memory.client.upload.batch.create(...) (skill memv-files / memv-video-ingest), NOT client.memories.add with stringified blob.sdk/error-handling.md. No bare-except.docs/memv/sdk/memories.md)client.memories.add(space_id, content, metadata?) — write text memoryclient.memories.search(space_id, query, limit?) — retrieveNo update_memory / delete_memory in SDK. Change memory → add new one, let mem[v] graph reconcile. Or client.spaces.delete(space_id=...) to drop whole space.
from memvai import Memv
client = Memv() # reads MEMV_API_KEY env var
response = client.memories.add(
space_id=space_id, # required
content="<raw text>",
metadata={"source": "...", "user_id": "..."},
)
memory_id = response.memory_id
Interactive sanity-check write landed:
mcp__memv__search_memory(query="<excerpt>", workspaceId=space_id, maxResults=3)
(workspaceId MCP == space_id SDK — see skill memv-mcp-vs-sdk.)
space_id across logical tenants (per-user/feature/env separation — core-concepts/spaces.md).add() thousands of times without backoff. Batch patterns in sdk/advanced.md.update/delete on client.memories. Don't exist.npx claudepluginhub drpod/memv-skills --plugin memv-skillsProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.