Claude Code 技能

直接從 Claude Code 渲染心智圖。Claude 撰寫大綱,以原始模式呼叫 API,並在您的提示旁生成精美的 PNG — 無需手動 curl,也無需將 token 貼入對話。

運作方式

此技能由 SKILL.md 與 ~/.claude/skills/mindmap/ 下的一個小型 shell 腳本組成。當您要求 Claude 視覺化某個內容時,它會選擇一個主題、撰寫結構化的 Markdown,並以原始模式將其傳送至公開的 /mindmaps/image 端點。回應的 PNG 將寫入您的工作目錄。

Claude 撰寫的 Markdown

Claude 自行撰寫大綱 — 包含標題與項目符號 — 完全符合使用者的要求。

原始模式即時生效

無需伺服器端 AI。渲染器直接使用原始 Markdown,因此圖片生成更快、更便宜且結果可預測。

Token 保留於磁碟

API Token 從環境變數讀取 — 絕不貼入對話中,也不會記錄在歷史紀錄裡。

為您挑選主題與版面

商業、邏輯、時間軸或自由格式 — Claude 會將內容對應至技能內建的其中一種預設樣式。

安裝

一次性設定:將兩個檔案下載至 ~/.claude/skills/mindmap/ 並匯出您的 API 權杖。

設定bash
mkdir -p ~/.claude/skills/mindmap/scripts
curl -fsSL https://static.clipmind.tech/skills/mindmap/SKILL.md \
  -o ~/.claude/skills/mindmap/SKILL.md
curl -fsSL https://static.clipmind.tech/skills/mindmap/scripts/render.sh \
  -o ~/.claude/skills/mindmap/scripts/render.sh
chmod +x ~/.claude/skills/mindmap/scripts/render.sh

export CLIPMIND_API_TOKEN='<your api token>'
export CLIPMIND_API_URL='https://api.clipmind.tech/public/mindmaps/image'

使用它

任何 Claude Code 工作階段都能觸發此技能。範例提示:

提示text
> turn these notes into a mindmap:
>   - launch plan
>   - weeks 1-2: research
>   - weeks 3-4: design
>   - week 5: ship

> visualize the decision tree for feature flagging

> 把这些要点画成脑图,主题用 dark-ocean

開始使用

從工作區取得您的 API 權杖並安裝此技能。需要原始 API 嗎?REST 參考文件涵蓋了每個參數。