# 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.

- 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/app-4880-tui-view-logs-slash-command

## What it does

This agent implements the `/view-logs` slash command for Warp TUI mode. It packages logs into a timestamped zip archive using `warp_logging::create_log_bundle_zip()` and displays the full filesystem path in the terminal. The command is scoped strictly to `SettingsMode::Tui` so the graphical interface remains untouched.

A platform helper reveals the target file on macOS, Windows, and Linux. When running over SSH, detected via `SSH_CONNECTION` or `SSH_TTY` environment variables, the file manager spawn is bypassed entirely to avoid headless errors.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/APP-4880---TUI-view-logs-slash-command.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/APP-4880---TUI-view-logs-slash-command.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/APP-4880---TUI-view-logs-slash-command.md` — Cursor also reads .claude/agents/

## When to use it
- bundle TUI logs into a timestamped zip archive
- reveal the exported log archive in the desktop file manager
- return the absolute zip path when connected through SSH

## Example prompts
- Implement the `/view-logs` command for Warp TUI following APP-4880
- Add an SSH environment check before attempting to open the log bundle
- Register `TuiSlashCommand::ViewLogs` in the slash command handler

## Similar
- [ratatui-tui](https://affpapa.org/en/nevibecode/skills/ratatui-tui.md) — skill · 959 installs
- [tui-design-skill](https://affpapa.org/en/nevibecode/skills/tui-design-skill.md) — skill · 215 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
- [dd-logs](https://affpapa.org/en/nevibecode/skills/dd-logs.md) — skill · 2300 installs
- [textual-tui-skill](https://affpapa.org/en/nevibecode/skills/textual-tui-skill.md) — skill · 268 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
