惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
博客园_首页
H
Help Net Security
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
GbyAI
GbyAI
Scott Helme
Scott Helme
D
Docker
Hacker News: Ask HN
Hacker News: Ask HN
P
Privacy & Cybersecurity Law Blog
Jina AI
Jina AI
雷峰网
雷峰网
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
G
GRAHAM CLULEY
C
Cisco Blogs
The Hacker News
The Hacker News
F
Full Disclosure
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
Recent Announcements
Recent Announcements
G
Google Developers Blog
量子位
K
Kaspersky official blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
A
About on SuperTechFans
C
Cybersecurity and Infrastructure Security Agency CISA
Last Week in AI
Last Week in AI
博客园 - 三生石上(FineUI控件)
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
T
Tenable Blog
P
Palo Alto Networks Blog
H
Heimdal Security Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
Schneier on Security
Schneier on Security
The Register - Security
The Register - Security
F
Fortinet All Blogs
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
The Blog of Author Tim Ferriss
N
News and Events Feed by Topic
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
V
V2EX
爱范儿
爱范儿

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
unitmux: A Floating Desktop App for Claude Code and Codex in tmux
Ugo · 2026-05-09 · via DEV Community

Introduction

If you're running Claude Code or Codex in tmux, you've probably experienced this:

You want to give instructions while reading code in your editor, but every time you have to Cmd+Tab back to the terminal.

The AI asks "1. Yes / 2. No" and you have to switch back to the terminal just to type 1.

When running multiple Claude or Codex sessions in parallel, it's hard to keep track of which pane is in what state.

These small context switches add up and repeatedly break your flow of thought. It's surprisingly stressful.

To solve this, I built a desktop app called unitmux.

What is unitmux?

A desktop app that lets you send instructions directly to Claude Code or Codex running in tmux, from a floating window.

unitmux session overview

It stays always-on-top, auto-detects tmux panes, and eliminates the need to switch focus to the terminal. You can give instructions to your AI without interrupting your editor workflow.

It also detects panes running the ai wrapper command in addition to claude and codex.

Install with one line:

brew install --cask yugo-ibuki/tap/unitmux

Enter fullscreen mode Exit fullscreen mode

Features

One-Click Responses to Choices

When Claude Code or Codex presents numbered choices, unitmux automatically displays clickable buttons.

choice buttons

You can also respond instantly via keyboard with Ctrl+1-Ctrl+9, so you don't even need to reach for the mouse.

That minor annoyance of switching to the terminal just to type a single character is gone.

Update: Choice detection now supports multiple patterns beyond simple numbered lists: marker-prefixed choices (, , >, ), colon-separated inline options such as 1: staging 2: production 3: dev, and multi-line labels such as permission prompts with full command text.

It also intelligently filters out session rating feedback such as "How is Claude doing?" and CLI footers to avoid showing false positives.

Codex support has also been improved. unitmux can detect Codex-style letter choices and uses separate heuristics for Codex prompts, including English and Japanese choice context.

Global Shortcut: Access from Anywhere

Press Cmd+Shift+H to bring focus back to unitmux from any app.

Focus lands directly on the text area, so you can start typing right away and send with Cmd+Enter.

Reading docs in Chrome while instructing the AI now takes just a few seconds, practically seamless.

Update: The focus shortcut is now fully customizable from the Sidebar settings. It also auto-expands compact mode when triggered from another app, so you're immediately ready to type.

Session Status at a Glance

Panes are listed as tabs, with a colored dot indicating status:

  • Green: Accepting input
  • Orange: Processing
  • Gray: Waiting for response / choices available

session status and badges

Each pane also shows a small badge for the tool:

  • CC: Claude Code
  • CX: Codex

When running multiple Claude or Codex sessions in parallel, you no longer have to wonder "how far along is that pane?"

Switch between panes with Cmd+↑ / Cmd+↓ or Ctrl+H / Ctrl+L.

Update: Panes are now grouped by tmux session in the header, making it easier to navigate when you have many panes across different sessions. Cross-session navigation is also available via Ctrl+Cmd+H / Ctrl+Cmd+L.

Status detection has been refined. For Claude Code, unitmux reads the pane title for idle markers and spinner characters, and parses recent pane output for waiting prompts and choices. Codex status detection uses its own heuristics, such as Working, Thinking, Executing, and enter to send.

unitmux also detects panes running the ai wrapper command in addition to claude and codex.

Git Operations in a Popup

Ctrl+G opens a Git operations popup.

It only covers simple operations, but when you want to commit frequently during the early stages of personal development, being able to do it seamlessly is a real advantage.

git operations popup

You can:

  • Stage all changes
  • Select individual files with Space
  • Stage selected files with Enter
  • Type a commit message and press Enter
  • Push with Ctrl+P

The popup supports vim-style navigation with j / k.

Being able to commit right when the AI finishes a chunk of work, without going back to the terminal, is quietly satisfying.

Update: The Git popup now displays the current branch name in its header and shows detailed Git status: modified files, untracked files, deleted files, and so on. It also auto-refreshes pane detail after each operation and shows success/error feedback that auto-dismisses after 2 seconds.

Git Diff Viewer

Ctrl+F opens a Git diff viewer.

git diff viewer

This is separate from the Git operations popup. The Git popup is for staging, committing, and pushing. The diff viewer is for quickly checking what changed.

It supports:

  • Unstaged / staged diff switching
  • File sidebar
  • Directory folding
  • Collapsible file sections
  • Hunk navigation
  • Vim-style scrolling

