ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

skillmem

โดย liza-studioรุ่น 0.13.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.liza-studio/skillmem

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Skill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "skillmem": {
      "command": "uvx",
      "args": [
        "skillmem",
        "mcp"
      ],
      "env": {
        "SKILLMEM_DB": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add skillmem --env SKILLMEM_DB='ใส่ค่าของคุณ' -- uvx skillmem mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "skillmem": {
      "command": "uvx",
      "args": [
        "skillmem",
        "mcp"
      ],
      "env": {
        "SKILLMEM_DB": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "skillmem": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "skillmem",
        "mcp"
      ],
      "env": {
        "SKILLMEM_DB": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • SKILLMEM_DB env
    Path to the SQLite database file (default: the platform data directory)

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub liza-studio ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7243 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 72% ของอีก 7243 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7243 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

skillmem ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.13.0) เข้า registry 14 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

skillmem

Self-improving skills for Claude Code and Codex — your agents learn, recall, reinforce, and forget.

Strength has to be earned — saying a skill helped is not evidence, a passing test is:

Generated from a real run: scripts/demo.sh --record | python3 scripts/cast_to_svg.py > docs/demo-evidence.svg.

skillmem gives Claude Code and the Codex CLI a local, persistent skill & memory layer. After every non-trivial task the agent can record *how it was done* as a skill; before the next task it recalls the relevant ones; skills that keep proving useful get stronger, and skills nobody uses fade away — the way human memory works.

  • $0 per write and per read — no LLM calls, no cloud, no API keys. Plain SQLite on your disk.
  • Bilingual hybrid search, fully local — FTS5 BM25 + Snowball stemming (EN/RU) matches inflected forms within a language; the multilingual ONNX embedder is what lets a Russian query find an English skill, so install the semantic extra if you work across both. All on CPU, offline.
  • Ebbinghaus strength model, earned not claimed — strength rises only on evidence from outside the agent's own judgement, falls after a failure, and fades on a schedule when unused; dead skills are swept to a backed-up archive (never deleted). Rules that are rare by nature can be pinned out of decay.
  • Provenance, and trust the owner grants — every memory records where it came from (owner / agent / imported / derived), and only the owner approves one as a rule (skillmem trust ). Anything unapproved — an imported pack, a summary of a transcript that quoted a web page, a rule an agent was talked into saving — is injected inside a marked block that says it is data, not instructions. An agent cannot change a memory the owner wrote or approved: it writes a proposal under a new slug.
  • Tamper-evident history — every edit is appended to a SHA256 hash-chain; skillmem verify detects any after-the-fact tampering.
  • Deep Claude Code integration — hooks on five events + 9 MCP tools installed with one command.
  • One memory, several agents — Claude Code and Codex share a single database, and every record carries the agent that wrote it, taken from the MCP handshake, so authorship stays readable when they learn side by side.
  • Cross-platform — macOS (launchd), Windows (schtasks), Linux (systemd user timers, cron fallback).
  • No vendor lock — export-all dumps everything to plain markdown with YAML frontmatter; re-importing the dump yields the same records. One destination per database: the exporter prunes its own stale files via a manifest, and refuses a directory another database exports to rather than overwrite its backup.

Why

Agents repeat their mistakes because each session starts from zero. Existing "memory" tools store facts; skillmem stores *procedures* — trigger, steps, outcome, lessons — and ranks them by how often they actually helped. The write path costs nothing, so the agent can afford to learn from every task.

What 0.10.0 changed

Memory that an agent writes is not the same thing as a rule you set, and until 0.10.0 this project treated them the same. An external text — a README, a web page — reaches a transcript, a model distils it into a note, and the note comes back in the next session under a heading that reads like your own rules. A document could also talk an agent into saving a rule through mem_learn, and that rule looked exactly like one you wrote.

Now provenance is a field, trust is an act, and the summariser that reads your transcripts runs with no tools at all (--tools "" plus --strict-mcp-config; a CLI that does not understand those flags gets no recap rather than an uncaged one). The full list — including the migration and what it does and does not approve on upgrade — is in the CHANGELOG.

The seven releases before it, in one line each, because they were all about the same hook: 0.9.3 stopped the Stop hook recursing into itself (one machine spawned 4083 summary sessions in a day); 0.9.4 put a rate limit on it and stopped a failing model buying a call per turn; 0.9.5 fixed four silent defects, including recall being dead for notebook edits; 0.9.6 stopped a slow summary overwriting a fresher one; 0.9.7 added skillmem recap and skillmem hooks-status; 0.9.8 stopped a skipped turn reading a 59 MB transcript first; 0.9.9 made publishing a summary compare-and-swap. Anyone on 0.9.0–0.9.2 should upgrade — those versions contain the recursion.

How it differs

The memory products in this space — Mem0, Zep, Letta, LangMem, Cognee — are built mostly for conversational and user memory, entity graphs, or agent-managed context, and most of them offer a hosted tier. skillmem is narrower on purpose and different on four axes:

skillmem
What it storesprocedures — trigger, steps, outcome, lessons — not facts about a user
What it forgetsactively: unused skills decay on an Ebbinghaus schedule and are archived; rare-but-critical rules are pinned out of it
Where strength comes fromoutside evidence only — a passing test, an accepted diff, your confirmation. An agent saying "that helped" moves recency, never strength, so it cannot promote its own mistake. reinforce is not idempotent: a retried confirmation counts again (evidence ids are a later release)
Who is trustedyou. Provenance is recorded, approval is yours to give, and unapproved memory arrives framed as data
Where it runsyour disk. SQLite + FTS5 + a local ONNX embedding model. No API key, no cloud, no Docker, no graph database
How it reaches the agenthooks on five events (SessionStart, UserPromptSubmit, PreToolUse, Stop, SessionEnd) — recall happens whether or not the agent thinks to ask, plus 9 MCP tools when it does

Retrieval quality is measured, not asserted: hit@5 0.871 / MRR 0.622 on the full LongMemEval oracle set, hybrid retrieval, k=5, CPU only, reproducible from this repo — see Benchmarks for the per-type table and the reporting rules we hold ourselves to.

Does a new session actually remember the last one? Measured on a real database, agent-level (see Benchmarks):

no memoryskillmem
A fact told in session 1, asked in a fresh session 2 (5 scenarios × 2 runs)0 / 1010 / 10
Questions about a real project, file access blocked (15 × 2 runs)0 / 3028 / 30

Quickstart

macOS / Linux:

pip install 'skillmem[semantic]'   # or: uv tool install 'skillmem[semantic]'

skillmem doctor # downloads the embedding model once (~220 MB)

Windows (PowerShell):

powershell -ExecutionPolicy Bypass -File install.ps1

Or from a checkout:

uv venv && uv pip install -e '.[semantic]'

source .venv/bin/activate # or prefix the commands below with uv run skillmem init --claude-code # wires MCP server + hooks into Claude Code skillmem init --codex # wires the MCP server into the Codex CLI skillmem init --all-agents # ...or all six at once (see below) skillmem doctor # health check: DB, schema, semantic status

Flags combine in one run — the agents then share one database.

All six agents
FlagAgentConfig it writes
--claude-codeClaude Code~/.claude.json + hooks in ~/.claude/settings.json
--codexCodex CLI~/.codex/config.toml
--cursorCursor~/.cursor/mcp.json
--windsurfWindsurf~/.codeium/windsurf/mcp_config.json
--geminiGemini CLI~/.gemini/settings.json
--opencodeopencode~/.config/opencode/opencode.json

Every entry is idempotent and backed up before it is touched; a config that does not parse is left alone rather than overwritten. Each agent is stamped with SKILLMEM_AGENT, so in a shared database "who learned this" stays answerable. skillmem uninstall removes all of them (--no-editors to keep the editor entries).

init --claude-code registers the MCP server in ~/.claude.json and the hooks in ~/.claude/settings.json (idempotent, with backups). Use --hooks minimal for no hooks at all (only the deny rules for the owner-only commands, below), or --hooks none for MCP only. Hand-written memory files are imported with skillmem migrate --source ; there is no per-turn import hook.

Codex CLI
skillmem init --codex

Appends an [mcp_servers.skillmem] table to ~/.codex/config.toml and marks the entry with SKILLMEM_AGENT=codex. The tag is belt-and-braces: with no tag set, the server takes the author's name from the agent's own MCP handshake, so attribution is right in a shared database whichever way skillmem was installed. The file is appended to, never rewritten: your own settings and comments stay where you put them, the result is parsed before it is written, and invalid TOML is refused rather than overwritten. skillmem uninstall removes the table again and leaves the rest of the file intact.

Codex reads AGENTS.md for project rules; if you keep yours in CLAUDE.md, point Codex at it with project_doc_fallback_filenames = ["CLAUDE.md"] in the same config file — then both agents follow one set of rules and one memory.

As a plugin

The repo is also a plugin, in two flavours, both pointing at the same skillmem-mcp binary:

  • Agent Plugins (plugin.json + mcp.json at the repo root) — what the Codex CLI installs from a marketplace. mcp.json needs both its $schema and "type": "stdio", and the command must be a bare executable name rather than an absolute path — Codex's parser ignores the file otherwise, with no error. codex mcp list listing the server is the check that it parsed.
  • Claude Code (.claude-plugin/ + hooks/hooks.json) — MCP server *and* every hook in one install.

Either way the package itself must be on PATH (pip install skillmem); the plugin wires the server, not the runtime. An MCP Registry manifest (server.json) is in the repo as well:

/plugin marketplace add liza-studio/skillmem

/plugin install skillmem@liza-studio

The plugin requires the skillmem Python package on PATH and replaces skillmem init --claude-code's wiring — use one or the other, not both (see docs/PUBLISHING.md).

A plugin cannot add permission rules, so the plugin path has no deny rules for the owner-only commands (trust, rm, skills-archive, skills-restore, skills rm, import-vault, uninstall --purge-db) — only their TTY check, which a pseudo-terminal gets past. skillmem init --claude-code installs both. Neither is a wall against an agent that has a shell: the rules match the command as written, and a quote inside the verb (skillmem tr''ust x under script) matches none of them. If agents run unattended with Bash on this machine, do not rely on them. The rules are a substring match: on a machine where you develop in a directory named skillmem, they also refuse your own commands there that mention one of those commands, --db, $, a backtick or eval.

Claude Desktop (chat app)

The MCP server also works in the Claude Desktop chat app — add to claude_desktop_config.json (Sett

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx