Skip to content

feat(plugin): 安裝 plugin 同時附帶 finmind skill#4

Merged
linsamtw merged 1 commit into
masterfrom
feat/plugin-skill
May 26, 2026
Merged

feat(plugin): 安裝 plugin 同時附帶 finmind skill#4
linsamtw merged 1 commit into
masterfrom
feat/plugin-skill

Conversation

@linsamtw
Copy link
Copy Markdown
Contributor

/plugin install finmind-mcp@finmind-official 一次同時給 MCP tools + 一個 skill(你要的「裝完同時擁有 skill」)。

怎麼運作

Claude Code 會自動探索 plugin root 的 skills/ 目錄,不用在 plugin.json 宣告。skill 會被命名為 /finmind-mcp:finmind,跟 MCP server(提供 tools)並存、不衝突。使用者更新 plugin + /reload-plugins 後就有。

新增檔案

  • skills/finmind/SKILL.md(~200 字):驅動同 plugin 的 finmind MCP tools —— 意圖→dataset 對照表、日期規則、公司名↔代號、多步驟、輸出/畫圖指引。
  • 內嵌 canonical 修正:台指期 data_id=TX(非 TXF)、InterestRate 必填 data_id(FED/ECB/BOJ)。
  • 內容改編自已上線的 /finmind skill + knowledge/instructions.md

驗證

subagent application test 過:5 個查詢的 tool/dataset/params 都正確,含 TX、FED 兩個雷,以及「表上沒有的(黃金)→ 先 list_datasets」「比較兩檔 → 先 get_stock_info 再兩次 query_dataset」。

注意

skill vs MCP server 是兩種東西:MCP server 提供 tools/mcp 看得到、模型自動呼叫);這個 skill 是 /finmind-mcp:finmind。裝這個 plugin 後兩者都有。

🤖 Generated with Claude Code

讓 `/plugin install finmind-mcp@finmind-official` 一次同時給使用者 MCP tools
**和** 一個 skill。Claude Code 會自動從 plugin root 的 skills/ 探索 skill
(namespaced 為 /finmind-mcp:finmind),不需 plugin.json 宣告。

skills/finmind/SKILL.md:驅動同 plugin 內的 finmind MCP tools —— 意圖→dataset
對照、日期規則、公司名↔代號、多步驟、輸出/畫圖指引。內嵌 canonical 修正(台指期
data_id=TX 非 TXF;InterestRate 必填 data_id 如 FED)。內容改編自已上線的 /finmind
skill + knowledge/instructions.md。

已用 subagent application test 驗過:5 個查詢的 tool/dataset/params 都正確,含
TX/FED 兩個雷與「不確定先 list_datasets」路徑。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@linsamtw linsamtw merged commit 98d6ea0 into master May 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant