Community程式設計與開發github.com

ComposioHQ/hackernews-automation

透過 Rube MCP (Composio) 自動化 Hackernews 任務。請務必先搜尋工具以取得最新的架構。

hackernews-automation 是什麼?

這項技能讓開發者能夠透過 Composio 的 Hackernews 工具組與 Rube MCP,自動化 Hackernews 的相關操作。主要用途是簡化與 Hackernews API 的互動,例如擷取文章、發表評論或搜尋內容,而不需要直接處理低階的 API 呼叫。此技能支援 Rube MCP 平台,並透過 RUBE_SEARCH_TOOLS 等標準化指令來動態發現工具、管理連線狀態以及執行工作流程。使用時,必須先呼叫 RUBE_SEARCH_TOOLS 以取得最新的工具綱要,避免使用硬編碼的欄位或參數;接著透過 RUBE_MANAGE_CONNECTIONS 建立或驗證 Hackernews 連線,最後再使用 RUBE_MULTI_EXECUTE_TOOL 執行具體操作。此流程確保了與 API 變更的相容性,並能有效處理分頁、會話重複使用等常見問題。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/hackernews-automation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

透過 Rube MCP 自動化 Hackernews

透過 Composio 的 Hackernews 工具組與 Rube MCP,自動化 Hackernews 操作。

工具組文件:composio.dev/toolkits/hackernews

先決條件

  • 必須已連接 Rube MCP(可使用 RUBE_SEARCH_TOOLS)
  • 透過 RUBE_MANAGE_CONNECTIONS 並使用工具組 hackernews 擁有活躍的 Hackernews 連線
  • 請務必先呼叫 RUBE_SEARCH_TOOLS 以取得目前的工具綱要

設定

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

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

工具發現

在執行工作流程之前,請務必先發現可用的工具:

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

這會回傳可用的工具名稱、輸入綱要、建議的執行計畫以及常見陷阱。

核心工作流程模式

步驟 1:發現可用工具

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

步驟 2:檢查連線

RUBE_MANAGE_CONNECTIONS
toolkits: ["hackernews"]
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 的情況下對工具名稱或參數進行硬編碼
  • 檢查連線:在執行工具前,請確認 RUBE_MANAGE_CONNECTIONS 顯示為 ACTIVE 狀態
  • 符合綱要:使用搜尋結果中的確切欄位名稱與類型
  • Memory 參數:在 RUBE_MULTI_EXECUTE_TOOL 呼叫中務必包含 memory,即使為空({})
  • 重複使用 Session:在工作流程中重複使用 session ID。新的工作流程請產生新的 ID
  • 分頁:檢查回應中是否有分頁標記,並持續擷取直到完成

快速參考

操作方式
尋找工具RUBE_SEARCH_TOOLS 搭配 Hackernews 相關用例
連線RUBE_MANAGE_CONNECTIONS 搭配工具組 hackernews
執行RUBE_MULTI_EXECUTE_TOOL 搭配發現的工具名稱
批量操作RUBE_REMOTE_WORKBENCH 搭配 run_composio_tool()
完整綱要對含有 schemaRef 的工具使用 RUBE_GET_TOOL_SCHEMAS

由 Composio 提供技術支援

Individual skills in this repo

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

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相關技能