Skip to content

The reply address hardcodes an install path the README says you don't need #26

Closed

Description

@abruption

The problem

reply_line() emits:

Reply: python3 ~/.claude/skills/cc-peer/cc_peer.py send --host ... --to ... --no-reply-to

That path is only correct when install.sh put it there. The README explicitly offers the other way:

Or skip the installer entirely and copy the one file

Someone who did that — ~/tools/cc_peer.py, or a checkout — sends a message whose reply line names a file that doesn't exist on their machine. SKILL.md tells the receiver to "run that line as printed", so it fails with No such file.

And as the README itself notes, a failed reply is reported to neither side. The sender believes a return address went out; the receiver has a dead command. It looks like a working address right up until someone tries it.

Fix

Path(__file__).resolve() is the right answer — the reply command runs on the sender's machine, so the sender's own path is exactly what the receiver needs.

One case needs the fallback: when the script arrives over run_remote() it executes as python3 -, and __file__ is then <stdin> (verified). Keep the current constant for that path, since a message sent from a remote invocation should point at wherever that machine's installed copy lives.

Acceptance criteria

  • Reply line names the actual script path when invoked from a file
  • python3 - invocation still emits a usable address rather than <stdin>
  • Tests for both — no SSH needed, __file__ is patchable

Activity

  1. added
    bug
    on Sep 7, 2026
  2. added a commit that references this issue on Sep 8, 2026
    c8c569d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions