返回顶部
f

felo-mindmap

Generate 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."

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
81
下载量
0
收藏
概述
安装方式
版本历史

felo-mindmap

# Felo Mindmap Skill ## When to Use Trigger this skill for requests about creating mindmap files: - Create/generate mindmaps from a topic or question - Turn ideas into a structured mindmap - Build a mindmap with different layout types (timeline, fishbone, etc.) - Export mindmap content into a shareable link Trigger keywords: - Chinese prompts about making mindmaps (思维导图, 脑图) - English: mindmap, mind map, thinking map, generate mindmap - Explicit commands: `/felo-mindmap`, "use felo mindmap" Do NOT use this skill for: - Real-time information lookup (use `felo-search`) - Questions about local codebase files - Pure text tasks that do not require mindmap generation ## Setup ### 1. Get API key 1. Visit [felo.ai](https://felo.ai) 2. Open Settings -> API Keys 3. Create and copy your API key ### 2. Configure environment variable Linux/macOS: ```bash export FELO_API_KEY="your-api-key-here" ``` Windows PowerShell: ```powershell $env:FELO_API_KEY="your-api-key-here" ``` ## How to Execute Use Bash tool commands and follow this workflow exactly. ### Step 1: Precheck API key ```bash 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. ### Step 2: Run Node Script Use the bundled script: ```bash node felo-mindmap/scripts/run_mindmap_task.mjs \ --query "USER_PROMPT_HERE" \ --timeout 60 ``` To specify a layout type: ```bash node felo-mindmap/scripts/run_mindmap_task.mjs \ --query "USER_PROMPT_HERE" \ --layout "TIMELINE" \ --timeout 60 ``` Available layout types: - `MIND_MAP` (default) - Classic mind map - `LOGICAL_STRUCTURE` - Logical structure diagram - `ORGANIZATION_STRUCTURE` - Organization chart - `CATALOG_ORGANIZATION` - Catalog organization chart - `TIMELINE` - Timeline diagram - `FISHBONE` - Fishbone diagram To add mindmap to an existing LiveDoc: ```bash node felo-mindmap/scripts/run_mindmap_task.mjs \ --query "USER_PROMPT_HERE" \ --livedoc-short-id "EXISTING_LIVEDOC_ID" ``` Script behavior: - Creates mindmap via `POST https://openapi.felo.ai/v2/mindmap` - Returns immediately (synchronous API, no polling needed) - Prints `mindmap_url` on success Optional debug output: ```bash node felo-mindmap/scripts/run_mindmap_task.mjs \ --query "USER_PROMPT_HERE" \ --json ``` This outputs structured JSON including: - `resource_id` - `status` - `mindmap_url` - `livedoc_short_id` ### Step 3: Return structured result On success, return: - `mindmap_url` immediately - if `--json` is used, also include `resource_id`, `livedoc_short_id` ## Output Format Use this response structure: ```markdown ## Mindmap Generation Result - Resource ID: <resource_id> - Status: <status> - Mindmap URL: <mindmap_url> - LiveDoc Short ID: <livedoc_short_id> ``` Error format: ```markdown ## Mindmap Generation Failed - Error Type: <error code or category> - Message: <readable message> - Suggested Action: <next step> ``` ## Error Handling Known API error codes: - `INVALID_API_KEY` (401): key invalid or revoked - `MINDMAP_CREATE_FAILED` (502): mindmap creation failed - `LIVEDOC_CREATE_FAILED` (502): failed to create LiveDoc - `LIVEDOC_NOT_FOUND` (404): specified LiveDoc not found - `LLM_SERVICE_UNAVAILABLE` (503): LLM service is unavailable - `LLM_REQUEST_TIMEOUT` (504): LLM request timed out ## Important Notes - Always execute this skill when user intent is mindmap generation. - The API is synchronous - no polling required. - Keep API calls minimal: one request per mindmap. ## References - [Felo Mindmap API](https://openapi.felo.ai/docs/api-reference/v2/mindmap.html) - [Felo Open Platform](https://openapi.felo.ai/docs/)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 felo-mindmap-1775921762 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 felo-mindmap-1775921762 技能

通过命令行安装

skillhub install felo-mindmap-1775921762

下载 Zip 包

⬇ 下载 felo-mindmap v1.0.0

文件大小: 6.08 KB | 发布时间: 2026-4-12 09:56

v1.0.0 最新 2026-4-12 09:56
- Initial release of the felo-mindmap skill.
- Enables mindmap generation via the Felo Mindmap API, triggered by user requests to make, generate, or create mind maps.
- Includes support for various layout types (classic, timeline, fishbone, etc.) and integration with existing LiveDocs.
- Provides clear setup instructions for API key configuration and usage.
- Details robust error handling for common API failures and outlines expected output formats.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部