Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Zettelkasten-based agent memory system with bidirectional links
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MEMEX_HOMEต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"memex": {
"command": "npx",
"args": [
"-y",
"@touchskyer/memex"
],
"env": {
"MEMEX_HOME": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add memex --env MEMEX_HOME='ใส่ค่าของคุณ' -- npx -y @touchskyer/memexเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"memex": {
"command": "npx",
"args": [
"-y",
"@touchskyer/memex"
],
"env": {
"MEMEX_HOME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"memex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@touchskyer/memex"
],
"env": {
"MEMEX_HOME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MEMEX_HOME envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub iamtouchskyer ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.8) เข้า registry 8 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Persistent memory for AI coding agents. Your agent remembers what it learned across sessions.
English | 中文 | 日本語 | 한국어 | Español
Every time your AI agent finishes a task, it saves insights as atomic knowledge cards with [[bidirectional links]]. Next session, it recalls relevant cards before starting work — building on what it already knows instead of starting from scratch.
No vector database, no embeddings — just markdown files your agent (and you) can read.
| Platform | Integration | Experience |
|---|---|---|
| Claude Code | Plugin (hooks + skills) | Best — auto-recall, slash commands, SessionStart hook |
| VS Code / Copilot | MCP Server | 12 MCP tools, zero config |
| Cursor | MCP Server | 12 MCP tools, zero config |
| Codex | MCP Server | 12 MCP tools, zero config |
| Windsurf | MCP Server | 12 MCP tools, zero config |
| Pi | Extension (custom tools + hooks) | 8 tools, auto-recall hook, slash commands |
| Any MCP client | MCP Server | 12 MCP tools, zero config |
All platforms share the same ~/.memex/cards/ directory. A card written in Claude Code is instantly available in Cursor, Codex, or any other client.
npm install -g @touchskyer/memexStep 1: Add memex to your editor
| Platform | Command |
|---|---|
| VS Code / Copilot | Search "memex" in VS Code Extensions — install and done, no extra setup |
| Claude Code | /plugin marketplace add iamtouchskyer/memex then /plugin install memex@memex |
| Claude Code (MCP fallback) | npm install -g @touchskyer/memex && memex mcp-config --claude-code |
| Cursor | First npm install -g @touchskyer/memex, then one-click install |
| Codex | npm install -g @touchskyer/memex && codex mcp add memex -- memex mcp |
| Pi | npm install -g @touchskyer/memex && pi install npm:@touchskyer/memex |
| Windsurf / others | npm install -g @touchskyer/memex, then add MCP server: command memex, args ["mcp"] |
Note: If you use Claude Code inside VS Code, follow the Claude Code row — not "VS Code / Copilot". The VS Code extension serves GitHub Copilot only; Claude Code has its own plugin system.
That's it — no extra setup needed. The MCP tool descriptions tell your agent when to recall and retro.
| Platform | How |
|---|---|
| VS Code / Copilot | Extension auto-updates from marketplace |
| Claude Code | /plugin uninstall memex then /plugin install memex@memex |
| Pi | npm update -g @touchskyer/memex and re-copy pi-extension/index.ts |
| Cursor / Codex / Windsurf | npm update -g @touchskyer/memex |
All clients read and write the same ~/.memex/cards/ directory. Sync across devices with git:
Prerequisite: Auto-create requires GitHub CLI (
gh auth login). Or pass your own git remote URL to skip this, including GitLab and self-hosted GitLab remotes.
memex sync --init # auto-creates private memex-cards repo on GitHub
memex sync --init # or specify your own repo URL (no gh/glab CLI needed) memex sync on # enable auto-sync after every write memex sync # manual sync memex sync off # disable auto-sync
For GitLab, create an empty private repository first, then pass its SSH or HTTPS remote URL. See the GitLab sync guide for examples.
memex serve
Opens a visual timeline of all your cards at localhost:3939. Includes a graph view to explore bidirectional links.
If you've set up sync, memex serve opens memra.vercel.app — a web UI with Timeline, Graph view, and Share card. Pass --local to force the local UI instead (useful offline, or when you'd rather not send queries to a third-party web app):
memex serve --local
memex search [query] # search cards (ranked), or guidance / --list
memex read # read a card memex write # write a card (content via stdin) memex links [slug] # link graph stats, or one card's links memex backlinks # cards linking to via [[wiki-links]] memex link # append an outbound [[wiki-link]] with context memex archive # move a card to the archive memex organize # analyze network: orphans, hubs, conflicts memex serve # visual timeline UI (web) memex sync # sync via git (--init / --status / on|off) memex import [source] # import memories from other tools (openclaw, ...) memex mcp # start MCP server (stdio) memex mcp-config # configure MCP for Claude Code / other clients memex doctor # check memex health and configuration memex migrate # migrate configuration (e.g. --enable-nested) memex flomo ... # flomo integration: config / push / import
Based on Niklas Luhmann's Zettelkasten method — the system behind 70 books from 90,000 handwritten cards:
Cards are stored as markdown in ~/.memex/cards/. Open them in Obsidian, edit with vim, grep from terminal. Your memory is never locked in.
Do not put actual secrets, credentials, tokens, or exact secret file contents into memex queries or cards. Use abstract descriptions and redacted examples instead.
Memex rejects high-confidence raw secrets, redacts credentials embedded in URLs before saving, and masks webhook/tokenized URLs in display output. It cannot hide unsafe tool-call arguments that your AI client has already shown in its transcript, so redact before calling tools.
Optional settings go in ~/.memex/.memexrc (JSON):
{
"nestedSlugs": true, "searchDirs": ["shared"], "experimental": { "agenticMemory": true } }
| Key | Type | Default | Description |
|---|---|---|---|
nestedSlugs | boolean | false | Allow / in slugs for hierarchical card paths |
searchDirs | string[] | — | Extra directories to search with --all (in addition to the built-in cards/ store) |
experimental.agenticMemory | boolean | false | Enable A-MEM-inspired agentic memory workflow (see below) |
When experimental.agenticMemory is true, agents gain access to a structured memory skill that guides them through: observe → draft atomic card → enrich metadata → retrieve candidates → decide (create/update/skip) → preview → write → verify.
This produces higher-quality cards with agent-proposed [[wikilinks]] (links are suggested after candidate retrieval and agent review, never added from keyword or embedding similarity alone) and metadata enrichment, compared to the default recall/retro workflow. The feature is default-off and does not change any existing behavior when disabled.
See skills/memex-agentic-memory/SKILL.md for the full skill specification and docs/ARCHITECTURE.md for config details.
AI 编程 agent 的持久记忆系统。让你的 agent 跨会话记住学到的知识。
每次 agent 完成任务后,它会将洞察保存为带有 [[双向链接]] 的原子知识卡片。下次会话时,agent 会先回顾相关卡片再开始工作——基于已有知识继续,而非从零开始。
无需向量数据库,无需 embedding——只是你和 agent 都能读取的 markdown 文件。
| 平台 | 集成方式 | 体验 |
|---|---|---|
| Claude Code | Plugin(hooks + skills) | 最佳——自动回顾、斜杠命令、SessionStart hook |
| VS Code / Copilot | MCP Server | 12 个 MCP 工具,零配置 |
| Cursor | MCP Server | 12 个 MCP 工具,零配置 |
| Codex | MCP Server | 12 个 MCP 工具,零配置 |
| Windsurf | MCP Server | 12 个 MCP 工具,零配置 |
| Pi | Extension(自定义工具 + hooks) | 8 个工具,自动回顾 hook,斜杠命令 |
| 任何 MCP 客户端 | MCP Server | 12 个 MCP 工具,零配置 |
所有平台共享同一个 ~/.memex/cards/ 目录。在 Claude Code 中写的卡片,在 Cursor、Codex 或其他客户端中即刻可用。
npm install -g @touchskyer/memex第一步:添加 memex 到编辑器
| 平台 | 命令 |
|---|---|
| VS Code / Copilot | 在 VS Code 扩展商店 搜索 "memex"——安装即用,无需其他配置 |
| Claude Code | /plugin marketplace add iamtouchskyer/memex,然后 /plugin install memex@memex |
| Claude Code(MCP 备选) | npm install -g @touchskyer/memex && memex mcp-config --claude-code |
| Cursor | 先 npm install -g @touchskyer/memex,然后 一键安装 |
| Codex | npm install -g @touchskyer/memex && codex mcp add memex -- memex mcp |
| Pi | npm install -g @touchskyer/memex && pi install npm:@touchskyer/memex |
| Windsurf / 其他 | npm install -g @touchskyer/memex,然后添加 MCP server:命令 memex,参数 ["mcp"] |
注意: 如果你在 VS Code 里使用 Claude Code,请按照 Claude Code 那一行操作,而非"VS Code / Copilot"。VS Code 扩展仅服务于 GitHub Copilot;Claude Code 有自己的 plugin 系统。
安装完成,无需额外配置。MCP 工具描述会自动告诉 agent 何时 recall 和 retro。
AIコーディングエージェントのための永続メモリシステム。エージェントがセッションをまたいで学んだことを記憶します。
エージェントがタスクを完了するたびに、[[双方向リンク]]付きのアトミックな知識カードとしてインサイトを保存します。次のセッションでは、作業開始前に関連カードを呼び出し、ゼロからではなく既存の知識の上に構築します。
ベクトルデータベースもembeddingも不要——エージェント(とあなた)が読めるmarkdownファイルだけです。
| プラットフォーム | 統合方式 | 体験 |
|---|---|---|
| Claude Code | Plugin(hooks + skills) | 最高——自動リコール、スラッシュコマンド、SessionStart hook |
| VS Code / Copilot | MCP Server | 12 MCPツール、設定不要 |
| Cursor | MCP Server | 12 MCPツール、設定不要 |
| Codex | MCP Server | 12 MCPツール、設定不要 |
| Windsurf | MCP Server | 12 MCPツール、設定不要 |
| Pi | Extension(カスタムツール + hooks) | 8ツール、自動リコールhook、スラッシュコマンド |
| 任意のMCPクライアント | MCP Server | 12 MCPツール、設定不要 |
すべてのプラットフォームが同じ ~/.memex/cards/ ディレクトリを共有します。Claude Codeで書いたカードは、Cursor、Codex、その他のクライアントですぐに利用できます。
npm install -g @touchskyer/memex が必要ステップ1:エディタにmemexを追加
| プラットフォーム | コマンド |
|---|---|
| VS Code / Copilot | VS Code 拡張機能で "memex" を検索——インストールするだけ、追加設定不要 |
| Claude Code | /plugin marketplace add iamtouchskyer/memex、その後 /plugin install memex@memex |
| Claude Code(MCPフォールバック) | npm install -g @touchskyer/memex && memex mcp-config --claude-code |
| Cursor | まず npm install -g @touchskyer/memex、その後 ワンクリックインストール |
| Codex |
ตัดมาแค่ช่วงต้น อ่านต่อใน repo