跳到正文
Skillpedia
任务与项目58k · #3225

cli-anything-mubu

它能做什么

这个技能让 AI 智能体在同一台电脑上运行 Mubu 桌面应用时,与这款大纲与笔记应用协同工作。它帮助人们搜索和回顾自己的笔记。

适用场景

  • ✓当你想按名称或日期查找 Mubu 文档或文件夹的时候。
  • ✓当你想查看最近修改过哪些笔记的时候。
  • ✓当你想在 Mubu 中打开或查看今天的每日笔记的时候。

技能链接

https://github.com/HKUDS/CLI-Anything/blob/main/mubu/agent-harness/cli_anything/mubu/skills/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/mubu/agent-harness/cli_anything/mubu/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我找出本周关于营销计划的 Mubu 笔记,并列出主要要点。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体读取你电脑上 Mubu 的本地数据,例如文档列表和同步日志,然后返回匹配的条目。Mubu 必须在同一台电脑上保持活动会话。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

cli-anything-mubu

Canonical packaged entrypoint for the Mubu live bridge.

Installation

This CLI is packaged from the canonical agent-harness source tree:

pip install -e .

Prerequisites:

  • Python 3.10+
  • An active Mubu desktop session on this machine
  • Local Mubu profile data available to the CLI
  • Set MUBU_DAILY_FOLDER if you want no-argument daily helpers

Entry Points

cli-anything-mubu
python -m cli_anything.mubu

When invoked without a subcommand, the CLI enters an interactive REPL session.

Command Groups

Discover

Discovery commands for folders, documents, recency, and daily-document resolution.

Command Description

| docs | List latest known document snapshots from local backups. |

| folders | List folder metadata from local RxDB storage. |

| folder-docs | List document metadata for one folder. |

| path-docs | List documents for one folder path or folder id. |

| recent | List recently active documents using backups, metadata, and sync logs. |

| daily | Find Daily-style folders and list the documents inside them. |

| daily-current | Resolve the current daily document from one Daily-style folder. |

Inspect

Inspection commands for tree views, search, links, sync events, and live node targeting.

Command Description

| show | Show the latest backup tree for one document. |

| search | Search latest backups for matching node text or note content. |

| changes | Parse recent client-sync change events from local logs. |

| links | Extract outbound Mubu document links from one document backup. |

| open-path | Open one document by full path, suffix path, title, or doc id. |

| doc-nodes | List live document nodes with node ids and update-target paths. |

| daily-nodes | List live nodes from the current daily document in one step. |

Mutate

Mutation commands for dry-run-first atomic live edits against the Mubu API.

Command Description

| create-child | Build or execute one child-node creation against the live Mubu API. |

| delete-node | Build or execute one node deletion against the live Mubu API. |

| update-text | Build or execute one text update against the live Mubu API. |

Session

Session and state commands for current document/node context and local command history.

Command Description

| status | Show the current session state. |

| state-path | Show the session state file path. |

| use-doc | Persist the current document reference. |

| use-node | Persist the current node reference. |

| use-daily | Resolve and persist the current daily document reference. |

| clear-doc | Clear the current document reference. |

| clear-node | Clear the current node reference. |

| history | Show recent command history stored in session state. |

Recommended Agent Workflow

discover daily-current '<daily-folder-ref>' --json
        ->
inspect daily-nodes '<daily-folder-ref>' --query '<anchor>' --json
        ->
session use-doc '<doc_path>'
        ->
mutate update-text / create-child / delete-node --json
        ->
--execute only after payload inspection

Safety Rules

  1. Prefer grouped commands for agent use; flat legacy commands remain for compatibility.
  2. Use --json whenever an agent will parse the output.
  3. Prefer discover or inspect commands before any mutate command.
  4. Live mutations are dry-run by default and only execute with --execute.
  5. Prefer --node-id and --parent-node-id over text matching.
  6. delete-node removes the full targeted subtree.
  7. Even same-text updates can still advance document version history.
  8. Pass a daily-folder reference explicitly or set MUBU_DAILY_FOLDER before using no-arg daily helpers.

Examples

Interactive REPL Session

Start an interactive session with persistent document and node context.

cli-anything-mubu
# Enter commands interactively
# Use 'help' to see builtins
# Use session commands to persist current-doc/current-node

Discover Current Daily Note

Resolve the current daily note from an explicit folder reference.

cli-anything-mubu --json discover daily-current '<daily-folder-ref>'

Dry-Run Atomic Update

Inspect the exact outgoing payload before a live mutation.

cli-anything-mubu mutate update-text '<doc-ref>' --node-id <node-id>
常见问题

Mubu 需要处于打开状态吗?

需要。该技能需要同一台电脑上有一个活动的 Mubu 桌面会话。

它可以修改我的笔记吗?

该说明主要侧重于查找和阅读笔记,因此该技能主要用于查询信息。

它能自动找到我的每日笔记吗?

可以。在设置好一个类似 Daily 的文件夹后,它可以在其中找到当前的每日文档。

详情

作者的原始描述

Command-line interface for Mubu - Canonical packaged entrypoint for the Mubu live bridge....

repo: HKUDS/CLI-Anything

热度

GitHub 星标
58k
排名
#3225
许可证
Apache-2.0
更新时间
2026/9/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能