К основному содержанию
скилл CX Codex

observe — скилл для Claude Code: что делает и как установить

Управляет сервером Agents Observe, открывает сессии агента в браузере и проверяет логи Docker.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add simple10/agents-observe --skill observe -a claude-code
Открыть на GitHub

Что делает observe

Скилл даёт набор слэш-команд /observe для работы с панелью мониторинга Agents Observe. Через него можно запустить сервер или сразу открыть страницу текущей сессии по ссылке с идентификатором ${CLAUDE_SESSION_ID}.

Все вызовы идут через скрипт scripts/cli.sh, запускающий observe_cli.mjs. Сервер работает в контейнере Docker. Без запущенного демона Docker старт сервера и чтение его логов завершатся ошибкой.

Подкоманда /observe debug по очереди проверяет здоровье сервиса и читает хвосты mcp.log и cli.log. Это помогает быстро выявить сбои вроде ECONNREFUSED или ошибок скачивания образов.

Какие задачи решает

  • открыть текущую сессию в панели Agents Observe
  • проверить статус сервера и расхождение версий
  • прочитать последние строки логов Docker и MCP
  • перезапустить локальный сервер мониторинга

Примеры запросов агенту

  • /observe view
  • /observe status
  • /observe debug

Как установить observe

1Через Skills CLI (Vercel)

npx skills add simple10/agents-observe --skill observe -a claude-code

2Вручную: положить файлы

~/.claude/skills/observe/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/observe/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о observe

Как установить observe в Claude Code?

Выполните команду npx skills add simple10/agents-observe --skill observe -a claude-code.

Что делает скилл observe?

Он управляет сервером Agents Observe и позволяет открывать браузерную панель с деталями текущей сессии агента.

Нужен ли Docker для работы скилла?

Да, серверная часть Agents Observe работает в контейнере, поэтому запуск сервера и просмотр серверных логов требуют активного Docker.

Исходный текст

SKILL.md · MIT
---
name: observe
description: Agents Observe dashboard and server management
argument-hint: [view|stats|status|start|stop|restart|logs-server|logs-cli|logs-mcp|debug]
user_invocable: true
---

# /observe

Agents Observe dashboard and server management.

## Usage

- `/observe view` — Open the current session in the dashboard
- `/observe stats` — Open the current session's stats modal in the dashboard
- `/observe` — Open the dashboard URL
- `/observe status` — Show server health and config details
- `/observe start` — Start the server
- `/observe stop` — Stop the server
- `/observe restart` — Restart the server
- `/observe logs-server` — Show recent Docker container logs
- `/observe logs-cli` — Tail the local cli.log file
- `/observe logs-mcp` — Tail the local mcp.log file
- `/observe debug` — Diagnose server issues (health, docker logs, mcp.log, cli.log)

## Instructions

All commands are invoked via the wrapper at `scripts/cli.sh`, which resolves the path to `observe_cli.mjs` relative to this skill's install location. Do not reach outside the skill dir with `../` paths — the agentskills spec disallows it and it breaks portability across agents.

The subcommand is in `$ARGUMENTS`. If empty, default to showing the dashboard URL.

### /observe view

Opens the current session in the dashboard.

1. Run health to get the dashboard origin:
   ```bash
   scripts/cli.sh health
   ```
2. From the output, take the `Dashboard:` URL (e.g. `http://localhost:4981`). If exit code 1, the server isn't running — tell the user to run `/observe start` and stop here.
3. Construct the session URL: `<dashboard>/#/_/${CLAUDE_SESSION_ID}` (the `_` is the project placeholder; the dashboard resolves the real project from the session id).
4. Open it in the user's default browser using the platform-appropriate command — `open <url>` on macOS, `xdg-open <url>` on Linux, `start <url>` on Windows. Pick based on the `Platform:` line in your environment context.
5. Also print the URL in your response so the user can re-open it if needed.

### /observe stats

Opens the current session's stats modal in the dashboard, using a deep-link URL.

1. Run health to get the dashboard origin:
   ```bash
   scripts/cli.sh health
   ```
2. From the output, take the `Dashboard:` URL (e.g. `http://localhost:4981`). If exit code 1, the server isn't running — tell the user to run `/observe start` and stop here.
3. Construct the deep link: `<dashboard>/#/_/${CLAUDE_SESSION_ID}:session.stats`
4. Open it in the user's default browser using the platform-appropriate command — `open <url>` on macOS, `xdg-open <url>` on Linux, `start <url>` on Windows. Pick based on the `Platform:` line in your environment context.
5. Also print the URL in your response so the user can re-open it if needed.

### /observe (no args)

1. Run:
   ```bash
   scripts/cli.sh health
   ```
2. If exit code 0: show the dashboard URL from the output.
3. If exit code 1: tell the user the server is not running and suggest `/observe start` or `/observe status`.

### /observe status

1. Run:
   ```bash
   scripts/cli.sh health
   ```
2. Show the full output to the user (includes version, runtime, ports, log paths).
3. If the output contains "Version mismatch", tell the user and offer `/observe restart`.
4. If exit code 1, show the output and suggest `/observe start`.

### /observe start

1. Run:
   ```bash
   scripts/cli.sh start
   ```
2. Show the output to the user. If successful, include the dashboard URL.

### /observe stop

1. Run:
   ```bash
   scripts/cli.sh stop
   ```
2. Confirm to the user that the server has been stopped.

### /observe restart

1. Run:
   ```bash
   scripts/cli.sh restart
   ```
2. Show the output to the user. If successful, include the dashboard URL.

### /observe logs-server

1. Run:
   ```bash
   scripts/cli.sh logs-server -n 50
   ```
2. Show the output to the user. Do NOT use `-f` (follow) — it would hang.

### /observe logs-cli

1. Run:
   ```bash
   scripts/cli.sh logs-cli -n 50
   ```
2. Show the output to the user.

### /observe logs-mcp

1. Run:
   ```bash
   scripts/cli.sh logs-mcp -n 50
   ```
2. Show the output to the user.

### /observe debug

Run these checks in sequence. Read each output before running the next — use what you learn to diagnose the issue.

1. **Server health:**
   ```bash
   scripts/cli.sh health
   ```

2. **Docker container logs (last 20 lines):**
   ```bash
   scripts/cli.sh logs-server -n 20
   ```

3. **MCP log (last 20 lines):**
   ```bash
   scripts/cli.sh logs-mcp -n 20
   ```

4. **CLI log (last 20 lines):**
   ```bash
   scripts/cli.sh logs-cli -n 20
   ```

5. **Analyze the results** and tell the user:
   - Is the server running? What version?
   - Are there errors in the docker logs? (look for crash loops, port conflicts, DB errors)
   - Are there errors in mcp.log? (look for startServer failures, image pull errors)
   - Are there errors in cli.log? (look for ECONNREFUSED, hook delivery failures)
   - Suggest specific fixes based on what you find.

© simple10 · MIT · simple10/agents-observe

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой