copy-link

Installation
SKILL.md

Use the branch for the agent hosting this conversation:

  • Codex: run printenv CODEX_THREAD_ID in this session's shell. Build codex://threads/<returned-id>.
  • Claude Code: use the current session ID substituted here: ${CLAUDE_SESSION_ID}. If the placeholder is still literal, check printenv CLAUDE_SESSION_ID. Run python3 scripts/claude_link.py '<id>' from this skill's directory. It returns the existing Remote Control HTTPS URL when the current session log has one, or the desktop deep link otherwise. It honors CLAUDE_CONFIG_DIR. Read only the returned URL, not conversation contents.

This operation retrieves an existing link; it leaves Remote Control settings unchanged. On a helper error, report that the session link is unavailable.

Use a nonempty UUID from the current session. If unavailable, say the current session ID is unavailable and stop. Validate it before building or copying the URL; use only the current host's ID.

Installs
16
First Seen
8 days ago