remember-md/remember/init
Claude Code and agent skill by remember-md/remember
- community
Checking that the SKILL.md file is still in the repository.
Initialize Remember Second Brain structure and configuration
Install
npx vskill@latest install remember-md/remember/initSKILL.md
/remember:init - Initialize Remember
Creates the Second Brain directory structure, Persona file, REMEMBER.md, and configures REMEMBER_BRAIN_PATH in Claude settings.
Steps
1. Ask for Path
Prompt user:
If user presses Enter → use default ~/remember. Validate: expand ~, check if writable. If exists, confirm or choose different.
2. Detect Install Scope & Configure Settings
Detect scope:
${CLAUDE_PLUGIN_ROOT}contains/.claude/plugins/cache/→ user scope →~/.claude/settings.json- Otherwise → project scope →
.claude/settings.json
Ask: "Install globally or for this project?" to let user override.
Read the target settings.json, then MERGE (don't overwrite existing keys):
Note: Use expanded absolute path in Bash rules (not ~/).
See reference.md for detailed merge rules.
3. Create Directory Structure
4. Create Persona.md (if it doesn't exist)
Skip if `{brain_path}/Persona.md` already exists — the user may have customized it. Never overwrite an existing Persona.
Otherwise, ask:
- What's your name? (default: User)
- What's your timezone? (default: UTC)
- What languages do you speak? (default: English)
Create {brain_path}/Persona.md using the template in reference.md. The template ships with four sections:
## Mission— identity (Name/Timezone/Languages/Role)## Directives— hard rules (user-edited; plugin never overwrites)## Top Beliefs— auto-managed bypromote.js(runs after every capture); empty until your first belief meets the threshold## Evidence Log— append-only behavioural evidence
The user fills ## Mission and ## Directives. The other two are populated automatically as the brain learns.
4b. Create REMEMBER.md (if it doesn't exist)
Skip if file exists — user may have already customized it.
Read the template from assets/templates/remember.md (relative to plugin root) and write it verbatim to {brain_path}/REMEMBER.md. Do NOT add examples, explanations, or any other content — the sections must remain empty so the user fills them in.
Note: This creates the global REMEMBER.md. Users can also create a project-level REMEMBER.md in any project root for project-specific rules that layer on top of global preferences.
5. Create Tasks File
Create {brain_path}/Tasks/tasks.md — see reference.md for template.
6. Create Note Templates
Copy these files from ${CLAUDE_PLUGIN_ROOT}/assets/templates/ to {brain_path}/Templates/, skipping any that already exist:
note.mdperson.mdproject.mddaily.mdresource.md
Do NOT copy `assets/templates/remember.md` to Templates/. That template is the source for the brain's ROOT REMEMBER.md rulebook — already handled in Step 4b. The brain's Templates/ folder is exclusively for note-level templates that the remember/process skills use when creating new individual files; the root REMEMBER.md is a separate, single-purpose configuration file at brain root.
See reference.md for the body of each template.
7. Initialize Git (Optional)
Ask: "Initialize git repository?"
If yes:
8. Configure MCP semantic search (@remember-md/mcp)
The MCP server provides a search_brain tool that any MCP-capable AI client (Claude Code, Cursor, Codex CLI, ChatGPT custom GPTs, Claude.ai) can call to do hybrid BM25 + vector + wikilink search over the brain.
Detect the right scope based on where the brain lives relative to the current working directory:
- Brain path is inside the current project (e.g.
./project-brain, or any path undercwd) → project scope (writes${cwd}/.mcp.json, env uses./relativepath) - Brain path is outside the current project (e.g.
~/second-brain) → user scope (writes~/.claude.json, env uses absolute path)
Ask the user once to confirm scope (showing the auto-detection) with a third option to skip if they want manual setup.
Run:
The script:
- Adds
mcpServers.rememberto the chosen config file, withcommand: "npx", args: ["-y", "@remember-md/mcp"]and the appropriateREMEMBER_BRAIN_PATHenv var. - Is idempotent: re-running with the same args leaves the file untouched.
- Preserves any other
mcpServersentries and unrelated config keys in the file.
If the user picks "skip", show them the JSON snippet they need to add manually and move on.
After patching, tell the user:
⚠️ Restart Claude Code (or your MCP client) to discover the new server. Themcp__remember__search_braintool will appear after restart.
First time usingsearch_brain, the embedding model (Xenova/bge-micro-v2, ~17 MB) downloads in the background. Initial reindex builds BM25 immediately so search works from query 1; vector results layer in once embeddings finish.
9. Confirm
Error Handling
- Path already exists with content: skip existing dirs, only create missing ones
- settings.json has existing content: merge, don't overwrite
- Safe to run multiple times (won't delete existing content)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/init/SKILL.md
Popularity
- Repository stars
- 43
- Repository forks
- 5
- Repository npm downloads, 7 days
- 6
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 16 May 2026, 5 months ago.
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/remember-md/remember/init)