Automated summary
This skill automatically installs, configures, or upgrades ClaudeMemory, a persistent memory tool for Claude Code.
Strengths
- Automatic detection of current installation state
- Appropriate actions based on need (install, upgrade, verification)
- Integration of version markers in CLAUDE.md
- Health checks and detailed reports
Limitations
- Requires ClaudeMemory to be installed via gem
- Does not handle advanced permissions or rare errors
- Depends on availability of the claude-memory command-line tool
Use this skill when you need to set up ClaudeMemory on a new project or after upgrading the gem.
Avoid this skill if ClaudeMemory is not usable via command line or if you prefer to configure it manually.
Security analysis
SafeThe skill instructs to run the claude-memory tool for installation, upgrade, and verification; no destructive or exfiltrating commands, just standard setup commands (init, doctor, chmod).
No concerns found
How this analysis is madeExamples
Set up ClaudeMemory for the first time with project memory.Upgrade ClaudeMemory to the latest version and run all necessary migrations.Check if ClaudeMemory is properly installed and configured.name: setup-memory description: Automatically install, configure, or upgrade ClaudeMemory
ClaudeMemory Setup & Upgrade
This skill automatically sets up or upgrades ClaudeMemory based on your current state.
What This Skill Does
When invoked, it will:
-
Check current installation status
- Detect installed gem version
- Check database existence and health
- Verify configuration files
-
Determine required action
- Fresh install (no databases)
- Upgrade (version mismatch)
- Verification (already up to date)
-
Execute setup/upgrade automatically
- Run
claude-memory doctorfor health check - Add version markers to
.claude/CLAUDE.md - Run smoke tests
- Report results
- Run
-
Provide next steps
- Restart recommendations if needed
- Usage guidance
Instructions
IMPORTANT: This skill should take action, not just provide instructions.
Step 1: Check Installation Status
claude-memory --version
claude-memory doctor
Analyze the output to determine current state.
Step 2: Determine Action Required
- Not installed: Databases don't exist
- Action: Run
claude-memory init(ask user for --global flag preference)
- Action: Run
- Installed but outdated: Version marker missing or old
- Action: Run upgrade steps (doctor, add version marker, verify)
- Up to date: All healthy
- Action: Report status only
Step 3: Execute Required Actions
For Fresh Install:
- Ask user: "Install globally only or with project memory? [project/global]"
- Run
claude-memory init(with --global if selected) - Run
claude-memory doctorto verify - Add version marker to
.claude/CLAUDE.md - Report success
For Upgrade:
- Run
claude-memory doctor(auto-runs migrations) - Add/update version marker in
.claude/CLAUDE.md - Run
claude-memory statsfor smoke test - Report upgrade complete
For Verification:
- Run
claude-memory doctor - Confirm version in
.claude/CLAUDE.md - Report all healthy
Step 4: Report Results
Provide a clear summary:
- ✅ What was done
- 📊 Current status (facts, schema version, etc.)
- 🔄 Next steps (if any)
After Setup/Upgrade
Always remind the user:
- Restart Claude Code if configuration files were modified
- Test memory tools: Try
memory.statusormemory.recall "<topic>" - Use memory-first workflow: Check memory before reading files
What Gets Created
Databases
~/.claude/memory.sqlite3- Global knowledge (preferences, conventions).claude/memory.sqlite3- Project-specific facts and decisions
Configuration Files
.claude/CLAUDE.md- Workflow instructions for memory-first usage.claude/settings.json- Hooks for automatic ingestion.claude.json- MCP server configuration.claude/rules/claude_memory.generated.md- Published snapshot
Hooks
ClaudeMemory automatically ingests transcripts on these events:
- SessionStart - Catch up on previous session
- Stop - After each response
- SessionEnd - Final ingestion before closing
- PreCompact - Before context summarization
Common Scenarios
Fresh Install
User has never installed ClaudeMemory:
- Ask installation preference (project vs global)
- Run
claude-memory initwith appropriate flags - Verify with
doctor - Add version marker
- Report success and next steps
Upgrade After Gem Update
User updated gem but not configuration:
- Run
claude-memory doctor(auto-migrates schema) - Update version marker in
.claude/CLAUDE.md - Verify with smoke tests
- Report upgrade complete
Verification
User wants to check current status:
- Run
claude-memory doctor - Run
claude-memory stats - Check version marker in
.claude/CLAUDE.md - Report all findings
Troubleshooting Guide
If automatic setup fails, provide these solutions:
Permission Denied
chmod +x $(which claude-memory)
Database Locked
- Close other Claude sessions
- Run
claude-memory recover
Missing Ruby ClaudeMemory requires Ruby 3.2.0+. Check with:
ruby --version
Hooks Not Working Re-run setup:
claude-memory init
Memory-First Workflow
After successful setup, always remind users:
- Query memory first:
memory.recall "<topic>" - Use semantic shortcuts:
memory.decisions,memory.conventions,memory.architecture - Check before exploring: Memory saves time vs reading files
- Combine knowledge: Merge recalled facts with code exploration
This workflow leverages distilled knowledge from previous sessions.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/claudememory-setup-upgrade-mm5t8bt3/download' --output '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md.part' && mv '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md.part' '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md' && test -s '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/setup-memory' && cp -R '.skill-downloads/claudememory-setup-upgrade-mm5t8bt3' '.claude/skills/setup-memory'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/claudememory-setup-upgrade-mm5t8bt3'openskills read 'claudememory-setup-upgrade-mm5t8bt3'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/claudememory-setup-upgrade-mm5t8bt3/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.