Useful keys:

  • j / k: scroll
  • d / u: half-page scroll
  • g / G: top / bottom
  • ]c / [c: next / previous hunk
  • s: toggle staged / unstaged
  • q: close

This makes it easier to review AI-generated changes without switching back to the terminal to run git diff.

Semi-Transparent Window to Overlay on Your Editor

You can adjust the window opacity between 50% and 100% with a slider.

Combined with Always on Top, you can see through to your editor's code while giving instructions to the AI.

You can keep an eye on Claude or Codex activity while reading code.

Pair this with Cmd+Shift+H and you can shift focus to the app, write a prompt or pick a choice, all without touching the mouse.

View Current Session Content

Ctrl+P lets you check the session conversation without looking at the terminal.

When you just want to see what question was asked or glance at the last answer, this lets you quickly check and move on to the next prompt.

When the agent runs, it produces a lot of log output, but usually what you actually want to see is the final conclusion. Being able to quickly check just the part you care about and move right into the next prompt is the real benefit.

live preview overlay

Update: The preview overlay now has two modes.

The first press of Ctrl+P shows a static snapshot. Pressing Ctrl+P again while the overlay is open switches to live streaming mode, which polls pane content every 500ms and shows a LIVE badge.

Vim-style navigation is available inside the preview:

  • j / k: line scroll
  • d / u: half-page scroll
  • g / G: top / bottom

When available, unitmux also supplements tmux pane output with Claude's JSONL conversation history under ~/.claude, so older conversation context is easier to inspect.

Image Attachment

Images can be attached from the + button or by dragging and dropping them onto the window.

image attachment

Thumbnails are displayed in unitmux, and the image paths are sent to the AI CLI using bracketed paste so the CLI can detect them as image inputs.

This is useful when you want to ask about screenshots, UI states, diagrams, or local image files without manually typing paths into the terminal.

Compact Mode

Ctrl+W shrinks the window to a minimal bar of about 70px height.

compact mode

This is useful when you want unitmux to stay visible without taking up screen space.

Expanding back restores the previous window size and position. The shortcut key is customizable.

Session Detail Overlay

Ctrl+D shows detailed information about the selected pane:

session detail overlay

  • Model name
  • Session ID
  • Git branch
  • Git status
  • Working directory
  • Pane dimensions
  • Start command
  • PID / tty

It also includes a close button with a confirmation dialog to terminate the pane.

Create New Session

unitmux can create new Claude or Codex sessions from the UI.

create new session dialog

There are two workflows:

  • Ctrl+N: quickly add a Claude session to the current tmux session
  • Ctrl+Shift+N: open a dialog to create a new tmux session or add a Claude/Codex window to an existing session

In the dialog, you can select the target tmux session and choose between claude and codex.

Shell Mode

Ctrl+B toggles shell mode.

shell mode

In shell mode, unitmux sends input to a dedicated unitmux-shell tmux window instead of the selected AI pane.

The shell pane is created on demand and uses your default shell. If it is manually closed, unitmux recreates it on the next send or preview.

Preview and live streaming also work for shell output.

This is handy when you want to run quick commands near your AI sessions without switching back to the terminal.

Sidebar Settings Panel

A dedicated settings panel is accessible from the header, offering:

sidebar settings and slash commands

  • Always on Top toggle
  • Opacity slider
  • Theme switch: dark / light
  • Send key config: Enter or Cmd+Enter
  • Vim mode toggle
  • Font size control
  • Customizable shortcut keys for compact, preview, detail, Git, diff, and focus
  • Choice modifier: Ctrl or Cmd
  • Slash command manager

Slash Commands & Skills Integration

Type / in the input area to filter and select from registered commands.

slash commands and skills

User-defined slash commands can be managed in the Sidebar. You can create, edit, and delete reusable commands such as /fix, /review, or /test.

In addition, unitmux auto-discovers skill commands from:

  • ~/.claude/skills/
  • .claude/skills/ in the selected project

It parses SKILL.md files for names and descriptions and shows them as read-only slash command candidates.

Input History

The last 10 unique inputs are stored.

Navigate with / in the textarea.

Your current draft is preserved when navigating up and restored when you come back down.

Vim Mode

When enabled, unitmux sends Escape followed by i before your text to enter insert mode.

This is useful if you've accidentally left the pane in normal mode while using Claude CLI's vim editor mode.

This is skipped when responding to choices, since single digit choices work directly.

Help Overlay

Ctrl+, opens a quick reference for keyboard shortcuts, organized by category.

help overlay

It supports the same vim-style scrolling as other overlays.

Installation & First Launch

brew install --cask yugo-ibuki/tap/unitmux

Enter fullscreen mode Exit fullscreen mode

If you'd rather install from DMG, grab it from Releases.

If you see a Gatekeeper warning on first launch, go to:

System Settings → Privacy & Security → Open Anyway

Closing Thoughts

I built this for people who use AI coding assistants in tmux and wanted to simplify the world of "too many terminal windows."

The guiding principle was "simple, then simpler."

No unnecessary mouse operations. Everything is designed to work with Vim-like keybindings so it feels natural to operate.

Rather than trying to replace tmux or become a full terminal manager, unitmux focuses on making prompt input and agent monitoring as low-effort as possible.

tmux is still the base. unitmux just strips away the context switches around it.

Feedback and PRs are very welcome.

👉 https://github.com/yugo-ibuki/unitmux

A star would be really motivating!

Notes

Mac is the primary supported platform.

Linux builds exist, but Linux support has not been verified thoroughly, so please keep that in mind.

Also, since I primarily use Claude Code, there may still be gaps in Codex support.