Skip to main content
subagent CX Codex

APP-4913-tui-input-prompt-prefix — Claude Code Subagent

APP-4913-tui-input-prompt-prefix is a Claude Code subagent that adds a prompt gutter to the harp TUI input line. It renders distinct indicator glyphs for agent prompts and shell commands.

AGPL-3.0 ★ 720 updated 2026-11-10

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/APP-4913-tui-input-prompt-prefix.md
Open on GitHub

What APP-4913-tui-input-prompt-prefix does

The subagent defines the rendering workflow for TuiInputView inside the harp terminal UI. It inserts a two-cell gutter ahead of TuiEditorElement, displaying a cyan > for agent instructions and a pale-green ! during shell sessions. Because the prompt resides outside the editor buffer, text selection offsets and submission payloads remain unaffected.

The gutter occupies one symbol cell plus one right padding cell. Clicking the gutter triggers SetCursor { offset: 1 } without starting a mouse drag. Changes are contained within crates/warp_tui/src/input/view.rs and its matching test file crates/warp_tui/src/input/view_tests.rs.

Validation depends on Rust and cargo-nextest. Verification runs via cargo nextest run -p warp_tui --lib input and live interactive checks using ./script/run-tui.

What it helps with

  • prepend a visual prompt prefix to the harp TUI input bar
  • distinguish agent queries from shell commands visually
  • isolate prompt symbols from the active editor text buffer
  • map gutter mouse clicks directly to the start of input

Example prompts for the agent

  • Implement the TUI input prefix described in APP-4913
  • Verify prompt gutter rendering in crates/warp_tui/src/input/view.rs
  • Run warp_tui input tests for agent mode rendering

How to install APP-4913-tui-input-prompt-prefix

Manually: put the files in place

.claude/agents/APP-4913-tui-input-prompt-prefix.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about APP-4913-tui-input-prompt-prefix

How to install APP-4913-tui-input-prompt-prefix in Claude Code?

Place the subagent configuration file at .claude/agents/APP-4913-tui-input-prompt-prefix.md in your project.

What does APP-4913-tui-input-prompt-prefix do?

It adds a two-column gutter displaying > or ! in front of the harp terminal input bar without modifying buffer text.

What tools are needed to validate APP-4913-tui-input-prompt-prefix?

Validation requires Rust with cargo-nextest to run warp_tui unit tests alongside the ./script/run-tui script.

Similar subagents

All subagents for Frontend and UI →

From the same set62

The whole set →
APP-4903 improve TUI tab bar keybindings APP-4903 improve TUI tab bar keybindings is a Claude Code subagent for orchestration TUI focus. It changes Down and Escape behavior and checks the related regressions. CX Codex ★ 720repo stars CODE-1890-status-line-v2 CODE-1890-status-line-v2 is a Claude Code subagent that refactors the TUI footer in crates/warp_tui. Converts the split metadata view into a unified left-aligned status line. CX Codex ★ 720repo stars APP-4882 - fix misleading oversized-file read error APP-4882 - fix misleading oversized-file read error is a Claude Code subagent that gives large-file read failures the right reason. It applies to read_files, get_files, and search_codebase. CX Codex ★ 720repo stars 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. CX Codex ★ 720repo stars APP-4901-add-fast-forward-slash-command APP-4901-add-fast-forward-slash-command is a Claude Code subagent that adds /auto-approve to Warp's TUI and toggles approval for one conversation. CX Codex ★ 720repo stars APP-4907 - TUI input focus during agent drafting APP-4907 is a Claude Code subagent that keeps TUI input active while an agent prepares a tool call, then hands focus to an approval card when blocking begins. CX Codex ★ 720repo stars CODE-1902 change TUI log storage CODE-1902 change TUI log storage is a Claude Code subagent that moves TUI logs into a frontend-specific directory while keeping GUI channel filenames. It also fixes /view-logs collection. CX Codex ★ 720repo stars APP-4880 - TUI view-logs slash command APP-4880 - TUI view-logs slash command is a Claude Code subagent that adds a /view-logs TUI command to pack logs into a zip. It prints the absolute path and opens the OS file manager. CX Codex ★ 720repo stars

Project sponsors

Companies that keep this analytics open