تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

claude-relay

بواسطة artwalker

CLI Utilities
389التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Relay operator for Claude Code via tmux across multiple projects.

الوصف

ما الذي تفعله هذه المهارة

Runs Claude Code as a persistent tmux session, letting you start, send prompts to, and monitor Claude across multiple projects from a single relay script. Session names are deterministic and tied to project paths or aliases. Designed for orchestration and session management, not code reasoning.

Persistent tmux sessions survive terminal disconnects, so Claude keeps working even after you close the window.

متى تستخدمها

  • Keeping a Claude session alive while switching terminals
  • Sending follow-up prompts to a background Claude process
  • Monitoring Claude output on a long-running task
  • Managing Claude sessions across several codebases at once
  • Restarting a hung Claude process without losing project context

مثال على سير العمل

الإدخال

User asks: Start a Claude session for my backend project and ask it to review the auth module

الوكيل
  1. 1

    Runs scripts/relay.sh start backend to create a named tmux session

  2. 2

    Resolves 'backend' via projects.map or directory lookup under CLAUDE_RELAY_ROOT

  3. 3

    Sends scripts/relay.sh send backend 'Review the auth module'

  4. 4

    Waits RELAY_WAIT seconds, then runs scripts/relay.sh tail backend to read output

  5. 5

    Returns Claude's response to the user

الإخراج

Claude's review of the auth module, read from the tmux session buffer

المتطلبات

  • tmux installed and available in PATH
  • Claude Code CLI installed and available in PATH (or configured via CLAUDE_BIN env var)

التثبيت

clawhub install artwalker/claude-relay

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط