# CODE-1908 TUI default profile uses AgentDecides

CODE-1908 TUI default profile uses AgentDecides is a Claude Code subagent that configures execution permissions in Warp's headless TUI. It applies the AgentDecides policy when no profiles are set.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/code-1908-tui-default-profile-uses-agentdecides

## What it does

The subagent implements a targeted specification for the Warp client repository. When launching in TUI mode without pre-existing execution profiles, it switches the default shell command permission to `AgentDecides`.

The shared default constructor remains untouched, so desktop GUI runs continue enforcing `AlwaysAsk`. Custom user profiles, command allowlists, and denylists remain intact, with denylist entries taking precedence over automated runs.

Executing verification tests requires write permissions to Cargo's git dependency cache, preventing filesystem permission failures during compilation.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/CODE-1908-TUI-default-profile-uses-AgentDecides.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/CODE-1908-TUI-default-profile-uses-AgentDecides.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/CODE-1908-TUI-default-profile-uses-AgentDecides.md` — Cursor also reads .claude/agents/

## When to use it
- set default shell execution to automated mode in Warp headless TUI
- isolate headless terminal defaults from the graphical interface
- preserve command denylist enforcement during automated runs
- keep custom user profile configurations untouched

## Example prompts
- Apply the headless terminal execution profile specification
- Add unit tests verifying command permission isolation between TUI and GUI

## Similar
- [ratatui-tui](https://affpapa.org/en/nevibecode/skills/ratatui-tui.md) — skill · 959 installs
- [tui-fundamentals](https://affpapa.org/en/nevibecode/skills/tui-fundamentals.md) — skill · 369 installs
- [create-agent-tui](https://affpapa.org/en/nevibecode/skills/create-agent-tui.md) — skill · 358 installs
- [tui-design-skill](https://affpapa.org/en/nevibecode/skills/tui-design-skill.md) — skill · 215 installs
- [codex-debugging](https://affpapa.org/en/nevibecode/skills/codex-debugging.md) — skill · 108 installs
- [tui-design](https://affpapa.org/en/nevibecode/skills/tui-design.md) — skill · 1400 installs

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
