GitHub - SukinShetty/Nemp-memory: Nemp - The memory plugin for Claude Code that remembers everything.

10 min read Original article ↗
Nemp Memory Logo

 Nemp Memory

100% Local Memory for Claude Code • Privacy-First • Zero Setup

100% Local No Cloud No API Key Privacy First License

Nemp Memory Banner


The Problem

Claude Code forgets everything between sessions. You waste 15-20 minutes every day re-explaining:

  • Your tech stack
  • Architecture decisions
  • Project patterns
  • What you worked on yesterday

Other memory plugins exist, but they're complicated:

  • Require MCP servers, SQLite databases, or Ollama
  • Need cloud accounts and API keys
  • Send your code context to their servers
  • Need 10+ steps to set up
  • Come with web UIs you'll never use
  • Store data in formats you can't easily read

Why Nemp Is Different

Nemp is stupidly simple:

/plugin marketplace add https://github.com/SukinShetty/Nemp-memory
/plugin install nemp
# Done.

Zero dependencies. No cloud. No API keys. Plain JSON files. Just works.

Feature Other Plugins Nemp
Setup 10+ steps 2 commands
Dependencies SQLite, Ollama, web servers None
Cloud Required Often yes No
API Key Required Often yes No
Data Storage Binary databases, cloud Plain JSON
Privacy Data may leave your machine 100% Local
Auto-detect Stack No Yes
Proactive Suggestions No Yes
Auto-sync to CLAUDE.md No Yes
Two-way CLAUDE.md sync No Yes
Conflict detection No Yes
Works Offline Sometimes Always
Cost Free to $19/month Free Forever

6 Features That Set Nemp Apart

1️⃣ Auto-Init: One Command Learns Everything

Unique to Nemp: Auto-detects your entire stack in one command.

Auto-init demo

That's it. Nemp scans your project and automatically detects:

  • Framework (Next.js, React, Vue, etc.)
  • Language & config (TypeScript, strict mode)
  • Database & ORM (Prisma, Drizzle, MongoDB)
  • Auth solution (NextAuth, Clerk, Supabase)
  • Styling (Tailwind, styled-components)
  • Package manager (npm, yarn, pnpm, bun)

Example output:

Scanning your project...
I found:

Framework: Next.js 14 (App Router detected)
Language: TypeScript (strict mode enabled)
Database: PostgreSQL via Prisma
Auth: NextAuth.js
Styling: Tailwind CSS
Package Manager: npm

Saved 6 memories in 2 seconds
Claude now knows your stack forever.

Why this matters:

  • New team members: Zero onboarding
  • Context switching: Instant project recall
  • No manual documentation needed

2️⃣ Smart Context: Find Memories Instantly

Unique to Nemp: Semantic search that understands what you're looking for.

Smart context demo

Nemp doesn't just search for "auth" — it expands to:

  • authentication, login, session, jwt, oauth, nextauth, clerk, token, passport, credentials...

Example output:

FOUND 3 MEMORIES MATCHING "auth"

auth-provider [KEY MATCH]
  NextAuth.js with JWT strategy

auth-tokens [KEY + VALUE MATCH]
  15min access tokens, 7day refresh

