All articles
Tonis Tiganik--5 min read

Claude Code Auto-Yes: Auto-Approve Permission Prompts Per-Pane (Toggle from Your Phone)

Stop babysitting Claude Code permission prompts. ClawTab's auto-yes accepts them automatically per-pane — safer than --dangerously-skip-permissions, works with any plan, and can be toggled on or off from your phone in one tap.

TLDR

Install the ClawTab desktop app. It listens for Claude Code instances in tmux and sends keystrokes to automatically accept permission prompts. Enable auto-yes per-pane from your phone or the desktop app, disable it any time.

ClawTab desktop app showing auto-yes mode active with the Yes all button
The ClawTab desktop app auto-accepting permission prompts via tmux keystrokes

The Problem: Permission Prompts Stall Your Agents

Claude Code asks for permission before taking certain actions - writing files, running commands, installing packages. These are sensible guardrails. But when you're running a large refactoring job or a batch of agents across multiple panes, each permission prompt stalls the agent until you manually approve it.

If you're at your desk, it's a minor interruption. If you stepped away, it means you come back to an agent that's been sitting idle for 20 minutes waiting for you to press "1" for Yes.

Claude Code has a built-in --dangerously-skip-permissions flag that disables all permission checks entirely. There's also the newer auto mode with an AI safety classifier. But both are session-scoped and can't be toggled remotely. Other tools like VS Code with GitHub Copilot or Cursor handle this differently - they either auto-accept everything in agent mode or require you to sit at your desk clicking approve. Neither gives you selective remote control.

Auto-yes mode takes a different approach. It watches for permission prompts and automatically accepts them per-pane, so your agents keep making progress even when you're not watching - while other panes still require manual approval.

How It Works

When you enable auto-yes for a Claude Code pane, ClawTab's desktop app starts polling the terminal output at double the normal rate (every 500ms instead of every 2 seconds). When it detects a numbered permission prompt, it does two things:

  1. Looks for the best "yes" option - it prefers "Yes, during this session" over a plain "Yes", keeping the scope of the permission as narrow as possible
  2. Sends the option number as a keystroke directly to the tmux pane, just as if you typed it yourself

The detection uses the same question-parsing logic that powers the remote notification cards. It reads the terminal buffer, identifies numbered options, matches against known "yes" patterns, and sends the keystroke. No special API or Claude Code plugin required - it works by reading and typing into the terminal like a human would.

This is fundamentally different from how other AI coding tools handle permissions. JetBrains Junie and Windsurf run agents inside their IDE sandbox, which limits what the agent can do. Claude Code runs directly in your terminal with full system access, which means permission prompts actually matter. ClawTab's auto-yes gives you a way to selectively bypass them without disabling the safety system entirely.

Each answered question is tracked with a stable hash so the same prompt is never answered twice. Once a question disappears from the terminal output (meaning Claude accepted the answer and moved on), ClawTab clears its tracking state and is ready for the next one.

Enabling Auto-Yes From Your Phone

The most common way to enable auto-yes is from the mobile app. When a Claude Code agent asks a question and you get the notification card, you'll see option buttons at the bottom of the screen - the detected choices from the terminal prompt, plus a red "Yes all" button on the right.

Tapping "Yes all" does two things immediately:

  • Answers the current question with "Yes"
  • Enables auto-yes for that pane going forward

A confirmation dialog explains what's about to happen: all future permission prompts for that pane will be automatically accepted until you disable it.

Once enabled, you'll see a banner at the top of the jobs list showing which panes have auto-yes active, along with a "Disable" button for each one. The banner persists across app restarts and reconnections - the relay server caches the auto-yes state and replays it when your phone reconnects.

This remote-first workflow is what sets ClawTab apart from tools like Claude Code's native terminal experience or IDE-based agents like GitHub Copilot in VS Code. You don't need to be at your desk or have your IDE open. You can approve everything from your phone while walking the dog.

ClawTab mobile showing the Yes all button on a Claude Code question
The 'Yes all' button appears alongside the detected options when Claude asks a permission question

The Auto-Yes Banner

When auto-yes is active, a prominent banner appears at the top of the jobs list - both on mobile and on the desktop app. The banner shows the pane path (like "~/workspace") and a "Disable" button.

This serves as a persistent reminder that auto-approval is active. You won't forget it's running because it's always visible at the top of the screen.

Tapping "Disable" turns auto-yes off immediately. The next permission prompt will wait for your manual approval as usual.

ClawTab jobs list showing the auto-yes banner at the top
The auto-yes banner at the top of the jobs list shows which panes are in auto-accept mode

Cross-Device Sync

Auto-yes state syncs between your desktop and all connected mobile devices through the relay server. Enable it from your phone, and the desktop starts auto-accepting within the next polling cycle. Disable it from the desktop UI, and the banner disappears on your phone.

The relay caches the current auto-yes state per user. When a mobile device reconnects (after a network drop, app restart, or switching devices), the relay replays the cached state so the UI stays accurate without needing to wait for the desktop to re-broadcast.

This also works with workspace sharing. If a colleague has shared access to your workspace, they can see which panes have auto-yes enabled and can disable it if needed.

