微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📝

你的私有笔记助手

Memos · v0.1.9
效率 安全 B 级 作者 sinhong2011 公开目录收录
2.6k 下载 0 安装 12.8k 收藏 13 浏览

简介

连接自托管 Memos 实例,实现笔记的创建、查询、编辑与删除,支持 Markdown 和标签管理。

原始描述

Create, read, update, and delete memos on a Memos instance (usememos/memos). Handles requests like "save this as a memo", "list my recent memos", "update mem...

通过你的 Agent 添加

安装目录:memos/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/memos-18782/
Codex CLI~/.codex/skills/memos-18782/
DeepSeek Harness~/.agents/skills/memos-18782/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: memos description: > Create, read, update, and delete memos on a Memos instance (usememos/memos). Handles requests like "save this as a memo", "list my recent memos", "update memo #123", or "delete memo #456". Uses openclaw-memos-mcp for all operations.

Memos

What it does

Provides full CRUD operations on a self-hosted Memos instance through 5 MCP tools. Agents can create quick notes, search existing memos, update content or visibility, and delete memos they no longer need.

Inputs needed

  • For creating: content (required), visibility (optional, defaults to PRIVATE)
  • For listing: filter expression (optional), page size (optional)
  • For get/update/delete: memo ID (required)

Prerequisites

openclaw-memos-mcp MCP server

This skill requires the openclaw-memos-mcp MCP server to be running. Before using any memos_* tool, check if the tools are available. If not, tell the user they need to add the MCP server to their configuration:

{
  "mcpServers": {
    "memos": {
      "command": "npx",
      "args": ["openclaw-memos-mcp"],
      "env": {
        "MEMOS_API_URL": "http://localhost:5230",
        "MEMOS_TOKEN": "<your-access-token>"
      }
    }
  }
}

Tell the user to:

  1. Replace MEMOS_API_URL with their Memos instance URL
  2. Get an access token from Memos: Settings > Access Tokens > Create
  3. Replace <your-access-token> with the token
  4. Restart their MCP client after saving the configuration

Workflow

Creating a memo

Call memos_create with the content and optional visibility.

  • content: Markdown text. Supports #hashtags which Memos auto-extracts as tags.
  • visibility: PRIVATE (default), PROTECTED (logged-in users), or PUBLIC (everyone).

Listing memos

Call memos_list to browse or search memos.

  • pageSize: Number of results (default 20).
  • pageToken: For pagination, use the nextPageToken from a previous response.
  • filter: CEL filter expression. Examples:
    • tag == "work" — memos tagged #work
    • visibility == "PUBLIC" — public memos only
    • creator == "users/1" — memos by a specific user

Reading a specific memo

Call memos_get with the memo ID. The ID is the part after memos/ in the resource name (e.g., if the name is memos/abc123, the ID is abc123).

Updating a memo

Call memos_update with the memo ID and the fields to change. Only specify fields you want to update — unspecified fields remain unchanged.

  • content: New Markdown content
  • visibility: New visibility level
  • pinned: true to pin, false to unpin

Deleting a memo

Call memos_delete with the memo ID. This is irreversible. Always confirm with the user before deleting.

Guardrails

  • Default visibility to PRIVATE — never create public memos unless explicitly asked
  • Validate content is non-empty before creating
  • Confirm with the user before deleting any memo
  • On 401/403 errors, tell the user to check their MEMOS_TOKEN
  • On connection errors, tell the user to check their MEMOS_API_URL
  • When listing returns empty results, suggest the user check their filter or confirm the Memos instance has data

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

self-hostednote-takingmarkdowncrudprivacymcp

同类 Skill