Show repository/project name in the agent (background jobs) view

Open 💬 1 comment Opened Jul 13, 2026 by virandersirohi

What

Add a repository / project (or working-directory) label to each row in the agent view (the background jobs list shown by claude agents, with the "Needs input" / "Completed" sections).

Why

When running many background jobs across multiple repositories, the list is global by default and every row shows only: session name, status summary, and age. There is no way to tell which repo a job belongs to from the row itself. With dozens of jobs (e.g. I currently have 88 completed + several awaiting input), it's hard to pick the right one because the session names alone don't disambiguate which project they came from.

Current workarounds (and why they fall short)

  • Ctrl+S groups by directory — helps, but I'd still like the repo visible inline while in the default state-based grouping.
  • claude agents --cwd <path> scopes to one repo — useful, but I often want the global view and just need to see which repo each row is.
  • Renaming sessions with a [repo] prefix via Ctrl+R — manual and easy to forget.

Proposed

  • Add a compact repo/project column (or a colored tag) to each agent-view row, showing the basename of the job's cwd (or git repo name).
  • Ideally make it toggleable and truncated to keep the layout tight on narrow terminals.

Environment

  • Claude Code v2.1.207
  • Windows 11

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