Xpersona
M

memos-skill

CLAWHUB · Unverified

管理和操作 Memos 备忘录系统。当用户提到备忘录、memos、记录笔记、查看笔记、搜索备忘录、整理备忘录或任何与 memos 相关的操作时触发此 skill。支持创建备忘录、获取备忘录列表、搜索过滤、更新删除、管理附件、评论反应等功能。适用于个人知识管理、快速记录想法、整理笔记内容等场景。 Skill: memos-skill Owner: xiaomait Summary: 管理和操作 Memos 备忘录系统。当用户提到备忘录、memos、记录笔记、查看笔记、搜索备忘录、整理备忘录或任何与 memos 相关的操作时触发此 skill。支持创建备忘录、获取备忘录列表、搜索过滤、更新删除、管理附件、评论反应等功能。适用于个人知识管理、快速记录想法、整理笔记内容等场景。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-25T06:50:16.985Z | user memos-skill 1.0.0 初始发布 - https://usememos.com 自部署备忘录的skil - 提供完整的 Memos 备忘录系统管理与操作能力,包括创建、获取、搜索、更新、删除备忘录等功能 - 支持 Node.js 读取配置,搭配 curl 命令与 memos API 交互

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174fjhgs6t3wb4n75zgxcarhd83kdjc:memos-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-xiaomait-memos-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

10,654 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: memos-skill
description: |
  管理和操作 Memos 备忘录系统。当用户提到备忘录、memos、记录笔记、查看笔记、搜索备忘录、整理备忘录或任何与 memos 相关的操作时触发此 skill。支持创建备忘录、获取备忘录列表、搜索过滤、更新删除、管理附件、评论反应等功能。适用于个人知识管理、快速记录想法、整理笔记内容等场景。
---

# Memos Skill

管理你的 Memos 备忘录实例,支持完整的备忘录生命周期操作。

## 配置

在使用 memos API 之前,需要创建配置文件。

### 配置文件位置

在 skill 目录下创建 `config.json` 文件:

```
memos-skill/
├── SKILL.md
├── config.json          # 配置文件
└── ...
```

### 配置文件格式

```json
{
  "instance_url": "https://your-memos-instance.com",
  "access_token": "your-access-token",
  "default_page_size": 10,
  "default_visibility": "PRIVATE"
}
```

### 配置说明

| 字段                 | 类型   | 必填 | 说明                                               |
| -------------------- | ------ | ---- | -------------------------------------------------- |
| `instance_url`       | string | 是   | 你的 memos 实例地址,如 `https://memo.example.com` |
| `access_token`       | string | 是   | 个人访问令牌                                       |
| `default_page_size`  | number | 否   | 默认分页大小(默认10)                             |
| `default_visibility` | string | 否   | 默认可见性(`PRIVATE`, `PROTECTED`, `PUBLIC`)     |

### 获取访问令牌

1. 登录你的 memos 实例
2. 进入 Settings → Tokens
3. 点击 "Create Token"
4. 复制生成的令牌并填入 config.json

### 在 JavaScript 中读取配置

```js
import fs from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

// 获取 skill 目录路径
const skillDir = __dirname;
const configPath = path.join(skillDir, "config.json");

// 读取配置
const config = JSON.parse(fs.readFileSync(configPath, "utf8"));

const instanceUrl = config.instance_url;
const accessToken = config.access_token;
const headers = {
  Authorization: `Bearer ${accessToken}`,
  "Content-Type": "application/json",
};
```

## 执行策略

处理任何 memos 相关请求时,默认遵循下面的实现方式:

1. 使用 Node.js 读取 [`config.json`](config.json),拿到 `instance_url` 和 `access_token`
2. 使用 `curl` 调用 memos API 完成查询、创建、更新、删除、上传附件等操作
3. 除非用户明确要求,否则不要改用 Python、`requests`、axios 或其他 SDK

### 标准执行流程

#### 1. 用 Node.js 读取配置

```js
import fs from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const configPath = path.join(__dirname, "config.json");
const config = JSON.parse(fs.readFileSync(configPath, "utf8"));

const instanceUrl = config.instance_url;
const accessToken = config.access_token;
```

#### 2. 用 curl 调用 memos API

```bash
curl -X POST \
  -H "Authorization: Bearer $MEMOS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content":"测试内容","tags":["test"]}' \
  "$MEMOS_URL/api/v1/memos"
```

### 操作要求

- 读取配置时,优先使用 Node.js 脚本而不是 shell 文本解析
- 对 memos 的增删改查操作,优先输出或执行 `curl` 命令
- 更新操作时,要显式带上 `PATCH` 和 `updateMask`
- 搜索、列表、详情、评论、反应、附件等请求,也保持 `curl` 风格一致
- 如果要给用户展示“将如何执行”,优先展示 Node 读取配置 + `curl` 请求两步

## 核心功能

### 1. Memo 管理

#### 创建备忘录

- **端点**: POST `/api/v1/memos`
- **关键字段**:
  - `content`: 备忘录内容(支持 Markdown)
  

_meta.json

{
  "ownerId": "kn76jnfac5pr2zbka5bm27tysd83k36c",
  "slug": "memos-skill",
  "version": "1.0.0",
  "publishedAt": 1774421416985
}

skill-card.md

## Description:

Memos Skill helps agents configure and operate a Memos note system, including creating, listing, searching, updating, deleting, commenting on, reacting to, and attaching files to memos.

This skill is ready for commercial/non-commercial use.

## Publisher:

[xiaomait](https://clawhub.ai/user/xiaomait)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and personal-knowledge-management users use this skill to let an agent manage notes in a configured Memos instance through authenticated API calls. It supports routine memo capture, search, organization, attachments, comments, reactions, and selected administrative workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill stores and reuses a Memos bearer token for API access.

Mitigation: Use an environment variable or secret manager when possible; if config.json is used, restrict it to owner-only permissions, keep it out of version control, and prefer limited-scope tokens.

Risk: The skill can modify private notes through delete, bulk edit, upload, and token-creation workflows.

Mitigation: Require explicit user confirmation before destructive or broad mutation actions, and verify the target Memos instance before executing authenticated requests.

Risk: The agent can read and search private note contents once configured.

Mitigation: Install only for trusted Memos instances and only when the user accepts agent access to private note content.

## Reference(s):

- [Memos project website](https://usememos.com)
- [ClawHub skill page](https://clawhub.ai/xiaomait/skills/memos-skill)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown responses with JSON, JavaScript, HTTP, and shell command examples.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May propose or execute authenticated Memos API calls when configured.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to memos-skill and adjacent AI workflows.