TreeListy
by @prairie2cloud
Hierarchical project decomposition and planning. Use when breaking down complex projects, structuring information, planning multi-step workflows, or organizing any nested hierarchy. Supports 21 specialized patterns (WBS, GTD, Philosophy, Sales, Film, etc.) and exports to JSON, Markdown, and Mermaid diagrams.
clawhub install treelisty-openclaw-skillπ About This Skill
name: treelisty description: Hierarchical project decomposition and planning. Use when breaking down complex projects, structuring information, planning multi-step workflows, or organizing any nested hierarchy. Supports 21 specialized patterns (WBS, GTD, Philosophy, Sales, Film, etc.) and exports to JSON, Markdown, and Mermaid diagrams. license: Apache-2.0 metadata: author: prairie2cloud version: "1.0.0" openclaw: requires: bins: ["node"]
TreeListy Skill
TreeListy is your hierarchical decomposition engine. When you need to break down a complex topic, plan a project, or structure information in a tree format, use TreeListy.
When to Use This Skill
Use TreeListy when:
Quick Start
# List available patterns
node scripts/treelisty-cli.js patternsCreate a structured decomposition
node scripts/treelisty-cli.js decompose --pattern wbs --input "Build a mobile app"Export to Mermaid diagram
node scripts/treelisty-cli.js export --input tree.json --format mermaid
The 21 Patterns
| Pattern | Icon | Best For |
|---------|------|----------|
| generic | π | General projects, default structure |
| sales | πΌ | Sales pipelines, quarterly deals |
| thesis | π | Academic papers, dissertations |
| roadmap | π | Product roadmaps, feature planning |
| book | π | Books, novels, screenplay structure |
| event | π | Event planning, conferences |
| fitness | πͺ | Training programs, workout plans |
| strategy | π | Business strategy, OKRs |
| course | π | Curricula, lesson plans |
| film | π¬ | AI video production (Sora, Veo) |
| veo3 | π₯ | Google Veo 3 workflows |
| sora2 | π¬ | OpenAI Sora 2 workflows |
| philosophy | π€ | Philosophical arguments, dialogues |
| prompting | π§ | Prompt engineering libraries |
| familytree | π¨βπ©βπ§βπ¦ | Genealogy, family history |
| dialogue | π¬ | Debate analysis, rhetoric |
| filesystem | πΎ | File/folder organization |
| gmail | π§ | Email workflows |
| knowledge-base | π | Document corpora, RAG prep |
| capex | π° | Capital expenditure, investor pitches |
| freespeech | ποΈ | Voice capture pattern analysis |
| lifetree | π³ | Biographical timelines |
| custom | βοΈ | Define your own level names |
Commands
patterns β Discover available patterns
# List all patterns
node scripts/treelisty-cli.js patternsGet details for a specific pattern
node scripts/treelisty-cli.js patterns --name philosophyGet full JSON schema
node scripts/treelisty-cli.js patterns --name philosophy --detail
decompose β Create structured trees
Takes text input (topic, outline, or structured text) and applies a pattern template.
# Simple topic
node scripts/treelisty-cli.js decompose \
--pattern roadmap \
--input "Q1 Product Roadmap for AI Assistant" \
--format jsonFrom structured input (markdown headers, indented lists)
echo "# Marketing Campaign
Research Phase
Market analysis
Competitor review
Execution Phase
Content creation
Launch ads" | node scripts/treelisty-cli.js decompose --pattern strategy --format json Output as Mermaid
node scripts/treelisty-cli.js decompose \
--pattern wbs \
--input "Website Redesign Project" \
--format mermaid
Options:
--pattern β Pattern to apply (default: generic)--input β Topic text, file path, or stdin--name β Override root node name--depth <1-4> β Maximum tree depth--format β Output: json, markdown, mermaidexport β Convert trees to other formats
# To Markdown
node scripts/treelisty-cli.js export --input tree.json --format markdownTo Mermaid diagram
node scripts/treelisty-cli.js export --input tree.json --format mermaidTo CSV
node scripts/treelisty-cli.js export --input tree.json --format csvTo checklist
node scripts/treelisty-cli.js export --input tree.json --format checklist
Formats: json, markdown, mermaid, csv, checklist, html
validate β Check tree quality
# Human-readable report
node scripts/treelisty-cli.js validate --input tree.jsonJSON report
node scripts/treelisty-cli.js validate --input tree.json --format json
Returns:
push β Send to live TreeListy (optional)
If the user has TreeListy open in their browser with MCP bridge enabled:
node scripts/treelisty-cli.js push \
--input tree.json \
--port 3456
This displays the tree in TreeListy's visual canvas for interactive exploration.
Tree Data Model
Trees follow this structure:
{
"id": "n_abc12345",
"treeId": "tree_xyz78901",
"name": "Project Name",
"type": "root",
"pattern": "roadmap",
"icon": "π",
"description": "Optional description",
"expanded": true,
"children": [
{
"name": "Phase 1",
"type": "phase",
"items": [
{
"name": "Feature A",
"type": "item",
"patternType": "Core Feature",
"subtasks": [
{
"name": "Implement login",
"type": "subtask"
}
]
}
]
}
]
}
Hierarchy: Root β Phases (children) β Items (items) β Subtasks (subtasks)
Each pattern adds custom fields. For example, roadmap adds storyPoints, userImpact, technicalRisk.
Workflow Example
1. Agent receives complex task from user
2. Decompose with appropriate pattern:
node scripts/treelisty-cli.js decompose \
--pattern wbs \
--input "Build an e-commerce platform with user auth, product catalog, shopping cart, and checkout" \
--format json > project.json
3. Validate the structure:
node scripts/treelisty-cli.js validate --input project.json
4. Export for user consumption:
node scripts/treelisty-cli.js export --input project.json --format mermaid
5. Share the Mermaid diagram in response to user.
No AI Tokens Used
All TreeListy operations are local pattern transformations. Zero API calls, zero token cost. The skill structures your content using 21 battle-tested hierarchical templates.
Learn More
references/PATTERNS.mdπ‘ Examples
# List available patterns
node scripts/treelisty-cli.js patternsCreate a structured decomposition
node scripts/treelisty-cli.js decompose --pattern wbs --input "Build a mobile app"Export to Mermaid diagram
node scripts/treelisty-cli.js export --input tree.json --format mermaid