Community生產力與協作github.com

ComposioHQ/agent-deep-links

建立、驗證並疑難排解 Codex、Cursor、VS Code、Visual Studio 等工具的深層連結。適用於使用者要求點擊即可開啟執行緒、檔案、資料夾或應用程式設定的可點擊連結時(尤其在 Slack 中)。

agent-deep-links 是什麼?

此技能旨在協助 AI 代理建立與驗證深層連結(Deep Links),用於支援如 Codex、Cursor、VS Code、Visual Studio 等開發工具的應用程式。它可從目標應用程式及目標對象(如執行緒、檔案、資料夾)著手,查閱預先定義的深層連結矩陣(`references/deep-link-matrix.md`),在未知情況下透過終端機命令驗證 URL Scheme 支援性,最後產出 Slack 可用的安全連結語法。此技能的核心價值在於避免無效連結,並在不確定時提供替代方案(如指令或檔案路徑),確保使用者體驗流暢。支援的常見範本包括 `codex://threads/`、`cursor://file/`、`vscode://file/` 等格式,並強調使用絕對路徑與簡潔動作導向的標籤。

相容平台~Claude Code✓Codex CLI✓Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/agent-deep-links

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

代理深層連結

概述

當使用者要求能夠直接在應用程式中開啟的可點擊連結(通常來自 Slack)時,請使用此技能。這包括驗證目標應用程式是否支援深層連結、選擇正確的 URL 格式,並在深層連結不受支援時提供替代方案。

工作流程

  1. 識別目標應用程式及目標對象:
    • 執行緒/對話
    • 檔案/資料夾
    • 設定/新視窗
  2. 閱讀 references/deep-link-matrix.md 以取得已知可用的連結格式與支援等級。
  3. 若支援狀況未知,請在傳送前先於本機端驗證:
    • 在應用程式套件中檢查 URL Scheme:
      /usr/libexec/PlistBuddy -c 'Print :CFBundleURLTypes' /Applications/<App>.app/Contents/Info.plist
      
    • 進行啟動行為的煙霧測試:
      open '<scheme>://...'
      
  4. 建構 Slack 安全的連結語法:
    • <url|label>
  5. 若不受支援或不確定,請傳送替代方案:
    • 純路徑加指令
    • 已記錄的 CLI 開啟指令
    • 聲明無已知的官方深層連結格式

輸出規則

  • 檔案/資料夾連結偏好使用絕對路徑。
  • 標籤保持簡短且具動作導向(例如「在 Cursor 中開啟」、「在 Codex 中開啟」)。
  • 除非該連結已列於矩陣或剛驗證過,否則請勿聲稱支援深層連結。
  • 對於不確定的應用程式路徑,請明確標記為推斷/實驗性質。

常見範本

  • Codex 執行緒:
    • <codex://threads/<thread-uuid>|在 Codex 中開啟>
  • Cursor 檔案:
    • <cursor://file/<absolute-path>:<line>:<column>|在 Cursor 中開啟>
  • VS Code 檔案:
    • <vscode://file/<absolute-path>:<line>:<column>|在 VS Code 中開啟>
  • VS Code Insiders 檔案:
    • <vscode-insiders://file/<absolute-path>:<line>:<column>|在 VS Code Insiders 中開啟>

使用 references/deep-link-matrix.md 取得完整的跨應用程式矩陣與支援備註。

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-mail-automation

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

相關技能