cc-chat

Manage ping-pong conversations between two Claude Code instances in tmux panes.

2|Updated Apr 28, 2025
One-click install
npx skills add https://github.com/gunubin/dotfiles --skill cc-chat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cc-chat
Source: https://github.com/gunubin/dotfiles/tree/main/claude/.claude/skills/cc-chat
Command: npx skills add https://github.com/gunubin/dotfiles --skill cc-chat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Bash, Read, Write, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables seamless, ping-pong style conversations between two instances of Claude Code within separate tmux panes, facilitating collaborative tasks like code reviews and design discussions.

Core Features & Use Cases

  • Inter-Pane Communication: Initiate and manage dialogues between two distinct Claude Code sessions running in tmux.
  • Structured Collaboration: Define roles, topics, and conversation limits for focused discussions.
  • Use Case: You are reviewing a complex piece of code with a colleague. You can use this Skill to have two Claude Code instances discuss the code, with one acting as the reviewer and the other as the code author, documenting their exchange directly in a shared file.

Quick Start

Start a conversation with Claude Code in pane 60 about the topic 'Refactor the user authentication module', with you as 'Senior Dev' and the other as 'Junior Dev'.

Frequently Asked Questions about cc-chat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate pair programming between two Claude Code instances in tmux?

You can set up pair programming by initiating a ping-pong style conversational session between two Claude Code instances in separate tmux panes. This allows them to collaborate directly on tasks like code reviews and design discussions.

Can I use Claude Code for automated code reviews with assigned roles?

Yes, you can define specific roles like 'Senior Dev' and 'Junior Dev' for two Claude Code sessions. This structured collaboration manages session state, topics, and conversation limits for focused code reviews.

Does Claude Code dialogue management require any specific environment setup?

Claude Code dialogue management requires a tmux environment with separate panes for each instance. It relies on Bash, Read, and Write dependencies to manage session state and facilitate inter-process communication via a dedicated dialogue file.

What is the best way to document a design discussion between two AI coding agents?

The best way to document a design discussion is using a dedicated dialogue file to track session state and conversation rounds. This file manages the ping-pong exchange, documenting the interaction directly as it happens.

How do inter-pane conversations in tmux maintain state across multiple rounds?

Inter-pane conversations maintain state by using a dedicated dialogue file and tmux commands. This file tracks the session state, topic, roles, and conversation limits, ensuring continuous inter-process communication across rounds.