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.mdsource 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
- Clone seed repo on server:
git clone https://github.com/ebowwa/seed.git && cd seed - Run setup:
./setup.sh - Configure Doppler:
doppler login - 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
includes the entire conversation logchat.sh - Use
on the server to reset remote memoryrm /tmp/c.txt - The
script acceptschat.sh
and--project
flags for Doppler flexibility--config