mem9-setup SKILL.md skillA
mem9-setup from unvulcanised-watercress762/mem9 is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add unvulcanised-watercress762/mem9/mem9-setup@git:20260311.296a7e2Pins git:20260311.296a7e2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- unvulcanised-watercress762/mem9
- Path
claude-plugin/skills/mem9-setup/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260311.296a7e2, committed Mar 11, 2026
- First version recorded
- Mar 11, 2026
- Size
- 2,925 bytes
- Repository stars
- 3
- License
- Apache-2.0
Setup Mem9 persistent memory. Triggers: set up mem9, install mem9, configure memory, enable memory.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
```bash
python3 -c "
import json, os, sys
path = os.path.expanduser('~/.claude/settings.json')
if not os.path.exists(path):
print('NO_SETTINGS')
sys.exit(0)
with open(path) as f:
cfg = json.load(f)
tid = cfg.get('env', {}).get('MEM9_TENANT_ID', '')
if tid:
print(f'ALREADY_CONFIGURED:{tid}')
else:
print('NEEDS_TENANT')
"
```
- If `ALREADY_CONFIGURED:<id>` → Skip to Step 3.
- If `NEEDS_TENANT` or `NO_SETTINGS` → Continue to Step 2.
## Step 2: Provision tenant and write config
### 2a: Provision a new tenant
```bash
curl -s -X POST https://api.mem9.ai/v1alpha1/mem9s
```
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.**
```bash
python3 -c "
import json, os, sys
…Read the whole file at its exact version.
How to install
mdr add unvulcanised-watercress762/mem9/mem9-setup@sha256:6341983177eddab9The line at the top of this page pins the label git:20260311.296a7e2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hnddu27s5jqayx7b)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Mar 11, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260311.296a7e2 latest | 2026-03-11 | 296a7e2 | 2,925 B | A | view · diff |
| git:20260311.9f1ae06 | 2026-03-11 | 9f1ae06 | 2,926 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2925 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
unvulcanised-watercress762/mem9 · 3 stars · license Apache-2.0 · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hnddu27s5jqayx7b GET https://markdownregistry.com/api/v1/resolve?ref=unvulcanised-watercress762/mem9/mem9-setup GET https://markdownregistry.com/api/v1/blob/6341983177eddab9317adda0b5dfdea0a8340ea9133b0c69c4b9b6bf61d8f5a0
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from unvulcanised-watercress762/mem9
Every file in unvulcanised-watercress762/mem9