Youmind:API 驱动的看板管理与 AI 生成 - Openclaw Skills

作者:互联网

2026-03-28

AI教程

什么是 Youmind API 集成?

Youmind 技能提供了一个高性能的纯 API 运行时,专为在 Youmind 看板上执行业务操作而设计。与传统的基于浏览器的工具不同,此技能使用 HTTP API 进行看板管理、素材处理和聊天交互,仅将浏览器自动化用于身份验证引导。通过利用像这样的 Openclaw Skills,开发者可以将 Youmind 强大的 AI 功能(如图像和幻灯片生成)直接集成到他们的自动化工作流中。

对于需要以编程方式整理信息、在看板上协作以及从 AI 对话中提取结构化数据的用户来说,此技能至关重要。它支持从简单的看板列表到复杂的产出物提取等一系列命令,使其成为任何以开发者为中心的环境中的多功能工具。

下载入口:https://github.com/openclaw/skills/tree/main/skills/p697/youmind

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install youmind

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 youmind。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

Youmind API 集成 应用场景

  • 为 AI 编码智能体项目自动创建和初始化研究看板。
  • 以编程方式将参考资料和文档上传到特定的项目看板。
  • 通过 CLI 生成 AI 驱动的幻灯片和视觉资产,用于快速演示原型设计。
  • 提取产出物和聊天记录,以输入外部数据流水线或本地数据库。
Youmind API 集成 工作原理
  1. 用户使用身份验证管理器验证会话,该管理器通过临时浏览器状态引导安全令牌。
  2. 看板管理命令用于通过看板 ID 或 URL 识别或创建目标工作空间。
  3. 将链接或本地文件等素材上传到看板,为 AI 提供上下文。
  4. 触发 AI 命令,根据特定提示生成图像、幻灯片或文本文件。
  5. 产出物管理器提取生成的内容,包括媒体 ID 和预览 URL,供本地使用或进一步处理。

Youmind API 集成 配置指南

要开始使用此技能,您必须首先初始化身份验证状态。使用以下命令设置并验证您的连接:

# 初始化身份验证引导
python3 scripts/run.py auth_manager.py setup

# 验证当前身份验证状态
python3 scripts/run.py auth_manager.py validate

# 检查常规身份验证状态
python3 scripts/run.py auth_manager.py status

Youmind API 集成 数据架构与分类体系

该技能使用结构化数据方法管理本地状态和远程产出物。

文件/对象 描述
data/auth_info.json 存储主要的 API 身份验证令牌。
data/browser_state/ 包含用于重新身份验证的持久浏览器会话数据。
产出物元数据 包含已生成文档的 media_idsimage_urlspage_id 的 JSON 对象。
看板对象 包括看板 ID、名称和相关的素材摘要。
name: youmind
description: Use this skill when users need Youmind board operations via API (list/find/create boards, add links/files, chat, generate image/slides/docs, extract artifacts). Browser is only for auth bootstrap/refresh.

Youmind API Skill (API-Only Runtime)

Use HTTP APIs for business operations. Do not use browser fallback for board/material/chat actions.

Runtime Rules

  • API-only for boards, materials, chat, and artifact extraction.
  • Browser automation is only allowed for auth bootstrap/refresh (auth_manager.py).
  • For board-scoped commands, prefer --board-id; --board-url is also supported in material/chat/artifact/wrapper commands.

Authentication

python3 scripts/run.py auth_manager.py status
python3 scripts/run.py auth_manager.py validate
python3 scripts/run.py auth_manager.py setup
python3 scripts/run.py auth_manager.py reauth
python3 scripts/run.py auth_manager.py clear

Board Commands

python3 scripts/run.py board_manager.py list

python3 scripts/run.py board_manager.py find --query "roadmap"

python3 scripts/run.py board_manager.py get --id 

python3 scripts/run.py board_manager.py create --name "My Board"
python3 scripts/run.py board_manager.py create --name "My Board" --prompt "Initialize this board for AI coding agent research"

Material Commands

python3 scripts/run.py material_manager.py add-link --board-id  --url "https://example.com"
python3 scripts/run.py material_manager.py add-link --board-url "https://youmind.com/boards/" --url "https://example.com"

python3 scripts/run.py material_manager.py upload-file --board-id  --file /path/to/file.pdf

python3 scripts/run.py material_manager.py get-snips --ids ","

python3 scripts/run.py material_manager.py list-picks --board-id 

Chat Commands

python3 scripts/run.py chat_manager.py create --board-id  --message "Summarize key ideas"

python3 scripts/run.py chat_manager.py send --board-id  --chat-id  --message "Give next steps"

python3 scripts/run.py chat_manager.py history --board-id 
python3 scripts/run.py chat_manager.py detail --chat-id 
python3 scripts/run.py chat_manager.py detail-by-origin --board-id 
python3 scripts/run.py chat_manager.py mark-read --chat-id 

python3 scripts/run.py chat_manager.py generate-image --board-id  --prompt "Minimal blue AI poster"
python3 scripts/run.py chat_manager.py generate-slides --board-id  --prompt "6-page AI coding agent roadmap"
python3 scripts/run.py chat_manager.py create --board-id  --message "Write a 1-page product brief"

Artifact Extraction

python3 scripts/run.py artifact_manager.py extract --chat-id 
python3 scripts/run.py artifact_manager.py extract-latest --board-id 
python3 scripts/run.py artifact_manager.py extract-latest --board-url "https://youmind.com/boards/"
python3 scripts/run.py artifact_manager.py extract --chat-id  --include-raw-content

Extraction semantics:

  • image_generate: returns image URLs and media_ids.
  • slides_generate: returns per-slide image URLs and media_ids (no direct .pptx file URL currently).
  • write: returns page_id, preview content, and optional raw doc content with --include-raw-content.

Compatibility Wrapper

python3 scripts/run.py ask_question.py --board-id  --question "..."
python3 scripts/run.py ask_question.py --board-url "https://youmind.com/boards/" --question "..."
python3 scripts/run.py ask_question.py --board-id  --chat-id  --question "..."

Local Data

Local auth state:

data/
├── auth_info.json
└── browser_state/
    └── state.json

Do not commit data/.

相关推荐