Chuyển đến nội dung
Skillpedia
Agent15k · #11078

install-memu

Skill này làm gì

Skill thiết lập memU, một công cụ bộ nhớ, cho AI agent bạn đang dùng. Skill dành cho người muốn agent của mình nhớ các phiên làm việc trước đó.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu cài đặt, thiết lập hoặc tích hợp memU với agent của bạn.
  • ✓Khi bạn muốn gỡ bỏ memU.
  • ✓Khi ai đó chỉ bạn đến file này và yêu cầu thiết lập memU.

Liên kết skill

https://github.com/NevaMind-AI/memU/blob/main/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/NevaMind-AI/memU/blob/main/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy cài đặt memU cho coding agent của tôi để nó nhớ các phiên làm việc trước đây của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent cài gói memU, xác định môi trường chạy của nó và làm theo hướng dẫn cài đặt đi kèm gói đó. Hướng dẫn kết nối hai phần: ghi lại các phiên làm việc đã qua vào bộ nhớ, và truy xuất bộ nhớ trước khi agent trả lời.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Install memU

Audience: the agent. A user has pointed you at this file ("read SKILL.md and follow it to install memU"). This skill does not contain the install steps — it routes you to the right guide, which ships inside the memU package and is always in sync with the installed code. Do not install from memory or from blog posts; print the guide and follow it to the letter.

memU integrates with a host agent through two seams: record (a scheduled bridging task mines your session log into durable memory) and inject (a standing instruction in your instruction file makes you retrieve before answering). Each supported host has its own adapter binary carrying its own install guide. Your job here is three steps: install the package, pick your binary, print and follow its guide.

Before installing with Codex

If you are Codex, check the session's effective sandbox mode before Step 1. Continue only with danger-full-access; approval policy alone is not sufficient. If restricted or unknown, pause and show both ways to continue: enable Full access in Codex Desktop, or restart Codex CLI with codex --dangerously-bypass-approvals-and-sandbox. Recheck the effective mode before proceeding. After installation, remind the user to restore their previous permission mode.

Step 1 — install the package

pip install --upgrade memu-cli

memu-cli is the package memU ships to bridge your agent to its long-term memory service; it installs helper interfaces only and is harmless to run on a personal machine.

Keep the --upgrade. A machine that already has an older memu-cli would otherwise keep it, and the steps below name subcommands that older builds do not have — the symptom is invalid choice. If you meet that error at any point, you are on a stale build: upgrade, then re-run the command that failed.

This puts memu and every host-adapter binary on PATH. If pip is not the right tool for this machine (managed Python, uv-only), use the equivalent — what matters is that the binaries below resolve from a bare, non-interactive shell. With uv this means uv tool install --upgrade memu-cli, not uv pip install: however it is installed, memu-cli is a cross-session bridging tool and must be callable everywhere, not scoped to one project venv.

Step 2 — pick your host binary

Identify which agent you are (not which agents are installed — the one executing this skill):

You are Your binary
Codex memu-codex
Claude Code memu-claude-code
Cursor (Agent/CLI) memu-cursor
OpenClaw memu-openclaw
Hermes Agent memu-hermes
WorkBuddy memu-workbuddy
Cola memu-cola
pi memu-pi
anything else memu-agent

Unsure, or not in the table? You are memu-agent. Run:

memu-agent detect

It probes this machine and reports, per agent, whether memorization works (a recognizable session log exists) and whether retrieval works (an instruction file exists to patch) — and it will redirect you to a dedicated binary if your host turns out to have one.

Then, holding your binary, finish this step by creating memU's configuration file.

<your-binary> init --cloud-api-key <the user's memU key>

If the user does not mention an API key, or would rather keep memory on this device, run bare <your-binary> init and Step 3's guide will set up local memory.

Step 3 — print your guide and follow it

<your-binary> docs install

Read what it prints, top to bottom, and follow it exactly. Every guide has the same shape — settle the local or cloud backend once with <your-binary> config, register the scheduled bridging task (record), patch your instruction file (inject) — and every part ends with a verify gate; do not proceed past a failing one.

Three rules that hold for every host:

  • Install in one pass; don't stop for confirmation. Most users want a silent, full install set up for them in a single call. Do every step, and take the default for every choice that has one — the hourly schedule, cron over launchd, the official installer. Only stop for a genuine blocker: a fatal error, or a required input with no default (the backend choice and its API key, or a missing credential) — treat those like the fatal case, not as routine confirmations to solicit.
  • One backend. If <your-binary> config show reports a mode with a backend behind it (another agent on this machine is
Câu hỏi thường gặp

Skill có tự bao gồm các bước cài đặt không?

Không. Skill chỉ đến hướng dẫn đi kèm gói memU, để các bước khớp với code đã cài.

Hai phần của thiết lập là gì?

Record, tức là khai thác nhật ký phiên làm việc thành bộ nhớ lâu dài, và inject, tức là khiến agent kiểm tra bộ nhớ trước khi trả lời.

Có bước đặc biệt nào cho Codex không?

Có. Codex cần kiểm tra chế độ truy cập đầy đủ trước khi cài đặt, và bạn được nhắc khôi phục chế độ cũ sau đó.

Chi tiết

Mô tả gốc của tác giả

Install or uninstall memU for whatever agent you are — identify your host, print its packaged guide, and follow it to wire (or unwire) both seams (record and inject). Use when the user asks to install, set up, integrate, remove, or uninstall memU.

repo: NevaMind-AI/memU

Độ phổ biến

Sao GitHub
15k
Vị trí xếp hạng
#11078
Giấy phép
—
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự