---
title: "agent-watch"
url: "https://claudemods.dev/ko/builds/agent-watch-fa50ff"
source: "https://github.com/0xGondarxyz/claude-code-mods/tree/main/agent-watch"
source_type: "github"
repo: "https://github.com/0xGondarxyz/claude-code-mods/tree/main/agent-watch"
author: "0xGondarxyz"
author_handle: "0xGondarxyz"
stars: 0
category: "대시보드 및 HUD"
categories: ["hud"]
tags: ["claude-code", "hooks", "hud", "mod", "statusline", "subagents"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add 0xGondarxyz/claude-code-mods\nclaude plugin install agent-watch"
added: "2026-10-05T15:20:52.328Z"
updated: "2026-10-04T03:31:50Z"
locale: "ko"
content_locale: "ko"
---

# agent-watch

실행 중인 각 subagent에 대해 모델, 작업, 분, 최신 도구 호출을 포함한 한 줄을 프롬프트 위에 표시하는 Claude Code mod입니다.

## Description

subagent가 실행 중이면 프롬프트 위 밴드에 에이전트마다 한 줄을 표시합니다. 예: `Sonnet · Build snap screenshot mod · 6 min · now: Bash claude plugin test`. 각 줄에는 에이전트의 모델 또는 subagent 유형, 15 s마다 갱신되는 분 수, 최신 도구 호출（파일 이름, Bash 명령의 처음 40자, 또는 패턴）이 나타납니다. agent가 끝나면 30 s 동안 녹색 `done`을 표시하고, 실패하거나 중지되면 노란색 `stopped`과 `Agent finished: <description>` toast를 표시합니다. agent가 없으면 아무것도 그리지 않으며 다른 mod의 행은 아래에 남습니다. 시작에는 `agent.spawn` 엔진 데이터를, 진행에는 `agentId`가 있는 `tool.call`을, 종료에는 `agentId`가 있는 `turn.complete`와 15 s 간격의 `$.agent.list()` 폴백을 사용하고 상태는 `agent-watch.agents`에 보관합니다. 백그라운드와 포그라운드 agent의 종료는 구분할 수 없고 teammate는 `agent.spawn`을 전달하지 않으므로 표시되지 않습니다. 개발 명령은 `claude plugin validate .`, `claude plugin test .`, `npx tsc -p .`입니다。

## Install

```
claude plugin marketplace add 0xGondarxyz/claude-code-mods
claude plugin install agent-watch
```

## Original README

# agent-watch

A Claude Code mod. While subagents run, the band above the prompt shows one line per agent:

```
Sonnet · Build snap screenshot mod · 6 min · now: Bash claude plugin test
```

- Label: the agent's model (Sonnet, Opus, Haiku, Fable), else its subagent type.
- Minutes update every 15 s.
- `now:` is the agent's latest tool call (file name, first 40 characters of a Bash command, or pattern), cut to the band width.
- When an agent ends, its line shows `done` (green) for 30 s, or `stopped` (yellow) if it failed or was stopped, with one toast `Agent finished: <description>`.
- With no agents the mod draws nothing. Other mods' rows stay below ours.

## Engine data used

- Start: `agent.spawn`. `next(e)` answers `{ model, agentId }`; the input holds `description` and `subagentType`.
- Progress: `tool.call` with `agentId` (set only inside a subagent loop). Hooks always pass through.
- Finish: `turn.complete` with `agentId` (`reason` `answer` is done, anything else stopped), and every 15 s `$.agent.list()` status (`completed`, `failed`, `killed`) as a fallback.
- State: `agent-watch.agents` in `$.state`, so a hot reload keeps the rows.

## Limits

- The engine does not tell a background agent's end apart from a foreground one; both end through `turn.complete` or `$.agent.list()`.
- Teammates (`type: teammate`) never pass `agent.spawn`, so they are not shown.

## Develop

```fish
claude plugin validate .
claude plugin test .
npx tsc -p .
```
