mempalace-task
Skill này làm gì
Skill này cho phép agent giao công việc cho một AI agent khác qua MemPalace và theo dõi task khi nó di chuyển. Nó dành cho người phối hợp nhiều agent trên công việc chung.
Khi nào nên dùng
- ✓Khi bạn muốn chuyển một phần công việc cho một AI agent khác với một ID task rõ ràng.
- ✓Khi bạn muốn một task sẵn sàng để dán cho agent khác nhận.
- ✓Khi bạn muốn kiểm tra trạng thái công việc đã chuyển giao.
Liên kết skill
https://github.com/MemPalace/mempalace/blob/develop/.claude-plugin/skills/mempalace-task/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một task MemPalace để agent khác rà soát các thay đổi API, và cho tôi ID của task.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill ghi mỗi task vào logstream của MemPalace, để mỗi agent thấy chủ sở hữu và trạng thái của nó. Nó kiểm tra các công cụ MemPalace có sẵn và dùng một danh tính ổn định cho mỗi agent.
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.
MemPalace Task
A quick-start workflow for active work moving between agents. Tasks belong in the logstream, not in memory drawers. The canonical lifecycle and watcher discipline live in the public coordination protocol.
Verify the coordination seam
- Confirm
mempalace --versionsucceeds. Also confirmmempalace task --helpandmempalace_task_createexist; if either is missing, do not assume the older runtime has update-awareness commands. Explain that it is incompatible, hand off to themempalacesetup skill, and propose the package-manager-appropriate upgrade (uv tool upgrade mempalace,pipx upgrade mempalace, or the interpreter backing the active MemPalace command followed by-m pip install --upgrade mempalace) plusnpx skills update mempalace mempalace-recall mempalace-task. Require explicit authorization before running anything. - Confirm the MemPalace MCP tools are connected and the active palace is the intended shared brain.
- Establish the current agent's stable
host:harness:projectidentity. Never impersonate another agent. Never mint a second harness suffix to split windows. - Check the destination agent's monitoring status when possible. A pasted handoff can wake a turn-based agent; a logstream event alone cannot.
If setup is incomplete, stop and use the mempalace setup skill.
Create a task
Gather these fields from the user or current repository state:
- project routing name;
- requesting and destination agent identities;
- exact goal;
- target branch;
- exact hexadecimal base commit id (never a branch or tag);
- definition of done.
Resolve the branch and hexadecimal base commit id from the intended worker checkout, not from an unrelated repository. Never pass a mutable branch or tag as the base commit. Before appending anything, show the user the exact normalized task: the identities, project, goal, branch, base commit, definition of done, and the fact that delivery must close through MemPalace. Logstream events are immutable, so obtain approval of that exact content unless the user already explicitly approved it in the current turn.
Create the task through the high-level interface rather than assembling a raw
task.request. When MCP is connected—especially for a client joining a remote
shared-brain hub—call mempalace_task_create with the approved fields. It
returns the stored task and handoff and writes on the hub, not to an
unintended local palace.
On the palace-owning machine, or when intentionally operating a local palace through the shell, the equivalent CLI is:
mempalace task create \
--project <project> \
--from-agent <requester> \
--to-agent <worker> \
--goal <exact-goal> \
--branch <branch> \
--base-commit <commit> \
--done <exact-definition-of-done>
Use --goal-file or --done-file for multiline CLI content; never flatten or
paraphrase the user's wording. The CLI prints a Ready to paste line; the MCP
tool returns the same line as handoff. Return it unchanged so the user can
wake the destination agent without copying the whole task body. Never use the
local CLI fallback merely because the remote MCP call failed—surface and fix
the connection instead.
Receive and execute a pasted task
When given Open MemPalace task <id> as <agent>...:
- Fetch the exact
task.requestbycorrelation_id=<id>withmempalace_event_list; do not work from the short pasted line alone. - Verify it is addressed to this agent (or is a broadcast explicitly being accepted), and verify the workspace, branch, and base commit before edits.
- Claim the request with
mempalace_event_ack(status=claimed). Claiming is a watch trigger: armmempalace logstream watch --agent <you> --type task.request --type task.reply --type patch.ready --json(the CLI defaults a sanitized--state-file) unless this is a remote-only MCP client (see below). Check for an existingstatus=claimedfrom your own identity first; lowest-HLC wins on a simultaneous claim. - Do the work and run the stated verification.
- Deliver a patch with
mempalace_patch_submit. If blocked or failed, send a verbatimtask.replyinstead. Silence is not a valid outcome. - The requester fetches and verifies the artifact, applies it with explicit user-visible intent, runs verification, then acknowledges `appl
Câu hỏi thường gặp
Nó có chạy các agent khác không?
Nó có thể khởi chạy một agent headless được hỗ trợ ở chế độ có kiểm soát, nhưng chỉ khi bạn yêu cầu rõ ràng.
Một agent có thể hành động như agent khác không?
Không, mỗi agent giữ danh tính riêng và không mạo danh agent khác.
Task được lưu ở đâu?
Task được lưu trong logstream, không phải trong ghi chú bộ nhớ.
Chi tiết
Mô tả gốc của tác giả
Create, hand off, claim, execute, and close agent tasks through the MemPalace logstream. Use when the user wants to delegate work, prepare a ready-to-paste task for another agent, receive a MemPalace task id, or explicitly launch a supported headless agent in controlled mode.
repo: MemPalace/mempalace
Độ phổ biến
- Sao GitHub
- 60k
- Vị trí xếp hạng
- #3176
- Giấy phép
- MIT
- Cập nhật
- 31/10/2026
Bình luận
- …
Thêm skill từ kho mã này
mempalace-recall
60kGiúp agent của bạn tìm trong bộ nhớ MemPalace trước khi trả lời các câu hỏi về công việc, người, dự án hoặc quyết định trước đó.
mempalace
60kGiúp agent của bạn thiết lập và dùng MemPalace, một kho bộ nhớ có thể tìm kiếm cho các dự án và cuộc trò chuyện, gồm khai thác và tìm kiếm.
mempalace
60kGiúp agent của bạn cài đặt và cấu hình MemPalace, dưới dạng một palace cục bộ riêng, một hub chung cho nhiều agent, hoặc một client của hub có sẵn.
mempalace
60kGiúp agent của bạn gợi nhớ công việc hoặc sự kiện trước đây, lưu ký ức, cập nhật liên kết giữa người và dự án, và khắc phục sự cố MemPalace.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.