Hud

From brycewang-stanford/Auto-Empirical-Research-Skills · View interactive version

Hud is an AI agent skill from the GitHub repository brycewang-stanford/Auto-Empirical-Research-Skills. Diverga HUD (Heads-Up Display) management skill. Configure and manage the research project statusline display. Supports multiple presets: research, checkpoint, memory, minimal. Triggers: "hud", "statusline", "display settings

How to use this skill

Skill file

Diverga HUD Skill

Configure and manage the Diverga HUD (Heads-Up Display) statusline.

Overview

The Diverga HUD provides a real-time statusline in your terminal showing:

The HUD is independent of oh-my-claudecode and works as a standalone component.

Commands

Status

/diverga-hud status

Show current HUD configuration and status:

Presets

/diverga-hud preset <preset_name>

Change HUD display preset:

| Preset | Description | Example Output |

|--------|-------------|----------------|

| research | Standard view (default) | 🔬 AI-Ethics │ Stage: foundation │ ●●○○○ (2/11) │ 🧠 95% |

| checkpoint | Detailed checkpoints | Multi-line with checkpoint details |

| memory | Memory focus | Shows context and memory health |

| minimal | Stage only | 🔬 foundation |

Enable/Disable

/diverga-hud enable
/diverga-hud disable

Turn HUD display on or off.

Setup

/diverga-hud setup

Install or repair HUD statusline integration:

  1. Creates ~/.claude/hud/diverga-hud.mjs
  2. Updates ~/.claude/settings.json with statusLine command
  3. Initializes .research/hud-state.json in current project

Installation

Automatic (Recommended)

Run /diverga-hud setup to automatically configure HUD.

Manual

  1. Ensure the HUD script exists at ~/.claude/hud/diverga-hud.mjs
  1. Add to ~/.claude/settings.json:
{
  "statusLine": {
    "type": "command",
    "command": "node ~/.claude/hud/diverga-hud.mjs"
  }
}
  1. Restart Claude Code for changes to take effect.

State Files

HUD State

Location: .research/hud-state.json

{
  "version": "1.0.0",
  "enabled": true,
  "preset": "research",
  "last_updated": "2026-02-04T18:45:00Z",
  "cache": {
    "project_name": "AI-Ethics-HR",
    "current_stage": "foundation",
    "checkpoints_completed": 2,
    "checkpoints_total": 11,
    "memory_health": 95
  }
}

Project State

HUD reads from:

Protocol

When /diverga-hud is invoked:

  1. status command:
  1. preset command:
  1. enable/disable command:
  1. setup command:

Error Handling

| Error | Response |

|-------|----------|

| No project found | "No Diverga project detected. Initialize with /diverga-setup" |

| Invalid preset | "Invalid preset. Available: research, checkpoint, memory, minimal" |

| Settings write fail | "Could not update settings.json. Check file permissions." |

HUD Components

Progress Bar

●●○○○○○○○○○ (2/11)

Memory Health

🧠 95%

Color coding:

Stage Indicator

Available stages:

Examples

Check Status

User: /diverga-hud status

Claude: 📊 **Diverga HUD Status**

| Setting | Value |
|---------|-------|
| Enabled | ✅ Yes |
| Preset | research |
| Project | AI-Ethics-HR |
| Stage | foundation |
| Checkpoints | 2/11 (18%) |
| Memory Health | 95% |

HUD is active and displaying in statusline.

Change Preset

User: /diverga-hud preset minimal

Claude: ✅ HUD preset changed to **minimal**.

New display: `🔬 foundation`

To switch back: `/diverga-hud preset research`

Setup HUD

User: /diverga-hud setup

Claude: 🔧 **Setting up Diverga HUD...**

1. ✅ Created ~/.claude/hud/diverga-hud.mjs
2. ✅ Updated ~/.claude/settings.json
3. ✅ Initialized .research/hud-state.json

🎉 HUD setup complete!

**Please restart Claude Code** to activate the statusline.

Your HUD will display:
`🔬 AI-Ethics-HR │ Stage: foundation │ ●●○○○○○○○○○ (2/11) │ 🧠 95%`

Troubleshooting

HUD Not Showing

  1. Check if script exists:

```bash

ls -la ~/.claude/hud/diverga-hud.mjs

```

  1. Check settings.json:

```bash

cat ~/.claude/settings.json | grep statusLine

```

  1. Test script manually:

```bash

node ~/.claude/hud/diverga-hud.mjs

```

  1. Ensure you're in a Diverga project directory (has .research/ folder)

Stale Data

Run refresh to update cache:

/diverga-hud status

Or manually trigger cache rebuild by editing .research/hud-state.json.

Integration with Diverga

The HUD automatically updates when:

For manual sync, use /diverga-memory sync.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.