Loading...
Loading...
Documents the blooming-blockery (block) CLI contract and provides correct command patterns for block store operations.
npx skill4agent add photonfoxlime/bb blooming-blockery-cliblockblooming-blockeryblooming-blockeryblooming-blockeryblock--store <PATH>--verbose--output <FORMAT>tablejson1v12v3vblooming-blockery# List all root block IDs
block roots
block roots --output json
# Show block details
block show <BLOCK_ID>
block show 1v1 --output json
# Search blocks by text (case-insensitive substring)
block find "search query"
block find "TODO" --limit 10
# Edit the text content of a block
block point <BLOCK_ID> "New text content"
block point 1v1 "Updated text"# Add child block under parent (parent must not be a mount)
block tree add-child <PARENT_ID> "Text content"
block tree add-child 1v1 "My new idea"
# Add sibling after a block
block tree add-sibling <BLOCK_ID> "Text content"
block tree add-sibling 1v1 "Next sibling"
# Wrap a block with a new parent
block tree wrap <BLOCK_ID> "Parent text"
block tree wrap 1v1 "New parent section"
# Duplicate a subtree
block tree duplicate <BLOCK_ID>
block tree duplicate 1v1
# Delete a subtree (removes block and all descendants)
block tree delete <BLOCK_ID>
block tree delete 1v1
# Move block relative to target
block tree move <SOURCE_ID> <TARGET_ID> --before
block tree move <SOURCE_ID> <TARGET_ID> --after
block tree move <SOURCE_ID> <TARGET_ID> --under# Get next visible block in DFS order
block nav next <BLOCK_ID>
block nav next 1v1
# Get previous visible block
block nav prev <BLOCK_ID>
block nav prev 2v1
# Get lineage (ancestor chain)
block nav lineage <BLOCK_ID>
block nav lineage 1v1# Set expansion draft (rewrite + proposed children)
block draft expand <BLOCK_ID> --rewrite "Refined text" --children "Child 1" "Child 2"
block draft expand 1v1 --children "Just kids"
# Set reduction draft (condensed version)
block draft reduce <BLOCK_ID> --reduction "Condensed text" --redundant-children 2v1 3v1
# Set instruction draft (user-authored LLM instructions)
block draft instruction <BLOCK_ID> --text "Make this more concise"
# Set inquiry draft (LLM response to ask query)
block draft inquiry <BLOCK_ID> --response "The key insight is..."
# List all drafts for a block
block draft list <BLOCK_ID>
# Clear drafts (use --all or specific flags)
block draft clear <BLOCK_ID> --all
block draft clear <BLOCK_ID> --expand
block draft clear <BLOCK_ID> --reduce --instruction# Toggle fold state
block fold toggle <BLOCK_ID>
# Get fold status
block fold status <BLOCK_ID># Add friend block with optional perspective
block friend add <TARGET_ID> <FRIEND_ID> --perspective "Related design"
block friend add <TARGET_ID> <FRIEND_ID> --telescope-lineage --telescope-children
# Remove friend
block friend remove <TARGET_ID> <FRIEND_ID>
# List friends
block friend list <TARGET_ID># Set mount path (block must be leaf, no children)
block mount set <BLOCK_ID> <PATH> [--format json|markdown]
block mount set 1v1 /data/external.json
block mount set 1v1 /notes/notes.md --format markdown
# Expand mount (load external file)
block mount expand <BLOCK_ID>
# Collapse mount (remove loaded blocks, restore mount node)
block mount collapse <BLOCK_ID>
# Extract subtree to external file
block mount extract <BLOCK_ID> --output <PATH> [--format json|markdown]
block mount extract 1v1 --output /backup/notes.json
# Show mount info
block mount info <BLOCK_ID># Set panel state
block panel set <BLOCK_ID> friends
block panel set <BLOCK_ID> instruction
# Get panel state
block panel get <BLOCK_ID>
# Clear panel state
block panel clear <BLOCK_ID># Get LLM context for a block (lineage, children, friends)
block context <BLOCK_ID>
block context 1v1UnknownBlockInvalidOperationIoError--output jsonjsonmarkdownfriendsinstruction