auth-middleware [KEY MATCH]
  Protects all /api routes except /auth/*

Quick actions:
/nemp:recall auth-provider    # View details
/nemp:context database        # Search database

Why this matters:

  • No scrolling through old chats
  • Context appears in < 1 second
  • Finds related memories automatically

3️⃣ Memory Suggestions: AI Suggests What to Save

Unique to Nemp: Nemp watches your work and proactively suggests memories.

Memory suggestions demo

Example output:

NEMP MEMORY SUGGESTIONS
Based on your recent activity patterns:

#1  auth-approach                              PRIORITY: HIGH

DRAFTED FOR YOU:
  Authentication: JWT tokens, 15min access,
  7day refresh. Files: login.ts, session.ts,
  middleware.ts in auth/ directory

WHY SUGGESTED:
You edited 3 auth files 7+ times in 30 minutes.
This pattern is worth remembering.

[1] Save  [E] Edit  [S] Skip

What it detects:

  • Files edited frequently (3+ times)
  • New packages installed (npm install)
  • Directory patterns (auth/, api/, components/)
  • Command patterns (test before commit)
  • Time-based focus (30+ min sessions)

Why this matters:

  • Nemp drafts memories FOR you
  • Zero cognitive load
  • Captures patterns you'd miss

4️⃣ CLAUDE.md Auto-Sync: Set It and Forget It

Unique to Nemp: Your CLAUDE.md updates itself every time you save a memory.

That's it. From this point:

  • /nemp:save adds a memory → CLAUDE.md updates automatically
  • /nemp:init detects your stack → CLAUDE.md updates automatically
  • /nemp:forget removes a memory → CLAUDE.md updates automatically

You never manually edit the project context section of CLAUDE.md again.

What it looks like:

/nemp:save testing "test-gated success with pass@k evaluation"

✓ Memory saved: testing
  Value: "test-gated success with pass@k evaluation"
  Location: .nemp/memories.json (project)
  Total memories: 12
  ✓ CLAUDE.md synced

Your CLAUDE.md now has two parts:

  • Top: Your rules (written by you, never touched by Nemp)
  • Bottom: Project context (auto-generated by Nemp, always current)

Why this matters:

  • Two commands on day 1. Zero commands after that.
  • CLAUDE.md stays accurate without you thinking about it
  • New session? Claude already knows your full project context

5️⃣ Two-Way Sync: CLAUDE.md ↔ Nemp

Unique to Nemp: Reads FROM your CLAUDE.md and writes BACK to it.

What it does:

Direction 1 — Imports your manually written CLAUDE.md notes into Nemp. Now those notes become searchable with /nemp:context.

Direction 2 — Checks your actual project files (package.json, config files) against what CLAUDE.md says. If something doesn't match, Nemp catches it.

Example:

/nemp:sync

Imported from CLAUDE.md: 2 new memories
⚠️ Conflict: CLAUDE.md says Prisma, but package.json shows Drizzle
CLAUDE.md updated: ✓
Total memories: 15

Why this matters:

  • Catches outdated context before Claude uses wrong information
  • Already using CLAUDE.md? Nemp makes your existing notes searchable
  • Never worry about stale project context again

6️⃣ Export to CLAUDE.md: One Command, Full Context

Unique to Nemp: Generates the project context section of CLAUDE.md from your saved memories.

Nemp reads all your saved memories, organizes them by category, and writes a clean project context section into CLAUDE.md.

Example output in CLAUDE.md:

## Project Context (via Nemp Memory)
> Auto-generated by Nemp Memory. Last updated: 2026-02-04 19:10

### Tech Stack
| Key | Value |
|-----|-------|
| **stack** | Next.js 15 with TypeScript |
| **database** | PostgreSQL via Drizzle |
| **auth** | NextAuth.js with JWT |

Why this matters:

  • Don't want to write CLAUDE.md by hand? One command writes it for you
  • Clean, organized, professional format
  • Your manually written rules at the top stay untouched

Installation

Two commands:

# Step 1: Add the marketplace
/plugin marketplace add https://github.com/SukinShetty/Nemp-memory

# Step 2: Install the plugin
/plugin install nemp

Verify it's working:


Troubleshooting

Commands not working?

Step 1: Restart Claude Code

Step 2: Verify installation

/plugin list
# Should show: nemp@nemp-memory

Step 3: Clean reinstall

/plugin uninstall nemp
/plugin marketplace remove nemp-memory
exit
claude
/plugin marketplace add https://github.com/SukinShetty/Nemp-memory
/plugin install nemp
exit
claude

Windows Permission Error (EPERM)

If you see an error like:

Error: EPERM: operation not permitted, open 'C:\Users\...'

What's happening: Windows is blocking file access, often due to antivirus or file locks.

Fix it:

Step 1: Close any programs that might have the file open (VS Code, File Explorer)

Step 2: Run Claude Code as Administrator

  • Right-click on your terminal (PowerShell/CMD)
  • Select "Run as administrator"
  • Try the command again

Step 3: If still failing, check Windows Defender

  • Open Windows Security → Virus & threat protection
  • Click "Manage settings" under Virus & threat protection settings
  • Add your project folder to exclusions (scroll to "Exclusions")

Step 4: Verify it worked

/nemp:list
# Should show your memories without errors

Commands Not Recognized

If you type /nemp:save and nothing happens, or you see:

Unknown command: nemp:save

What's happening: The plugin isn't loaded or registered properly.

Fix it:

Step 1: Check if the plugin is installed

You should see nemp in the list. If not, continue to Step 2.

Step 2: Reinstall the plugin

/plugin marketplace add https://github.com/SukinShetty/Nemp-memory
/plugin install nemp

Step 3: Restart Claude Code (required!)

Step 4: Verify commands are available

/nemp:list
# Should work now

Still not working? Try a clean reinstall:

/plugin uninstall nemp
/plugin marketplace remove nemp-memory
exit
claude
/plugin marketplace add https://github.com/SukinShetty/Nemp-memory
/plugin install nemp
exit
claude

Marketplace Clone Failures

If you see errors like:

Error: Failed to clone marketplace repository
fatal: could not read from remote repository

or

Error: Repository not found

What's happening: Git can't access the GitHub repository.

Fix it:

Step 1: Check your internet connection

Step 2: Verify Git is installed

git --version
# Should show: git version 2.x.x

If Git isn't installed, download it from git-scm.com

Step 3: Try cloning manually to test access

git clone https://github.com/SukinShetty/Nemp-memory.git ~/test-nemp

If this fails, you may have:

  • Firewall blocking GitHub
  • Corporate proxy issues
  • GitHub rate limiting

Step 4: For corporate networks/proxies, configure Git

git config --global http.proxy http://your-proxy:port

Step 5: Once Git works, retry installation

/plugin marketplace add https://github.com/SukinShetty/Nemp-memory
/plugin install nemp
exit
claude

Plugin Not Loading

If the plugin appears installed but commands don't work:

/plugin list
# Shows: nemp@nemp-memory ✓

/nemp:list
# But this does nothing or shows error

What's happening: The plugin files exist but aren't being loaded by Claude Code.

Fix it:

Step 1: Clear the plugin cache

# On Mac/Linux:
rm -rf ~/.claude/plugins/cache/nemp*

# On Windows (PowerShell):
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\plugins\cache\nemp*"

Step 2: Restart Claude Code

Step 3: If still not working, check for corrupted installation

/plugin uninstall nemp
/plugin marketplace remove nemp-memory

Step 4: Clear all plugin data and reinstall fresh

# On Mac/Linux:
rm -rf ~/.claude/plugins/nemp*
rm -rf ~/.claude/marketplace/nemp*

# On Windows (PowerShell):
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\plugins\nemp*"
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\marketplace\nemp*"

Step 5: Restart and reinstall

exit
claude
/plugin marketplace add https://github.com/SukinShetty/Nemp-memory
/plugin install nemp
exit
claude

Step 6: Verify everything works

/plugin list
# Should show: nemp@nemp-memory

/nemp:list
# Should show your memories (or empty list if new install)

Uninstalling Nemp

Remove plugin:

/plugin uninstall nemp
/plugin marketplace remove nemp-memory

Delete all data (optional):

# Delete project memories
rm -rf .nemp

# Delete global memories
rm -rf ~/.nemp

Note: Deleting .nemp folders removes ALL saved memories permanently.

Still having issues?

  1. Check Claude Code version (requires v2.0+)
  2. Clear cache: rm -rf ~/.claude/plugins/cache/nemp*
  3. Open an issue on GitHub

Quick Commands

# Get Started
/nemp:init                    # Auto-detect stack (unique!)

# Basic Memory
/nemp:save <key> <value>      # Save memory
/nemp:recall <key>            # Get memory
/nemp:list                    # List all
/nemp:forget <key>            # Delete memory

# Smart Features
/nemp:context <keyword>       # Smart search (unique!)
/nemp:suggest                 # Get AI suggestions (unique!)
/nemp:suggest --auto          # Auto-save HIGH priority

# CLAUDE.md Integration
/nemp:auto-sync on/off        # Auto-update CLAUDE.md (game changer!)
/nemp:sync                    # Two-way sync with CLAUDE.md
/nemp:export                  # Generate CLAUDE.md from memories

# Global (Cross-Project)
/nemp:save-global <key> <value>
/nemp:list-global

# Activity (Optional)
/nemp:auto-capture on/off     # Enable tracking
/nemp:activity                # View log

Real Use Cases

Onboarding New Developers

# Day 1, new dev runs:
/nemp:init

# Claude instantly knows:
- Tech stack
- Database setup
- Auth approach
- Project structure

Time saved: 2 hours -> 2 seconds

Context Switching Between Projects

# Project A
cd ~/client-a
/nemp:recall stack
-> "Next.js, Stripe, PostgreSQL"

# Project B
cd ~/client-b
/nemp:recall stack
-> "React, Supabase, Tailwind"

Each project remembers itself.

Decision History

/nemp:save api-design "RESTful not GraphQL - team decision 2024-01-15"

# 3 months later:
/nemp:context api
-> Instant recall, no Slack archaeology

Privacy & Storage

Everything local. No cloud. No tracking.

.nemp/
  memories.json          # Your project memories
  activity.log           # Activity tracking (optional)

~/.nemp/
  memories.json          # Global memories

Human-readable JSON:

{
  "key": "auth-provider",
  "value": "NextAuth.js with JWT",
  "created": "2026-01-31T12:00:00Z"
}

You own your data. Delete anytime:

Why privacy matters:

  • Your code contains business logic
  • API keys and secrets in your context
  • Competitive advantages in your architecture
  • Compliance requirements (HIPAA, SOC2, etc.)

Nemp keeps it all on your machine. Always.


Contributing

Want to add framework detection or improve suggestions?

See CONTRIBUTING.md for details.

Popular requests:

  • Add Svelte/Angular detection
  • Improve suggestion algorithms
  • Build import/export features

Support


License

MIT © 2026 Sukin Shetty

Open source. Free forever. Use however you want.


Support This Project

Love Nemp? Here's how you can help:

Star this repo – Helps other developers discover Nemp 🐛 Report bugs – Make Nemp better for everyone 💡 Share your use case – Tweet @sukin_s with #NempMemory 🔀 Contribute code – See contributing guidelines

Join the community:

Every star motivates us to build better features!