Install
openclaw skills install felo-mindmapGenerate mindmaps with Felo Mindmap API in Claude Code. Use when users ask to create/make/generate mindmaps, mind maps, or thinking maps, or when explicit commands like /felo-mindmap are used. Handles API key check, mindmap creation with various layouts, and final mindmap_url output.
openclaw skills install felo-mindmapTrigger this skill for requests about creating mindmap files:
Trigger keywords:
/felo-mindmap, "use felo mindmap"Do NOT use this skill for:
felo-search)Linux/macOS:
export FELO_API_KEY="your-api-key-here"
Windows PowerShell:
$env:FELO_API_KEY="your-api-key-here"
Use Bash tool commands and follow this workflow exactly.
if [ -z "$FELO_API_KEY" ]; then
echo "ERROR: FELO_API_KEY not set"
exit 1
fi
If key is missing, stop and return setup instructions.
Use the bundled script:
node felo-mindmap/scripts/run_mindmap_task.mjs \
--query "USER_PROMPT_HERE" \
--timeout 60
To specify a layout type:
node felo-mindmap/scripts/run_mindmap_task.mjs \
--query "USER_PROMPT_HERE" \
--layout "TIMELINE" \
--timeout 60
Available layout types:
MIND_MAP (default) - Classic mind mapLOGICAL_STRUCTURE - Logical structure diagramORGANIZATION_STRUCTURE - Organization chartCATALOG_ORGANIZATION - Catalog organization chartTIMELINE - Timeline diagramFISHBONE - Fishbone diagramTo add mindmap to an existing LiveDoc:
node felo-mindmap/scripts/run_mindmap_task.mjs \
--query "USER_PROMPT_HERE" \
--livedoc-short-id "EXISTING_LIVEDOC_ID"
Script behavior:
POST https://openapi.felo.ai/v2/mindmapmindmap_url on successOptional debug output:
node felo-mindmap/scripts/run_mindmap_task.mjs \
--query "USER_PROMPT_HERE" \
--json
This outputs structured JSON including:
resource_idstatusmindmap_urllivedoc_short_idOn success, return:
mindmap_url immediately--json is used, also include resource_id, livedoc_short_idUse this response structure:
## Mindmap Generation Result
- Resource ID: <resource_id>
- Status: <status>
- Mindmap URL: <mindmap_url>
- LiveDoc Short ID: <livedoc_short_id>
Error format:
## Mindmap Generation Failed
- Error Type: <error code or category>
- Message: <readable message>
- Suggested Action: <next step>
Known API error codes:
INVALID_API_KEY (401): key invalid or revokedMINDMAP_CREATE_FAILED (502): mindmap creation failedLIVEDOC_CREATE_FAILED (502): failed to create LiveDocLIVEDOC_NOT_FOUND (404): specified LiveDoc not foundLLM_SERVICE_UNAVAILABLE (503): LLM service is unavailableLLM_REQUEST_TIMEOUT (504): LLM request timed out