home / skills / chachamaru127 / claude-code-harness / harness-ui

harness-ui skill

/skills/harness-ui

This skill opens and manages the Harness UI dashboard to monitor sessions, tasks, and project status in real time.

npx playbooks add skill chachamaru127/claude-code-harness --skill harness-ui

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
3.6 KB
---
name: harness-ui
description: "Harnessダッシュボードを表示。現状を一目で把握できる司令塔。Use when user mentions '/harness-ui', dashboard, monitoring, or UI display. Do NOT load for: app UI implementation, dashboard component creation, admin panel features."
description-en: "Display Harness dashboard. Command center for status at a glance. Use when user mentions '/harness-ui', dashboard, monitoring, or UI display. Do NOT load for: app UI implementation, dashboard component creation, admin panel features."
description-ja: "Harnessダッシュボードを表示。現状を一目で把握できる司令塔。Use when user mentions '/harness-ui', dashboard, monitoring, or UI display. Do NOT load for: app UI implementation, dashboard component creation, admin panel features."
allowed-tools: ["Read", "Write", "Edit", "Bash", "WebFetch"]
argument-hint: "[LICENSE_KEY] [--force]"
user-invocable: false
---

# Harness UI Skill

Displays the Harness UI dashboard for monitoring sessions, tasks, and project status.

## Quick Reference

- "**UIを開きたい**" → `/harness-ui`
- "**ダッシュボードを見たい**" → `/harness-ui`
- "**ライセンスキーを設定**" → `/harness-ui YOUR-KEY`

## Usage

```bash
/harness-ui              # Open dashboard (auto-setup if needed)
/harness-ui YOUR-KEY     # Set license key and open
/harness-ui --force      # Force re-setup
```

## Accessibility Settings (CC 2.1.38+)

視覚的な快適性のための設定です。

### Reduced Motion 設定

Claude Code の設定ファイルでアニメーションを最小化できます:

```jsonc
// settings.json
{
  "reducedMotion": true  // アニメーションを最小化
}
```

**推奨設定**:

| 設定 | 用途 |
|------|------|
| `reducedMotion: true` | モーション酔い対策、集中力向上 |
| `reducedMotion: false` | デフォルト(アニメーションあり) |

**こんな方におすすめ**:
- 長時間作業で目が疲れやすい方
- アニメーションによる視覚的な刺激に敏感な方
- 集中して作業したい方

設定ファイルの場所:
- **macOS**: `~/Library/Application Support/Claude/settings.json`
- **Windows**: `%APPDATA%\Claude\settings.json`
- **Linux**: `~/.config/Claude/settings.json`

## Features

- Session monitoring
- Task progress visualization
- Plans.md status display
- SSOT file overview
- Real-time updates

## Execution Flow

### Step 1: Check License Key

```bash
SETTINGS_FILE=".claude/state/ui-settings.json"

if [ -f "$SETTINGS_FILE" ]; then
  LICENSE_KEY=$(jq -r '.licenseKey // ""' "$SETTINGS_FILE")
  if [ -n "$LICENSE_KEY" ]; then
    echo "License key found"
    # → Open dashboard
  fi
fi
```

### Step 2: Setup Mode (If No Key)

If license key is not configured:

> **Harness UI Setup**
>
> License key is required to use Harness UI.
>
> Get your key at: https://harness-ui.example.com/license
>
> Enter your license key:

**Wait for response**

### Step 3: Save Settings

```bash
mkdir -p .claude/state
cat > "$SETTINGS_FILE" << EOF
{
  "licenseKey": "$LICENSE_KEY",
  "configured_at": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
}
EOF
```

### Step 4: Open Dashboard

```bash
# Start UI server
cd "${CLAUDE_PLUGIN_ROOT}/harness-ui"
npm run dev &

# Open in browser
open http://localhost:3001
```

## Dashboard Components

| Component | Description |
|-----------|-------------|
| Session Panel | Active sessions and status |
| Tasks Panel | Plans.md tasks with progress |
| Files Panel | Changed files and SSOT status |
| Logs Panel | Recent activity log |

## Related Commands

- `/sync-status` - CLI-based status check
- `/session` - Session management

Overview

This skill displays the Harness UI dashboard so you can monitor sessions, tasks, and project status at a glance. It provides a centralized command to open the dashboard, optionally set a license key, and trigger an auto-setup flow. Use it when you need a real-time operational view rather than building or editing UI components.

How this skill works

When invoked, the skill checks a local settings file for a stored license key. If a key is present it launches the local Harness UI dev server and opens the dashboard in your browser. If no key is found, the skill prompts for a license key, saves it to the settings file, and then starts the UI. The dashboard presents session monitoring, task progress, file/SSOT overview, and recent logs with live updates.

When to use it

  • You want to open a monitoring dashboard quickly with /harness-ui
  • You need to view session status, task progress, or SSOT file health
  • You want a centralized command to set or update the license key
  • You need real-time updates about active tasks and recent logs
  • You want a single-pane overview to triage project status

Best practices

  • Use the license-key option when first setup: /harness-ui YOUR-KEY
  • Keep settings in the designated .claude/state file so the skill can auto-detect your key
  • Run the skill on a machine where the local dev server can launch and bind to the configured port
  • Enable reduced-motion in your global settings if you prefer minimal UI animation
  • Avoid using this skill for implementing UI components or admin panel development

Example use cases

  • Open the dashboard during a stand-up to show current session and task progress
  • Quickly verify Plans.md task states and SSOT file changes before a review
  • Set or rotate the license key from the CLI and immediately view the dashboard
  • Triage recent activity and logs after an automated run fails
  • Monitor live task progress during an autonomous Plan→Work→Review cycle

FAQ

What happens if no license key is found?

The skill prompts you to enter a license key, saves it to the local settings file, and proceeds to start the dashboard.

How do I force a re-setup?

Invoke the skill with the --force flag to trigger re-setup and re-prompt for configuration.