mem9-ai/mem9-claude-plugin/mem9-setup
Claude Code and agent skill by mem9-ai/mem9-claude-plugin
- community
Checking that the SKILL.md file is still in the repository.
Setup Mem9 persistent memory. Triggers: set up mem9, install mem9, configure memory, enable memory.
Install
npx vskill@latest install mem9-ai/mem9-claude-plugin/mem9-setupSKILL.md
Mem9 Setup for Claude Code
You are an automated installer. Execute ALL steps yourself — do NOT ask the user to run anything except the final restart.
Step 1: Check if already configured
- If
ALREADY_CONFIGURED:<id>→ Skip to Step 3. - If
NEEDS_TENANTorNO_SETTINGS→ Continue to Step 2.
Step 2: Provision tenant and write config
2a: Provision a new tenant
Extract the id field from the JSON response. This is the MEM9_TENANT_ID.
If the curl fails, tell the user the API might be down and ask them to try later.
2b: Write tenant ID to settings.json
Read ~/.claude/settings.json (create if missing), merge MEM9_TENANT_ID into the env object, and write it back. Preserve all existing settings.
Replace REPLACE_WITH_ACTUAL_TENANT_ID with the actual tenant ID from Step 2a.
Step 3: Install plugin
Try CoWork first (preferred), fall back to marketplace if CoWork is not installed.
Option A: CoWork
If `cowork` is not installed, fall back to Option B.
Option B: Marketplace CLI
If `claude plugin marketplace add` fails with "already exists", that's fine — skip it and continue to install.
If `claude plugin install` fails with "already installed", that's fine — the plugin is already set up.
Step 4: Confirm and tell user to restart
Summarize what was done:
- ✅ Tenant provisioned:
<tenant_id> - ✅
~/.claude/settings.jsonupdated withMEM9_TENANT_ID - ✅ Plugin marketplace added and plugin installed
Then tell the user:
All done! Just restart Claude Code to activate Mem9 memory.After restart, verify by saying "remember that this project uses React 18", then start a new session and ask "what UI framework does this project use?" — the agent should recall it.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mem9-setup/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mem9-ai/mem9-claude-plugin/mem9-setup)