Communitygithub.com

MikeCheng1208/BattleTree

通过 Rube MCP(Composio)自动执行 Klipfolio 任务。请始终先搜索工具以获取当前模式。

BattleTree 是什么?

该技能允许用户通过 Rube MCP 代理自动执行 Klipfolio 操作,底层使用 Composio 的 Klipfolio 工具包。在运行任何工作流之前,必须先在客户端配置中添加 Rube MCP 端点,并通过 RUBE_MANAGE_CONNECTIONS 建立并验证 Klipfolio 连接。技能强调始终先调用 RUBE_SEARCH_TOOLS 发现当前可用的工具模式,以避免因硬编码过时的 slug 或参数而导致的失败。它提供了一个分步工作流模式:发现工具、检查连接状态、然后使用 RUBE_MULTI_EXECUTE_TOOL 执行工具。该技能可在任何支持 MCP 的 AI 代理平台(如 Claude Code、Cursor、Codex)上使用,并涵盖了分页、会话重用和 bulk 操作等常见陷阱。

兼容平台~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_SEARCH_TOOLS 有响应来验证 Rube MCP 是否可用
  2. 使用工具包 klipfolio 调用 RUBE_MANAGE_CONNECTIONS
  3. 如果连接不是 ACTIVE 状态,请按照返回的身份验证链接完成设置
  4. 在运行任何工作流之前,确认连接状态显示为 ACTIVE

工具发现

在执行工作流之前始终发现可用工具:

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

这将返回可用的工具 slug、输入模式、推荐的执行计划以及已知陷阱。

核心工作流模式

步骤 1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "您的具体 Klipfolio 任务"}]
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 特定用例的 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.

相关技能