Push Notification Suppression

When auto-yes is active for a pane, ClawTab suppresses push notifications for questions from that pane. There's no point buzzing your phone about a prompt that's going to be auto-accepted in half a second.

You still get push notifications for other events - job completion, failures, and questions from panes that don't have auto-yes enabled. Only the permission-prompt notifications are filtered out.

How ClawTab Compares to Other Approaches

There are several ways developers deal with AI agent permission prompts today:

  • Claude Code --dangerously-skip-permissions - disables all permission checks globally. Fast but removes all guardrails. You can't selectively approve one task while blocking another.
  • Claude Code auto mode (new, March 2026) - uses a safety classifier to auto-approve actions that match your task scope. Requires Team plan, Sonnet 4.6 or Opus 4.6, and is session-scoped. No remote control or per-pane granularity.
  • Cursor agent mode - auto-accepts most actions within the IDE, but you must be at your desk to monitor. No remote approval, no per-task granularity.
  • GitHub Copilot in VS Code - requires clicking "Accept" in the IDE for each tool call. No remote access, no batch approval.
  • Cline / Aide - VS Code extensions that also require in-IDE approval. Some support "auto-approve" settings in config, but it's all-or-nothing per session.
  • Devin - runs in a sandboxed cloud environment, sidestepping the permission problem entirely. But you give up local development and direct terminal access.

ClawTab's auto-yes is unique because it's per-pane, remotely controllable, and works with the existing Claude Code permission system rather than replacing it. You keep the safety prompts where you want them and auto-accept where you don't.

ClawTab Auto-Yes vs Claude Code Auto Mode

Anthropic launched Claude Code auto mode on March 24, 2026. Auto mode uses a safety classifier that reviews each action before execution and blocks anything that looks like it exceeds your task scope. It's a significant step forward for unattended Claude Code sessions.

However, auto mode and ClawTab auto-yes solve the same problem from different angles. Here's how they compare:

FeatureClaude Code Auto ModeClawTab Auto-Yes
Approval methodAI safety classifier pre-screens actionsAccepts all yes/no prompts, prefers session-scoped
GranularityPer-session (all or nothing)Per-pane (different policy per agent)
Remote controlNo (terminal only)Yes (phone, web, Telegram)
Toggle without restartingShift+Tab to cycle modesOne tap from any device
Plan requirementTeam plan (Enterprise coming)Free (open source)
Model requirementSonnet 4.6 or Opus 4.6 onlyAny Claude Code version
Works with cron/scheduled jobsNo (requires active session)Yes (integrated with ClawTab scheduler)
Multi-agent swarmsPer-session onlyIndependent per-pane across all agents

Auto mode is ideal when you're working interactively in a single Claude Code session and want the AI to handle routine approvals without losing safety. ClawTab auto-yes is designed for background automation: scheduled jobs, agent swarms, overnight runs, and remote control from your phone.

You can use both together. Run Claude Code in auto mode for its safety classifier benefits, and use ClawTab on top for remote monitoring, push notifications, and the ability to toggle auto-yes on individual agents from your phone when the classifier blocks something you want to allow.

Safety Properties

Auto-yes is designed with a few deliberate constraints:

  • Per-pane scope - auto-yes is enabled per tmux pane, not globally. You can auto-approve one agent while keeping manual approval on another.
  • Session-scoped permissions preferred - when both "Yes" and "Yes, during this session" are available, ClawTab picks the session-scoped option. This limits the permission grant to the current Claude Code session rather than permanently.
  • Only accepts yes/no prompts - auto-yes looks for options that start with "Yes". It won't auto-answer freeform questions, multiple-choice selections, or anything that doesn't match a known yes pattern.
  • Explicit opt-in - you must tap the button and confirm the dialog. It never enables itself.
  • Visible state - the banner is always visible when auto-yes is active, on both mobile and desktop.
  • Instant disable - one tap to turn it off, effective immediately.

Auto-yes is a power-user feature. It trades manual approval for uninterrupted agent progress. Use it when you trust the task - a well-scoped refactoring job, a migration you've tested, a code review pass. Disable it when precision matters.

When to Use Auto-Yes

Batch migrations. You're running agents across 15 repositories to update an import path. Each agent will ask to write files dozens of times. Enable auto-yes and let them run.

Overnight jobs. You kick off a big refactoring agent before bed. Enable auto-yes so it doesn't stall at 2am waiting for you to approve a file write.

Multi-agent swarms. You have 6 agents running in parallel across tmux panes. Manually approving prompts across all of them is a full-time job. Enable auto-yes on the ones doing well-defined work, keep manual approval on the exploratory ones.

CI-like workflows. You're using cron jobs to run recurring agents. Auto-yes lets them complete end-to-end without human intervention.

Toggling Auto-Yes From tmux

If you live in the terminal, the ClawTab tmux plugin gives you a keybinding to toggle auto-yes without reaching for the GUI or your phone.

Press prefix + y to toggle auto-yes on the current Claude Code pane. The pane border shows the state: [Y] in green when enabled, [y] in dim gray when disabled.

