Aller au contenu
TakoAPI
Retour aux skills

claude-tmux

par paulrahul

Coding Agents & IDEs
1.1kTéléchargements rapportés par clawskills.sh
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Manage Claude Code instances living inside tmux sessions.

Description

Ce que fait ce skill

Provides a repeatable workflow for interacting with Claude Code instances running inside tmux sessions. Covers reading the latest response, sending new prompts, and running commands like /compact using only standard tmux commands.

Uses only built-in tmux commands with no helper scripts or external dependencies, making it portable across any environment where tmux is available.

Quand l'utiliser

  • Check Claude's latest reply in a background project session
  • Send a follow-up prompt to Claude without switching terminal focus
  • Run /compact on a Claude session to reduce context size
  • Debug a Claude session by dumping its full scrollback buffer
  • Manage Claude across multiple simultaneous project sessions

Exemple de workflow

ENTRÉE

User asks: send the prompt 'summarize the changes so far' to the Claude instance in tmux session foobar

AGENT
  1. 1

    List all panes in the foobar session to locate the one titled 'claude'

  2. 2

    Record the target pane reference as foobar:<window>.<pane>

  3. 3

    Capture the pane output to confirm Claude is ready and note the last exchange

  4. 4

    Send the prompt text followed by Enter to the target pane

  5. 5

    Poll the pane with capture-pane until a new ⏺ reply block appears, then report it

SORTIE

Claude's in-pane reply is quoted back, with the session and pane reference noted for traceability

Installation

clawhub install paulrahul/claude-tmux

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens