Community生产力与协作github.com

ComposioHQ/agent-deep-links

构建、验证和排查面向 Codex、Cursor、VS Code、Visual Studio 等工具的深度链接。适用于用户(尤其是在 Slack 中)请求可点击链接以打开线程、文件、文件夹或应用设置的场景。

agent-deep-links 是什么?

该技能旨在帮助 AI 代理(如 Claude Code、Cursor、Codex 等)构建、验证和排查深度链接。当用户在 Slack 等平台中请求点击即可打开特定应用(如 VS Code、Cursor、Codex)中线程、文件、文件夹或设置的可点击链接时,此技能非常关键。它提供了标准化的流程:首先识别目标应用和对象(如线程、文件、设置),然后查阅参考文档(`references/deep-link-matrix.md`)以获取已知的有效链接格式。若链接格式未知,技能会指导开发者通过 PlistBuddy 检查应用捆绑包的 URL Schemes,并使用 open 命令进行冒烟测试。对于不支持或不确定的链接,技能建议提供回退方案,如文件路径、CLI 命令或明确声明。输出规则强调使用绝对路径、简短的操作性标签,并避免虚假声称深度链接支持。常见模板包括 Codex 线程、Cursor 文件、VS Code 文件以及 VS Code Insiders 文件的链接格式。

兼容平台~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 的新对话。

文档

Agent 深度链接

概述

当用户请求能够直接在应用中打开的可点击链接(通常来自 Slack)时,使用此技能。这包括验证目标应用是否支持深度链接、选择正确的 URL 格式,以及在深度链接不受支持时提供回退方案。

工作流程

  1. 确定目标应用和对象:
    • 线程/对话
    • 文件/文件夹
    • 设置/新窗口
  2. 阅读 references/deep-link-matrix.md 以获取已知的有效链接格式和支持级别。
  3. 如果支持情况未知,在发送前进行本地验证:
    • 检查应用捆绑包中的 URL Schemes:
      /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.

相关技能