返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

distributed-claude-sender

将提示发送到VPS上的远程Claude实例,以实现分布式AI协作、不同的模型后端或独立上下文。

person作者: jakexiaohubgithub

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