agentleFS
jankocianjankocian/cc-voice-control/skills/pair/SKILL.md

pair

Skill0 starsChanged 5 months agoMITView on GitHub

Open a short pairing window so a new phone/device can connect to the voice remote.

  • Sends data out

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After that they'd run /voice-control:pair again for a new device.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Connecting a device is gated: the session URL/QR is a single-use pairing link — it works only during a brief window AND only until the first device claims it, then it's dead (a paired device stays in via a per-device cookie). So a leaked link or screenshotted QR can't grant access later. /voice-control:start opens the first window automatically; run this command to open a fresh single-use link for an additional device (or to re-pair one that was wiped when the session was fully stopped, or a pairing that failed mid-handshake).

  1. Open a pairing window on this pane's daemon, then read back the QR + URL. This pane's daemon (the per-pane runtime file runtime/<CMUX_SURFACE_ID>.json) must be running. Run exactly:

    D="${CLAUDE_PLUGIN_DATA}"
    R="$D/runtime/${CMUX_SURFACE_ID:-default}.json"
    if [ -f "$R" ]; then
      PORT=$(sed -n 's/.*"port": *\([0-9]*\).*/\1/p' "$R" 2>/dev/null)
      if [ -n "$PORT" ] && curl -sf -X POST "http://127.0.0.1:$PORT/pair" >/dev/null 2>&1; then
        echo "PAIRING_OPEN"
        cat "$D/qr.txt" 2>/dev/null; echo; cat "$R"
      else
        echo "PAIR_FAILED"
      fi
    else
      echo "NO_SESSION"
    fi
  2. If you see PAIRING_OPEN, a ~90-second pairing window is now open. Present the QR + URL:
    • Reproduce the QR block character-for-character inside a fenced code block (```) so it stays scannable, and show the sessionUrl beneath it as a tap/copy fallback.
    • Tell the user clearly: scan or open it on the new device within about 90 seconds, and note it's single-use — the first device to open it pairs, and then the link is dead (even within the 90s). After that they'd run /voice-control:pair again for a new device. Once a device connects it stays connected (it remembers via a cookie), so they only do this once per device.
  3. If you see NO_SESSION, there's no voice remote running in this pane — tell the user to run /voice-control:start here first (or run /voice-control:pair in a pane that already has one).
  4. If you see PAIR_FAILED, the daemon is recorded but didn't accept the request (it may be restarting). Suggest /voice-control:status, then retry /voice-control:pair.

Then stop and return to normal — do not call any further tools.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.