Token导航 LogoToken导航

Agent Skill · 研究检索

memos-cli(memos CLI 搜索)

memos-cli 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

memos-cli 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 10,359。

总安装 12,712周安装 535GitHub Stars 公开资料未说明下载 4,451核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memos-cli(memos CLI 搜索)
来源仓库:https://github.com/rogeecn/memos-cli
安装命令:
openclaw skills install memos-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install memos-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

memos-cli 通过 Go CLI 工具实现对备忘录数据的增删改查与标记评论操作。适用于需要通过命令行高效管理本地或远程备忘录库的场景。支持全文搜索与高级筛选,提升信息定位效率。安装命令:openclaw skills install memos-cli,需确认是否调用外部二进制程序。

注意 CLI 版本与 OpenClaw 的兼容性要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install memos-cli;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

memos-cli 怎么安装?

在终端执行 openclaw skills install memos-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

memos-cli 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

memos-cli 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

memos-cli 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

memos-cli 用的人多吗?

公开数据是累计安装 12,712 次,近一周安装 535 次,下载 4,451 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

memos-cli 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
memos-cli

memos CLI 搜索 · 本页

12,712—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
memos-cli
description
Use when a user needs to read, search, create, update, delete, comment on, tag, or inspect Memos data through this repository's Go CLI, especially when the agent should prefer real project commands over guessing HTTP API calls.

memos-cli — Repository Memos CLI Skill

Install: go install github.com/rogeecn/memos-cli@latest Binary form: memos-cli Primary purpose: Use this repository's Go CLI to perform Memos operations from the terminal.

Overview

This repository contains a Go CLI named memos for common Memos operations.

Agents should prefer this CLI when the user asks to list memos, fetch memo details, search content, apply CEL filters, create or update memos, delete memos, add comments, remove tags, or inspect users. The CLI already handles configuration loading, JSON output, memo formatting, and memo ID normalization behavior implemented in the repo.

When to Use

Use this skill when:

  • The user wants to inspect or modify Memos data from this repository
  • The task should use the repo's real command surface instead of handwritten HTTP requests
  • The user needs terminal output or structured JSON from Memos commands
  • The agent needs a safe preflight check for local config before calling Memos APIs

Do not use this skill when:

  • The user is asking to develop the CLI itself rather than use it
  • The task is purely about source code changes with no need to run Memos commands

Setup

Install the CLI first:

go install github.com/rogeecn/memos-cli@latest

Then run it as a normal installed binary:

memos-cli --help

Use memos-cli as the canonical entrypoint. Do not use go run . in this skill.

Configuration

IMPORTANT FOR AGENTS: Before executing any command that talks to the Memos API, first run:

memos-cli config check

The CLI reads configuration with this precedence:

  1. Shell environment variable
  2. Current directory .env
  3. Missing

Expected variables:

MEMOS_URL=http://localhost:5230
MEMOS_API_KEY=your-api-key
MEMOS_ADMIN_API_KEY=your-admin-api-key
DEFAULT_TAG=cli

Preflight Rules

  • If MEMOS_URL is missing, stop and ask the user for the Memos base URL
  • If MEMOS_API_KEY is missing, stop and ask the user to provide or export it
  • If the task needs user list, also require MEMOS_ADMIN_API_KEY
  • Do not print secret values back to the user
  • Do not suggest editing committed files for secrets; prefer shell env vars or local .env

Output Format

Default: human-readable text

memos-cli memo list
memos-cli memo get <memo-id>

Structured output: --json

Use --json whenever the task needs machine-readable data, IDs for follow-up steps, or filtering with shell tools.

memos-cli --json memo list

Command Reference

Configuration

memos-cli config check

Read Operations

memos-cli memo list
memos-cli memo list --page-size 20
memos-cli memo list --page-token <token>
memos-cli memo get <memo-id>
memos-cli search "keyword"
memos-cli filter --expr "visibility == 'PRIVATE'"
memos-cli user list

Write Operations

The content field supports Markdown. Agents can pass plain text or Markdown content to memo and comment commands.

