Workflowy CLI: Transform Commands
github.com/mholzen/workflowyVideo Walkthrough
The transform command handles content cleanup in bulk.
Splitting Pasted Content
When you paste text from elsewhere, it often comes as one long node. Transform can split it:
workflowy transform <item-id> split -s "\n"
This takes a node with newline-separated content and creates child nodes for each line.
Cleaning Up Messy Text
workflowy transform <item-id> trim
workflowy transform <item-id> no-punctuation
The Real Power — Shell Commands
workflowy transform <item-id> -x 'echo {} | your-llm-cli "summarize this"'
The -x flag pipes content through any shell command. Use this to send notes to LLMs for summarization, translation, or analysis. The result either replaces the original or gets inserted as a child node with --as-child.
Combined with --interactive mode, you can review each transformation before it applies — useful when processing multiple nodes.
Installation
brew install mholzen/workflowy/workflowy-cli
Related Posts
- Workflowy CLI: Finding Hidden Mirror Bloat
- Setting Up Workflowy as an MCP Server for Claude Code
- A Workflowy MCP Server with Recursive Get, Search, Replace and Reports
- A Workflowy CLI with Usage Reports