360 Secure SkillHub
360 安全技能中心

YouMind

该 Skill 说明如何安装并使用 youmind CLI,按搜索、查看、调用的流程访问 YouMind OpenAPI,管理 boards、crafts、notes、picks、materials 等内容;调用需要 API key,参数支持键值对、JSON 字符串和标准输入三种传递方式。

p697
p697
热度 89.04
最近更新 2026-05-19 12:02:00
分类:知识依赖:代码执行 / 第三方 API应用场景:笔记整理 / API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add youmind
Metadata
name
youmind
version
3.0.2
description
This skill should be used when interacting with the YouMind API to manage content such as boards, crafts, notes, picks, and materials. It provides installation and usage instructions for the youmind CLI, which enables searching, inspecting, and calling YouMind's OpenAPI endpoints.
allowed-tools
["Bash(youmind *)","Bash(YOUMIND_API_KEY=* youmind *)","Bash(npm install -g @youmind-ai/cli)"]

YouMind CLI Skill

Interact with the YouMind API to manage boards, crafts, notes, picks, and other content through the youmind CLI.

Installation

npm install -g @youmind-ai/cli

To verify installation: youmind (should print usage info).

If the command is not found, install it first before proceeding.

Authentication

If you do not have a YouMind API key yet, generate one at:

https://youmind.com/settings/api-keys

Then set it as an environment variable:

export YOUMIND_API_KEY=sk-ym-xxx

Or pass per-command with --api-key sk-ym-xxx.

Commands

Three commands following a discover → inspect → execute workflow:

1. Search — Discover Available APIs

youmind search [query]
  • Without query: list all available API endpoints
  • With query: filter APIs by name or description (e.g., search board, search craft)
  • Output: JSON array of { name, summary } objects

2. Info — Inspect API Schema

youmind info <name>
  • Returns the full schema including request body and response schema
  • All $ref references are resolved inline
  • Use this to understand required parameters before calling an API

3. Call — Execute an API

youmind call <name> [params]

Requires authentication. Three ways to pass parameters:

# Key-value pairs
youmind call createBoard --name "My Board"

# JSON string
youmind call createBoard '{"name":"My Board"}'

# Stdin pipe
echo '{"name":"My Board"}' | youmind call createBoard

Workflow

To accomplish a task with the YouMind API:

  1. Search for relevant APIs: youmind search <keyword>
  2. Inspect the API schema: youmind info <apiName>
  3. Call the API with correct parameters: youmind call <apiName> [params]

Example: Create a board and add a note

# Find board-related APIs
youmind search board

# Check createBoard schema
youmind info createBoard

# Create the board
youmind call createBoard --name "Research Notes"

# Find note APIs and create a note
youmind search note
youmind info createNote
youmind call createNote '{"title":"First Note","boardId":"..."}'

Global Options

Option Description
--api-key <key> API key (overrides YOUMIND_API_KEY env var)
--endpoint <url> API endpoint (default: https://youmind.com)