memos-cli memo create "# Weekly Note\
\
- shipped feature\
- fixed bug"
memos-cli memo create "memo content" --tag release --tag cli
memos-cli memo create "memo content" --visibility PUBLIC
memos-cli memo update <memo-id> --content "## Updated\
\
This memo now uses **Markdown**."
memos-cli memo update <memo-id> --visibility PUBLIC
memos-cli memo delete <memo-id> --yes
memos-cli comment create <memo-id> "Looks good.\
\
- reviewed\
- approved"
memos-cli tag remove <memo-id> <tag>

Agent Workflows

List memos safely

memos-cli config check
memos-cli memo list

Note: memo list lists memos using the API default ordering. Treat it as the current list view, not a guaranteed dedicated recent command.

List memos as JSON for follow-up actions

memos-cli config check
memos-cli --json memo list

Fetch one memo before updating it

memos-cli memo get <memo-id>
memos-cli memo update <memo-id> --content "new content"

Search then inspect the matching memo

memos-cli --json search "deploy"
memos-cli memo get <memo-id>

Filter with CEL expression

memos-cli filter --expr "createTime > timestamp('2026-01-01T00:00:00Z') && visibility == 'PRIVATE'"

Paginate through memo lists

memos-cli memo list --page-size 20
memos-cli memo list --page-size 20 --page-token <next-token>

In text mode, the CLI prints Next page token: ... when another page exists. In JSON mode, inspect nextPageToken.

Create a memo with default and explicit tags

memos-cli memo create "ship checklist ready" --tag release --tag weekly

The CLI appends DEFAULT_TAG automatically when configured.

Delete a memo safely

memos-cli memo delete <memo-id> --yes

Deletion requires explicit --yes. If the user asks to delete a memo and has not clearly confirmed, ask before running it.

List users via admin API

go run . config check
go run . user list

If MEMOS_ADMIN_API_KEY is missing, stop and ask the user to provide admin credentials.

ID Rules

  • Prefer passing the memo's plain ID, such as abc123
  • Do not invent memos:// or other URI forms for CLI commands
  • comment create and tag remove work with memo IDs and rely on the client behavior already implemented in the repo

Error Reference

Error or symptomLikely causeAgent action
MEMOS_URL is requiredBase URL missingAsk user for MEMOS_URL or local .env
MEMOS_API_KEY is requiredAPI key missingAsk user for MEMOS_API_KEY
MEMOS_ADMIN_API_KEY is requiredAdmin command without admin keyAsk user for admin key before user list
update requires --content or --visibilityUpdate called with no changesRe-run with at least one change flag
delete requires --yesDelete missing confirmation flagRe-run only after explicit confirmation
empty or unexpected search resultsFilter/query too narrow or API data differsTry --json and inspect returned structure
next page not visiblePagination token not suppliedRe-run with --page-token

Safety Notes

  • Treat API keys as secrets; never echo them back in full
  • Prefer config check over guessing whether configuration exists
  • Prefer --json for agent follow-up logic and ID extraction
  • Avoid destructive commands unless the user explicitly requested them
  • Do not commit .env or other local secret material

Common Mistakes

  • Using go run . or go run ./cmd/memos instead of the installed memos-cli binary
  • Running API commands before config check
  • Forgetting --json when later steps need a memo ID or token
  • Assuming memo list is a dedicated recent endpoint rather than the default list API
  • Forgetting --yes for deletions
  • Calling user list without admin credentials

Quick Reference

  • Install: go install github.com/rogeecn/memos-cli@latest
  • Preflight: memos-cli config check
  • List memos: memos-cli memo list
  • List as JSON: memos-cli --json memo list
  • Get one memo: memos-cli memo get <memo-id>
  • Search text: memos-cli search "keyword"
  • CEL filter: memos-cli filter --expr "..."
  • Create memo: memos-cli memo create "content"
  • Update memo: memos-cli memo update <memo-id> --content "..."
  • Delete memo: memos-cli memo delete <memo-id> --yes
  • Add comment: memos-cli comment create <memo-id> "..."
  • Remove tag: memos-cli tag remove <memo-id> <tag>
  • List users: memos-cli user list

平台分布

OpenClaw

72.01%
按下载量换算3,205

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills