andrej-karpathy-skills
A single CLAUDE.md file of behavioral guidelines for Claude Code, derived from Andrej Karpathy's observations on common LLM coding pitfalls. It helps avoid overcomplicated code, keep changes surgical, and surface assumptions.
cwinvestments/memstack is a skill framework for Claude Code that ships skills, commands, and hooks for deployment, security, databases, content, and marketing work. Use it when you want a matching skill to load automatically from a plain request, such as asking to deploy a project to Railway.
Claude Code
> /plugin marketplace add cwinvestments/memstack> /plugin install memstack@cwinvestments-memstack
Codex
$ npx skills add cwinvestments/memstack -a codex
Cursor
$ npx skills add cwinvestments/memstack -a cursor
Gemini CLI
$ npx skills add cwinvestments/memstack -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add cwinvestments/memstack$ copilot plugin install memstack@cwinvestments-memstack
OpenCode
$ npx skills add cwinvestments/memstack -a opencode
Windsurf
$ npx skills add cwinvestments/memstack -a windsurf
The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more.
Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.
MemStack installs in two parts: the skills (via the Claude Code plugin marketplace) and the engine (the MCP skill loader, via PyPI). You need both: the loader reads skill files from the installed marketplace plugin. Every command below is labeled (in Claude Code) or (in terminal): running one in the wrong place is the most common setup mistake.
Step 1: Install the free skills · (in Claude Code):
/plugin marketplace add cwinvestments/memstack
/plugin install memstack@cwinvestments-memstack
Run both commands. This unlocks the 87 free skills right away.
SSH error? ("Host key verification failed" on a fresh server that's never used GitHub over SSH.) Default fix · (in terminal): rewrite GitHub to HTTPS, then retry Step 1:
git config --global url."https://github.com/".insteadOf "git@github.com:"Backup fix · (in terminal): add GitHub's host key, then retry Step 1:
mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
Step 2: Install the engine · (in terminal):
Windows:
pip install --upgrade memstack-skill-loader
Mac / Linux: install into a dedicated virtual environment:
python3 -m venv ~/.memstack-venv
~/.memstack-venv/bin/pip install --upgrade memstack-skill-loader
Recent Homebrew and Debian Pythons refuse installs into the system environment, and the MCP registration in Step 3 must point at the Python that has the package, so both steps use the venv's own Python. No venv module? Run sudo apt install python3-venv first (Debian/Ubuntu).
Check the install · (in terminal):
# Windows
python -m memstack_skill_loader --version
python -m memstack_skill_loader doctor
# Mac / Linux
~/.memstack-venv/bin/python -m memstack_skill_loader --version
~/.memstack-venv/bin/python -m memstack_skill_loader doctor
Step 3: Register the MCP server · (in terminal): register against the same Python you installed onto in Step 2.
Windows:
claude mcp add --scope user memstack-skills -- python -m memstack_skill_loader
Mac / Linux:
claude mcp add --scope user memstack-skills -- ~/.memstack-venv/bin/python -m memstack_skill_loader
If this doesn't match Step 2's Python, the server won't launch (you'll see a "failed to reconnect" error and activate_license will be missing).
Step 4: Activate your license · (in Claude Code, after a full restart): fully quit and reopen Claude Code first so it picks up the new MCP server, then run:
activate_license(key="your-key", email="you@example.com")
This unlocks the 44 Pro-exclusive skills (87 free + 44 Pro = 131 total). Free-tier users can skip this step: type list skills to verify the 87 free skills loaded.
See GETTING-STARTED.md for detailed setup, and the Troubleshooting section below.
error: externally-managed-environment (during Step 2): pip refuses to install into a system-managed Python (recent Homebrew and Debian). Do not answer it with --break-system-packages; install into the venv instead, then register that venv's Python as in Step 3 · (in terminal):
python3 -m venv ~/.memstack-venv
~/.memstack-venv/bin/pip install --upgrade memstack-skill-loader
Plugin clone fails: "Host key verification failed" (during Step 1): a fresh server that's never connected to GitHub over SSH. Default fix · (in terminal): git config --global url."https://github.com/".insteadOf "git@github.com:" then retry Step 1. Backup fix · (in terminal): mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts then retry Step 1.
activate_license not found, or MCP "failed to reconnect (-32000)": the loader was installed onto a different Python interpreter than the one Claude Code launches (the classic bare-python mismatch on Linux/Mac). Check · (in terminal):
~/.memstack-venv/bin/python -m memstack_skill_loader doctor
If it runs, make sure Step 3 registered that exact path, then fully restart Claude Code. If it errors with No such file or directory or ModuleNotFoundError, create the venv, reinstall, and re-register against the venv's Python. An existing registration (for example one pointing at /usr/bin/python3) has to be removed first · (in terminal):
python3 -m venv ~/.memstack-venv
~/.memstack-venv/bin/pip install --upgrade memstack-skill-loader
claude mcp remove --scope user memstack-skills
claude mcp add --scope user memstack-skills -- ~/.memstack-venv/bin/python -m memstack_skill_loader
Then fully restart Claude Code. Rule of thumb: whichever Python runs doctor successfully is the path that must appear in your claude mcp add command.
ensurepip is not available or No module named venv (during Step 2): that Python ships without the venv module (common on minimal Debian/Ubuntu server images). Install it, then retry the Step 2 install · (in terminal):
sudo apt install python3-venv
| Tier | Skills | Access |
|---|---|---|
| Free | 87 skills | Included with MemStack™ base |
| Pro | 131 total (87 free + 44 Pro-exclusive) | Requires Pro Skill Loader (memstack.pro) |
Architecture note: Pro skills are license-gated. When you activate a valid Pro key, the loader downloads them from our server to ~/.memstack/pro-skills. Free users see free skills only; Pro license holders unlock the full catalog. This design keeps a single source codebase with no separate repos or branches for Pro content.
Pro-exclusive skills (44): advanced-security, api-docs, api-load-tester, branching, browser-use, burn, checkpoint, claude-api-helper, codebase-index, config-audit, consolidate, context-db, council, database-architect, database-migration, dependency-auditor, developer-growth-analysis, diagram-generator, doc-index, drift-detection, env-manager-pro, error-handler, frontend-design, git-worktrees, governor-pro, gtm-validator, hooks-integration, ios-app-store, log-analyzer, mcp-builder, meeting-insights-analyzer, model-router, multi-agent, nextjs-conventions, performance-profiler, python-conventions, rag-builder, session-restore, social-media, test-generator, us-privacy-compliance, video-pipeline, video-review, web-scraper. These require an active Pro license.
New skill rule: All newly added skills default to Pro-exclusive. After 90 days, they drop to the free tier unless marked permanent-Pro.
Complete the Install steps above first (marketplace + engine). Then, in Claude Code, ask Claude to run:
activate_license(key="your-key", email="you@example.com")
Pro skills download automatically from our server to ~/.memstack/pro-skills: there is no separate marketplace step for Pro. Your key is saved permanently: no environment variables needed.
Alternative: You can also set
MEMSTACK_PRO_LICENSE_KEYas an environment variable instead of usingactivate_license. Usesetxon Windows or add to~/.bashrcon Mac/Linux, then restart your terminal and Claude Code.
MemStack updates through three independent channels. Refresh whichever you need, then restart Claude Code:
1. Free skills (including newly released ones), in Claude Code:
/plugin marketplace update cwinvestments-memstack
then /reload-plugins (or restart Claude Code).
Fallback: if a new skill doesn't appear (marketplace version-detection can be unreliable), re-run /plugin install memstack@cwinvestments-memstack. As a last resort, clear the cached plugin and reinstall it.
2. Pro skills: auto-update within 24 hours. To force an immediate re-download, ask Claude to run the refresh_pro_skills tool.
3. Engine (the skill loader itself), in your terminal:
# Windows
pip install --upgrade memstack-skill-loader
# Mac / Linux
~/.memstack-venv/bin/pip install --upgrade memstack-skill-loader
Everything from MemStack free:
All 131 skills are fully implemented with complete protocols, context guards, activation messages, and level history. Skills load on-demand via the MCP catalog system: only the skill matching your current task is loaded, preventing context bloat. 44 Pro-exclusive skills require an active license key. Get a key at memstack.pro.
| Skill | Description |
|---|---|
compress | Monitor and manage TokenStack™ context compression for Claude Code sessions, tracking proxy status and token savings. |
diary | Save a structured session diary capturing what was built, decisions made, and next steps at the end of a productive session. |
echo | Recall information from past Claude Code sessions using semantic vector search when referencing previous work. |
goal | Structure a task into TASK, WHY, OUTCOME, CONSTRAINTS, and a required VERIFICATION criterion before execution begins, so 'done' is defined and provable up front. |
grimoire | Manage and update CLAUDE.md files across all projects after significant changes. |
report | Writes the session final report to a file, then prints only the path and a one-line summary. Fires on the phrase in a prompt or on a configured standing trigger. |
sight | Generate Mermaid diagrams showing project architecture, schema, and data flow for a visual overview of code structure. |
token-optimization | Enable and understand TokenStack™, the built-in compression proxy that shrinks Claude Code tool output before it reaches the Anthropic API, covering how to turn it on, the free and Pro transforms, and how to read token savings on the dashboard. |
burn [PRO] | Track Claude Code token consumption, API spend, and context-window usage with per-session logs, per-project rollups, and monthly budget alerts. |
checkpoint [PRO] | Capture state and context before risky changes so you can roll back if things go wrong, creating structured save points with decision context and file states. |
consolidate [PRO] | Compress a week of diary entries into actionable insights and cross-project pattern summaries. |
context-db [PRO] | Store and query structured project knowledge in a per-project SQLite database, reducing token usage by returning only relevant facts instead of reading full CLAUDE.md. |
council [PRO] | Run a structured multi-perspective debate with four voices analyzing tradeoffs before making significant technical decisions. |
governor-pro [PRO] | Enforce discipline guardrails for agentic coding: think before coding, no sycophancy, no infinite loops, verify before claiming done. |
model-router [PRO] | Route tasks to the right AI model based on complexity, cost, and speed requirements, saving money without sacrificing quality where it matters. |
A single CLAUDE.md file of behavioral guidelines for Claude Code, derived from Andrej Karpathy's observations on common LLM coding pitfalls. It helps avoid overcomplicated code, keep changes surgical, and surface assumptions.
Gives a Claude Code session helpers for product and engineering work: challenging a plan's scope, judging whether an idea is worth building before any code, tracing a bug to its root cause, and reviewing recent work patterns each week.
Turns a technical book or a folder of documents into a skill your coding agent can load on demand. It pulls out frameworks, decision rules and anti-patterns, so the agent answers from the real chapter text instead of you pasting the whole book into context.
Distills colleague, relationship, or celebrity source material such as chat logs and emails into reusable person profiles, and also sets up an owner profile so a personal agent knows who it works for.
Install it with the command on its page. It includes api-integration, content-pipeline, cron-scheduler. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it