# Build and Validate Deep Links for Apps

Create and verify deep links for apps like Codex, Cursor, VS Code, and Visual Studio. Use when users need clickable links to open files, threads, or settings directly. Deliverables include Slack-safe formatted links and fallback options when deep links are unsupported.

**Canonical URL:** https://skillshunter.net/skills/github-composio-community-awesome-codex-skills-agent-deep-links-d1083f6cdb5c

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-composio-community-awesome-codex-skills-agent-deep-links-d1083f6cdb5c

**Markdown URL:** https://skillshunter.net/skills/github-composio-community-awesome-codex-skills-agent-deep-links-d1083f6cdb5c.md

**Instructions download URL:** https://skillshunter.net/skills/github-composio-community-awesome-codex-skills-agent-deep-links-d1083f6cdb5c/download

**Category:** Software & Development

**Source URL:** https://github.com/composio-community/awesome-codex-skills/blob/0930e1373789d2eda449039f7ac154b33031de89/agent-deep-links/SKILL.md

**Source commit:** 0930e1373789d2eda449039f7ac154b33031de89

**Listing approved at:** 2026-11-22

**Created at:** 2026-11-21T12:14:13.000000Z

**Updated at:** 2026-11-22T11:17:33.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before constructing a deep link, verify app support by checking the `references/deep-link-matrix.md` file or using the `open '<scheme>://...'` command for local validation. Use absolute paths for file/folder links and mark uncertain routes as inferred/experimental.

### When to use it

- User requests a clickable link to open a specific file in VS Code from Slack.
- User needs a deep link to navigate to a Codex thread directly.

## Skill instructions

---
name: agent-deep-links
description: 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.
---

# Agent Deep Links

## Overview

Use this skill when a user asks for clickable links that should open directly in an app (usually from Slack). This includes verifying whether a target app supports deep links at all, selecting the right URL shape, and providing fallbacks when deep links are unsupported.

## Workflow

1. Identify target app + target object:
   - Thread/conversation
   - File/folder
   - Settings/new window
2. Read `references/deep-link-matrix.md` for known-good link formats and support level.
3. If support is unknown, verify locally before sending:
   - Check URL schemes in the app bundle:
     ```bash
     /usr/libexec/PlistBuddy -c 'Print :CFBundleURLTypes' /Applications/<App>.app/Contents/Info.plist
     ```
   - Smoke test launch behavior:
     ```bash
     open '<scheme>://...'
     ```
4. Construct Slack-safe link syntax:
   - `<url|label>`
5. If unsupported or uncertain, send a fallback:
   - Plain path + command
   - Documented CLI open command
   - Statement that no official deep-link format is known

## Output Rules

- Prefer absolute paths for file/folder links.
- Keep labels short and action-oriented (`Open in Cursor`, `Open in Codex`).
- Do not claim deep-link support unless it is in the matrix or just verified.
- For uncertain app routes, clearly mark as inferred/experimental.

## Common Templates

- Codex thread:
  - `<codex://threads/<thread-uuid>|Open in Codex>`
- Cursor file:
  - `<cursor://file/<absolute-path>:<line>:<column>|Open in Cursor>`
- VS Code file:
  - `<vscode://file/<absolute-path>:<line>:<column>|Open in VS Code>`
- VS Code Insiders file:
  - `<vscode-insiders://file/<absolute-path>:<line>:<column>|Open in VS Code Insiders>`

Use `references/deep-link-matrix.md` for the full cross-app matrix and support notes.

