Communitygithub.com

MikeCheng1208/BattleTree

透過 Rube MCP(Composio)自動化 Klipfolio 工作。請始終先搜尋工具以取得最新架構。

BattleTree 是什麼?

這個技能讓開發者能夠透過 Rube MCP 自動化 Klipfolio 的操作。它使用 Composio 的 Klipfolio 工具包來發現、連接並執行 Klipfolio 任務。主要好處在於它強制要求先透過 RUBE_SEARCH_TOOLS 動態發現工具,避免硬編碼工具名稱或參數,從而無需隨時手動更新腳本,就能因應 API 變更。它支援 Rube MCP 平台,在執行任何工作流程前需確認 Klipfolio 連線狀態為 ACTIVE。工作流程包括三個核心步驟:發現可用工具、檢查連線狀態、使用動態取得的工具 slug 和參數執行工具。技能也涵蓋分頁處理、連線管理與遠端工作臺(RUBE_REMOTE_WORKBENCH)等進階操作。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MikeCheng1208/BattleTree/tree/HEAD/.agents/skills/klipfolio-automation

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Klipfolio

透過 Composio 的 Klipfolio 工具包,經由 Rube MCP 自動化 Klipfolio 操作。

工具包文件: composio.dev/toolkits/klipfolio

先決條件

  • 必須已連接 Rube MCP(RUBE_SEARCH_TOOLS 可用)
  • 透過 RUBE_MANAGE_CONNECTIONS 並指定工具包 klipfolio 建立有效的 Klipfolio 連線
  • 一律先呼叫 RUBE_SEARCH_TOOLS 以取得當前的工具架構

設定

取得 Rube MCP: 在客戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。不需要 API 金鑰 — 只需新增端點即可運作。

  1. 確認 Rube MCP 可用,驗證 RUBE_SEARCH_TOOLS 有回應
  2. 使用工具包 klipfolio 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 如果連線狀態不是 ACTIVE,請依照回傳的驗證連結完成設定
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

工具探索

執行工作流程前,請務必探索可用的工具:

RUBE_SEARCH_TOOLS
queries: [{use_case: "Klipfolio operations", known_fields: ""}]
session: {generate_id: true}

這會回傳可用的工具 slug、輸入架構、建議的執行計畫以及已知的陷阱。

核心工作流程模式

步驟 1:探索可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Klipfolio task"}]
session: {id: "existing_session_id"}

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["klipfolio"]
session_id: "your_session_id"

步驟 3:執行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* 符合搜尋結果架構的參數 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 務必先搜尋:工具架構會變更。未先呼叫 RUBE_SEARCH_TOOLS 絕對不要硬編碼工具 slug 或參數。
  • 檢查連線:在執行工具前,確認 RUBE_MANAGE_CONNECTIONS 顯示 ACTIVE 狀態。
  • 架構合規性:使用搜尋結果中確切的欄位名稱與型別。
  • memory 參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中務必包含 memory,即使為空({})也要包含。
  • 工作階段重複使用:在同一工作流程中重複使用工作階段 ID。新的工作流程請產生新的 ID。
  • 分頁:檢查回應中是否有分頁代碼,並持續擷取直到完整為止。

快速參考

操作方法
尋找工具使用特定於 Klipfolio 的 use case 執行 RUBE_SEARCH_TOOLS
連線使用工具包 klipfolio 執行 RUBE_MANAGE_CONNECTIONS
執行使用探索到的工具 slug 執行 RUBE_MULTI_EXECUTE_TOOL
批次操作使用 run_composio_tool() 執行 RUBE_REMOTE_WORKBENCH
完整架構針對帶有 schemaRef 的工具執行 RUBE_GET_TOOL_SCHEMAS

由 Composio 提供支援

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

MikeCheng1208/BattleTree

Index-based file discovery using ABOUTME headers. Use INSTEAD of grep or Explore agent when searching for files by purpose or feature. Faster and more accurate than scanning code. Invoke this skill when user asks "which files handle X", "where is Y implemented", or when you need to find files related to a feature or task.

MikeCheng1208/BattleTree

Factor modeling and portfolio construction (Markowitz, Black-Litterman, constraints, turnover).

MikeCheng1208/BattleTree

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

MikeCheng1208/BattleTree

Analyze the CustomGPT.ai Labs Innovation workbook and cost tracking data to surface portfolio-level insights, trends, and recommendations for where to focus Innovation efforts.

MikeCheng1208/BattleTree

Personal meta-skill for Arach. Use this as the entry point to understand arach's projects, conventions, and available skills. Activates on "arach's projects", "what does arach work on", or when working in any arach/* repo.

MikeCheng1208/BattleTree

High-converting landing pages. Copy + design + implementation. Triggers: landing page, conversion page.

MikeCheng1208/BattleTree

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios,...

MikeCheng1208/BattleTree

Minimalist, typography-focused portfolio design system inspired by neo-brutalist and Swiss design principles. Emphasizes bold typography, generous whitespace, monochromatic color schemes, and elegant simplicity for developer/designer portfolios.

MikeCheng1208/BattleTree

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

MikeCheng1208/BattleTree

Optimize project portfolio selection under constraints using mathematical optimization

MikeCheng1208/BattleTree

Detect and explain risk drift in lending portfolios over time using vintage analysis, migration matrices, and concentration metrics. Use when monitoring portfolio credit quality trends, preparing board risk reports, conducting stress testing, or when risk metrics deviate from appetite thresholds.

MikeCheng1208/BattleTree

Build a GitHub portfolio that gets you hired — curate 3-5 polished projects, craft compelling READMEs, deploy live demos, tell a coherent story across your repos, and align everything to AI-native development roles. Use when preparing your GitHub for job searches, deciding what to pin, or auditing your public presence.

相關技能