You can also toggle it from the popup menu (prefix + E, Shortcuts tab), which shows the current ON/OFF status next to the option.

Setup takes one line in your .tmux.conf:

run-shell /path/to/tmux-clawtab/clawtab.tmux

See the tmux integration guide for the full feature set including session forking, secret injection, and skill search.

Frequently Asked Questions

Auto-yes mode automatically accepts Claude Code permission prompts for a specific tmux pane. When enabled, ClawTab detects numbered yes/no prompts in the terminal and sends the 'Yes' keystroke automatically, so your agent keeps working without waiting for manual approval. It's the safest way to auto-approve Claude Code prompts because it works per-pane rather than globally.

Open the ClawTab mobile app or remote.clawtab.cc. When a Claude Code agent asks a question, tap the red 'Yes all' button that appears alongside the option buttons. This answers the current question and enables auto-yes for all future prompts in that pane. You can also enable it from the desktop app's Jobs tab.

Auto-yes includes several safety constraints: it's scoped per-pane (not global), it prefers session-scoped permissions over permanent ones, it only accepts prompts that match 'Yes' patterns (not freeform questions), and it requires explicit opt-in with a confirmation dialog. A visible banner reminds you when it's active, and you can disable it instantly with one tap.

Tap the 'Disable' button on the auto-yes banner that appears at the top of the jobs list. This works from both the mobile app and the desktop app. The disable takes effect immediately - the next permission prompt will wait for your manual approval.

Yes. Auto-yes state syncs between your desktop and all connected mobile devices through the relay server. Enable it from your phone and the desktop starts auto-accepting. Disable it from the desktop and the mobile banner disappears. The state persists across reconnections.

Yes. ClawTab's auto-yes feature lets you tap 'Yes all' on any permission prompt notification from your phone. This immediately approves the current prompt and all future permission prompts for that agent session. You can disable it at any time from the auto-yes banner in the jobs list.

Yes. When auto-yes is active for a pane, ClawTab stops sending push notifications for permission prompts from that pane. You still receive notifications for job completions, failures, and questions from other panes that don't have auto-yes enabled.

Claude Code's --dangerously-skip-permissions flag disables all permission checks globally for the entire session. ClawTab's auto-yes is more granular: it works per-pane (so different agents can have different policies), it prefers session-scoped permissions over permanent ones, it can be enabled and disabled remotely from your phone, and it only auto-accepts prompts that match 'Yes' patterns rather than suppressing all safety checks.

Claude Code auto mode (launched March 2026) uses an AI safety classifier to pre-screen actions before execution. It works per-session and requires a Team plan with Sonnet 4.6 or Opus 4.6. ClawTab auto-yes works per-pane across any Claude Code version, can be toggled remotely from your phone, and integrates with cron scheduling for background automation. Auto mode is best for interactive sessions; ClawTab auto-yes is best for scheduled jobs, agent swarms, and remote control.

Claude Code auto mode is Anthropic's built-in permission system (March 2026) that uses a safety classifier to automatically approve routine actions while blocking risky ones. It requires a Team plan and specific model versions. For per-pane control, remote toggling, and integration with scheduled background agents, ClawTab's auto-yes provides complementary functionality that works with any Claude Code version and plan.

Related Articles

Claude Code Auto Mode vs Auto-Yes: Which Permission System Should You Use?
-8 min read

Claude Code Auto Mode vs Auto-Yes: Which Permission System Should You Use?

Claude Code auto mode (Team plan, AI safety classifier) vs ClawTab auto-yes (free, per-pane, phone-controlled). Both let AI agents run unattended — but they work differently. Here's when to use each and how to combine them.

auto-modeauto-yespermissionsautomationclaude-codecomparison
Claude Code on Your Phone: Remote Control AI Agents From iOS, Android, or Browser
-6 min read

Claude Code on Your Phone: Remote Control AI Agents From iOS, Android, or Browser

Run Claude Code on your Mac and answer agent questions from your phone. Live log streaming, push notifications, permission prompt detection, and multi-viewer support - works with iOS, Android, and any browser via ClawTab Remote. A practical alternative to Claude Code's built-in Remote Control.

remotemobileagents
Claude Code Multi-Agent Swarm in tmux: Run 10+ Parallel Agents With ClawTab
-6 min read

Claude Code Multi-Agent Swarm in tmux: Run 10+ Parallel Agents With ClawTab

Run 10+ Claude Code agents in parallel tmux panes - each with its own prompt, auto-yes policy, secrets, and remote phone monitoring. How ClawTab multi-agent orchestration compares to Claude Code Agent Teams for background automation and scheduled swarms.

agentstmuxparallel
Claude Code Cron Jobs: Schedule Persistent AI Agents That Survive Reboots
-7 min read

Claude Code Cron Jobs: Schedule Persistent AI Agents That Survive Reboots

Set up Claude Code agents on a cron schedule that keeps running even after a reboot. ClawTab injects Keychain secrets, auto-approves permission prompts, and pushes alerts to your phone — compare with Claude Code /schedule and /loop.

cronautomationscheduling