Workflowy
by @waldyrious
Workflowy outliner CLI for reading, searching, and editing nodes. Use when the user wants to interact with their Workflowy outline — searching, adding items,...
clawhub install workflowy📖 About This Skill
name: workflowy description: Workflowy outliner CLI for reading, searching, and editing nodes. Use when the user wants to interact with their Workflowy outline — searching, adding items, viewing trees, marking complete, bulk operations, or usage reports. Also use whenever the user shares a workflowy.com URL (e.g. https://workflowy.com/#/...). metadata: openclaw: emoji: 📝 homepage: https://github.com/mholzen/workflowy requires: bins: [workflowy] config: [~/.workflowy/api.key] install: - kind: brew formula: mholzen/workflowy/workflowy-cli bins: [workflowy] primaryEnv: WORKFLOWY_API_KEY
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 getGet specific node by UUID or short ID
workflowy get
workflowy get https://workflowy.com/#/59fc7acbc68cShow a node's children as a flat list
workflowy list Search (full text, case-insensitive)
workflowy search -i "meeting notes"Search with extended regex
workflowy search -E ""Search within a subtree
workflowy search "bug" --item-id
Writing
# Add a new node to the Inbox
workflowy create "Buy groceries" --parent-id=inboxAdd a node to a specific parent
workflowy create "Task" --parent-id=Update a node
workflowy update --name "New name"Complete/uncomplete
workflowy complete
workflowy uncomplete Move a node
workflowy move Delete a node (includes its children!)
workflowy delete
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 split -s "\n"Transform: trim whitespace
workflowy transform trim
Statistics
# Where is most content?
workflowy report count --threshold 0.01Nodes with most children
workflowy report children --top-n 20Stale content (oldest modified)
workflowy report modified --top-n 50Most mirrored nodes (requires backup)
workflowy report mirrors --top-n 20
Data Access Methods
| Method | Speed | Freshness | Use For |
|-------------------|---------------|-----------|-------------------|
| --method=get | Medium | Real-time | Specific items |
| --method=export | Fast (cached) | ~1 min | Full tree access |
| --method=backup | Fastest | Stale | Bulk 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:
https://workflowy.com/#/59fc7acbc68cworkflowy get https://workflowy.com/#/59fc7acbc68cSpecial named targets
inbox — user's inboxhome — root of outlineworkflowy create "Quick note" --parent-id=inbox
workflowy id inbox # resolve to UUID
Notes
--method=export for large tree operations (cached, faster)📋 Tips & Best Practices
--method=export for large tree operations (cached, faster)