← 返回
开发者工具 Key 中文

Workflowy

Workflowy outliner CLI for reading, searching, and editing nodes. Use when the user wants to interact with their Workflowy outline — searching, adding items,...
Workflowy 大纲 CLI,用于读取、搜索和编辑节点。用户想与 Workflowy 大纲交互(如搜索、添加条目)时使用。
waldyrious waldyrious 来源
开发者工具 clawhub v1.0.7 2 版本 99871 Key: 需要
★ 3
Stars
📥 2,262
下载
💾 45
安装
2
版本
#latest

概述

workflowy

Use the unofficial workflowy CLI mholzen/workflowy to interact with the Workflowy API for managing a Workflowy outline. Requires API key setup.

Setup (once)

Get your API key at https://workflowy.com/api-key/, save it to ~/.workflowy/api.key, and ensure only your user can access it:

mkdir -p ~/.workflowy
echo "your-api-key-here" > ~/.workflowy/api.key
chmod 600 ~/.workflowy/api.key

Alternatively, set the WORKFLOWY_API_KEY environment variable:

export WORKFLOWY_API_KEY="your-api-key-here"

Common commands

Note: See the full command reference for more details.

Reading

# Get root nodes (depth 2 by default)
workflowy get

# Get specific node by UUID or short ID
workflowy get <item-id>
workflowy get https://workflowy.com/#/59fc7acbc68c

# Show a node's children as a flat list
workflowy list <item-id>

# Search (full text, case-insensitive)
workflowy search -i "meeting notes"

# Search with extended regex
workflowy search -E "<time.*>"

# Search within a subtree
workflowy search "bug" --item-id <parent-id>

Writing

# Add a new node to the Inbox
workflowy create "Buy groceries" --parent-id=inbox

# Add a node to a specific parent
workflowy create "Task" --parent-id=<uuid>

# Update a node
workflowy update <item-id> --name "New name"

# Complete/uncomplete
workflowy complete <item-id>
workflowy uncomplete <item-id>

# Move a node
workflowy move <item-id> <new-parent-id>

# Delete a node (includes its children!)
workflowy delete <item-id>

Bulk operations

# Search and replace (dry run first!)
workflowy replace --dry-run "foo" "bar"
workflowy replace --interactive "foo" "bar"

# Regex find/replace using capture groups
workflowy replace "TASK-([0-9]+)" 'ISSUE-$1'

# Transform: split by newlines into children
workflowy transform <item-id> split -s "\n"

# Transform: trim whitespace
workflowy transform <item-id> trim

Statistics

# Where is most content?
workflowy report count --threshold 0.01

# Nodes with most children
workflowy report children --top-n 20

# Stale content (oldest modified)
workflowy report modified --top-n 50

# Most mirrored nodes (requires backup)
workflowy report mirrors --top-n 20

Data Access Methods

MethodSpeedFreshnessUse For
----------------------------------------------------------------
--method=getMediumReal-timeSpecific items
--method=exportFast (cached)~1 minFull tree access
--method=backupFastestStaleBulk ops, offline

For offline mode, enable Workflowy's Dropbox backup:

workflowy get --method=backup

Short IDs

Workflowy supports short IDs, obtained from the "Copy Internal Link" menu:

  • Web URL: https://workflowy.com/#/59fc7acbc68c
  • Can be used directly, e.g. workflowy get https://workflowy.com/#/59fc7acbc68c

Special named targets

  • inbox — user's inbox
  • home — root of outline
workflowy create "Quick note" --parent-id=inbox
workflowy id inbox  # resolve to UUID

Notes

  • Deleting a node also deletes all its children
  • Results are sorted by priority (display order)
  • Use --method=export for large tree operations (cached, faster)
  • Mirror analysis requires using the backup method
  • Make sure to confirm before performing bulk replace operations

版本历史

共 2 个版本

  • v1.0.7 当前
    2026-03-28 14:38 安全 安全
  • v1.0.0
    2026-03-26 21:17

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 56 📥 152,842
knowledge-management

Baidu web search

ide-rea
使用百度AI搜索引擎(BDSE)进行网络搜索。适用于获取实时信息、文档资料或研究课题。
★ 241 📥 106,467
ai-agent

Cursor Tui

waldyrious
生成并透传 Cursor Agent 的 CLI(`agent`),实现交互式运行。适用于用户在目录中运行 Cursor Agent 并提问的场景。
★ 1 📥 1,128