Claude-skill-registry distributed-claude-sender

Send prompts to a remote Claude instance on a VPS for distributed AI collaboration, different model backends, or independent context.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/distributed-claude-sender" ~/.claude/skills/majiayu000-claude-skill-registry-distributed-claude-sender && rm -rf "$T"
manifest: skills/data/distributed-claude-sender/SKILL.md
source content

Distributed Claude - Sender

Send prompts to a remote Claude Code instance (Z.ai GLM backend) running on a VPS.

When to Use

  • Different backend: Get responses from Z.ai GLM models while you use Anthropic
  • Independent context: Remote Claude maintains separate conversation history
  • Collaboration: Two Claude instances working on different aspects of a problem
  • Testing: Compare responses across different models

Usage

# Replace YOUR_SERVER with your SSH alias or user@host
ssh YOUR_SERVER "cd ~/seed && ./chat.sh 'your prompt here'"

# With custom Doppler project/config
ssh YOUR_SERVER "cd ~/seed && ./chat.sh 'prompt' --project myproj --config dev"

Architecture

You (Local Claude)
        |
        v
ssh YOUR_SERVER "./chat.sh 'prompt'"
        |
        v
Remote Claude (Z.ai GLM)
        |
        v
Response (with full remote context)

Reset Remote Conversation

ssh YOUR_SERVER "rm /tmp/c.txt"

Setup Remote Server

  1. Clone seed repo on server:
    git clone https://github.com/ebowwa/seed.git && cd seed
  2. Run setup:
    ./setup.sh
  3. Configure Doppler:
    doppler login
  4. Start chatting:
    ./chat.sh "hello"

Example

# Ask remote Claude to analyze a file on the server
ssh YOUR_SERVER "cd ~/seed && ./chat.sh 'Read README.md and summarize the key points'"

Tips

  • The remote Claude has full context of its conversation history
  • Each message via
    chat.sh
    includes the entire conversation log
  • Use
    rm /tmp/c.txt
    on the server to reset remote memory
  • The
    chat.sh
    script accepts
    --project
    and
    --config
    flags for Doppler flexibility