send-prompt

Send prompts to a Claude Code instance in a specified tmux pane.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to send prompts to a running Claude Code instance in a different tmux pane, enabling seamless interaction and task delegation between panes.

Core Features & Use Cases

  • Cross-Pane Communication: Send instructions to Claude Code running in another terminal session.
  • Delegated Tasks: Ideal for when you need to ask Claude Code to perform a task based on information or context from your current pane.
  • Use Case: You're reviewing code in one pane and want to ask Claude Code to refactor a specific function. You can use this Skill to send the function code and your refactoring request directly to Claude Code in its pane.

Quick Start

Send the prompt 'Please refactor this code snippet' to the tmux pane with ID 60.

Frequently Asked Questions about send-prompt

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

FAQPage Schema
How do I send a prompt to Claude Code running in a different tmux pane?

To send a prompt to Claude Code in a different tmux pane, you can use this Skill to target a specific pane by its ID and transmit instructions directly. It facilitates inter-pane communication for task delegation.

Can I delegate code refactoring tasks to Claude Code from another terminal session?

Yes, you can delegate code refactoring tasks to Claude Code from another terminal session. This Skill sends code snippets and refactoring requests directly to the Claude Code instance in your target tmux pane.

What is the best way to automate inter-pane communication with Claude Code in tmux?

Automating inter-pane communication with Claude Code in tmux is best handled by using this Skill to send targeted prompts. It uses bash and read tools to interact with tmux sessions and manage pane state via JSON.

Do I need bash and read tools to send prompts to a tmux session?

Yes, you need bash and read tools to send prompts to a tmux session. These dependencies are required to interact with tmux sessions and manage the pane state via JSON for accurate prompt delivery.

How does tmux pane state management work when sending automated prompts?

Tmux pane state management works by using JSON to track and target specific panes when sending automated prompts. This ensures instructions are delivered to the correct Claude Code instance within the active tmux session.