From memv-skills
This skill should be used when the user asks to 'install memv', 'set up the memv SDK', 'memvai not found', 'fresh memv setup', or when 'import memvai' or 'from memvai import' fails. Handles language detection (Python pip / TypeScript npm), MEMV_API_KEY env var, and smoke-tests auth via the MCP connection.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memv-skills:memv-bootstrapThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
First-touch SDK setup. Run BEFORE any other memv skill that writes code.
First-touch SDK setup. Run BEFORE any other memv skill that writes code.
Check repo:
ls pyproject.toml requirements.txt setup.py package.json 2>/dev/null
| Found | Language |
|---|---|
pyproject.toml / requirements.txt / setup.py | Python |
package.json | TypeScript / JavaScript |
| Both | Both — install both. |
| Neither | Ask user before installing. Don't guess. |
# no venv yet:
python3 -m venv .venv
source .venv/bin/activate
pip install memvai
pip freeze | grep memvai >> requirements.txt
pyproject.toml present → use matching tool:
poetry add memvaiuv add memvainpm install memvai
# pnpm add memvai / yarn add memvai / bun add memvai per lockfile
memvai reads MEMV_API_KEY. Verify:
[ -n "$MEMV_API_KEY" ] && echo "set" || echo "MISSING"
Missing:
.env + .env.example placeholder.env in .gitignoreexport MEMV_API_KEY=... in rc file, or use direnvKeys from user's mem[v] dashboard. NEVER commit. No key → point user at docs/memv/sdk/installation.md.
mem[v] MCP server uses OAuth (separate from SDK API key). If wired into client:
mcp__memv__whoami()
Returns user → MCP path works. SDK env var resolves → app code path works.
Independent paths — see skill memv-mcp-vs-sdk.
Post-install, check import:
# Python
python -c "from memvai import Memv; print(Memv.__module__)"
# TypeScript (tsx)
npx tsx -e "import Memv from 'memvai'; console.log(typeof Memv)"
ImportError / ModuleNotFoundError → Step 2 failed. Check venv activation, lockfile, cwd.
After 1–5:
memv-add-memory, memv-search, memv-spaces, memv-files, memv-video-ingest, memv-graph safe to fire.docs/memv/sdk/installation.md.pip install memvai outside venv on macOS/Linux — system Python refuses or breaks..env commit with real key.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.