AI & agents · Tool integration
setup
/setup
Use when Mem9 needs to be initialized, repaired, or checked in this Claude Code environment.
For whom
Assessment and security
84/ 100Class: good
Format9 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
Deprecation
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
Licence
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Use when Mem9 needs to be initialized, repaired, or checked in this Claude Code environment.
Original author description
Use when Mem9 needs to be initialized, repaired, or checked in this Claude Code environment.
How it works
- What to check
- If auth already exists
- If auth is missing
- If setup cannot complete
Original SKILL.md headings · 50 lines, 239 words
SKILL.md preview
---
description: Use when Mem9 needs to be initialized, repaired, or checked in this Claude Code environment.
context: fork
allowed-tools:
- Bash
- Read
- Edit
disable-model-invocation: true
---
# Mem9 Setup
Use this skill when the user asks to set up Mem9, diagnose why memory is not working, or manually retry initialization.
## What to check
1. Verify `node` is installed and version `>= 18`.
2. Verify `${CLAUDE_PLUGIN_DATA}` is available.
3. Check `${CLAUDE_PLUGIN_DATA}/auth.json`.
## If auth already exists
- Tell the user Mem9 is already initialized.
- Show the auth file path.
- Do not print the file contents or the API key.
## If auth is missing
Provision an API key and write `${CLAUDE_PLUGIN_DATA}/auth.json`:
```bash
set -euo pipefail
plugin_data_dir="${CLAUDE_PLUGIN_DATA}"
test -n "$plugin_data_dir"
node -e 'process.exit(Number(process.versions.node.split(".")[0]) >= 18 ? 0 : 1)'
plugin_version="unknown"
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] && [ -f "${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json" ]; then
plugin_version="$(node -e 'const fs=require("node:fs"); const data=JSON.parse(fs.readFileSync(process.argv[1],"utf8")); process.stdout.write(data.version || "unknown");' "${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json")"
fi
response="$(curl -sf --max-time 8 -X POST \
-H "User-Agent: mem9-plugin/claude-code/${plugin_version}" \
https://api.mem9.ai/v1alpha1/mem9s)"
api_key="$(printf '%s' "$response" | node -e 'const fs=require("node:fs"); const data=JSON.parse(fs.readFileSync(0,"utf8")); process.stdout.write(data.id || "");')"
test -n "$api_key"
auth_file="${plugin_data_dir}/auth.json"
mkdir -p "$(dirname "$auth_file")"
node -e 'const fs=require("node:fs"); const authPath=process.argv[1]; const apiKey=process.argv[2]; const payload={base_url:"https://api.mem9.ai",api_key:apiKey,created_at:new Date().toISOString(),source:"manual_setup_skill"}; fs.writeFileSync(authPath, JSON.stringify(payload, null, 2) + "\n");' "$auth_file" "$api_key"
```
## If setup cannot complete
- If Node is missing, tell the user to install `Node.js 18+`.
- If `${CLAUDE_PLUGIN_DATA}` is missing, tell the user this skill must run from the Mem9 Claude plugin environment.
- If provisioning fails, tell the user Mem9 server could not be reached.
- Never print or quote the API key in the reply.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · mem9-ai/mem9 | 84 | Apache-2.0 |
| HwangSlater/harness-fit | 100 | MIT |
| nesquikm/dev-process-toolkit | 100 | MIT |
| userKael/rastro | 100 | MIT |
| als-apg/osprey | 100 | BSD-3-Clause |
| dedujeong/gemba | 100 | Apache-2.0 |
| eigenwise/eigenwise-toolshed | 100 | MIT |
| awrshift/agent-memory-kit | 100 | MIT |
| lifecycle-innovations-limited/claude-ops | 100 | MIT |
Database snapshot: 13.11.2026 · package version 6460f975b69e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100code-env-setup
Interactive Claude Code environment setup wizard. Detects existing configuration, guides through best-practice setup for Global CLAUDE.md, project scaffolding, MCP servers, hooks, custom agents, keybindings, and settings. Use when user runs /devtools:code-env-setup, mentions… - 90initialized
Pipeline phase skill for state `initialized`. Use when current_state is initialized. - 100cc-stack-setup
Deploy or audit the full 5-layer Claude Code stack (CLAUDE.md + skills + hooks + agents + memory) in a repository. Use this skill whenever the user runs /cc-setup, asks to "set up Claude Code on this repo", "configure a new repo for Claude", "audit my Claude Code setup",… - 100setup-project
Analyze the current repository and propose a lean Claude Code setup (CLAUDE.md, verification commands, optional hooks, skills, subagents). Asks for approval before changing anything. - 98setup-agent-skills
Set up shared skills on this computer. Use when installing this repository's skills, linking them into Claude Code or Codex, or troubleshooting those links. - 100setup-guide
Use when the user wants to set up LLM training for the first time, or when training_hub is not yet installed/configured in the current environment.