Skip to content
Prompt

memex — Windsurf Rules

by iamtouchskyer

AI Summary

Zettelkasten memory for AI agents. Markdown cards in with . npm package . Distributed as CLI + MCP server + Claude Code plugin + VS Code extension + Pi extension. Build has a known TS error ( optional dep). Ignore it — it compiles fine for distribution. If you add a new MCP tool:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "memex — Windsurf Rules" prompt rules to my project.
Repository: https://github.com/iamtouchskyer/memex

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Zettelkasten-based persistent memory for AI coding agents. Works with Claude Code, Cursor, VS Code Copilot, Codex, Windsurf & any MCP client. No vector DB — just markdown + git sync.

Memex — Agent Working Instructions

> Detailed architecture reference: docs/ARCHITECTURE.md

What Is This

Zettelkasten memory for AI agents. Markdown cards in ~/.memex/cards/ with [[wikilinks]]. npm package @touchskyer/memex. Distributed as CLI + MCP server + Claude Code plugin + VS Code extension + Pi extension.

Before You Touch Anything

`bash npm test # must pass. vitest, 70% coverage threshold. ` Build has a known TS error (node-llama-cpp optional dep). Ignore it — it compiles fine for distribution.

How The Code Is Layered

` MCP tools (src/mcp/) → Commands (src/commands/) → Lib (src/lib/) → Filesystem (~/.memex/) ↑ client-facing ↑ business logic ↑ data access ` The rule: MCP tools and CLI are thin wrappers. All logic lives in src/commands/. All data access in src/lib/store.ts. Don't put logic in the wrong layer.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2d ago
Active
Adoption100+ stars on GitHub
185 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars185
Forks40
Issues8
Updated2d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more