junglin830

OhmFlashHunter — AI skill for Claude Code

AI community

Find and hide every console window that flashes on your Windows desktop: event-driven culprit tracing, auto-hide for AI-agent/WMI-spawned consoles, and a field guide to every root cause (MCP, npx, WMI.

How to install OhmFlashHunter

This entry records only its repository, not the path inside it, so there is no exact command to give. Open junglin830/OhmFlashHunter and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What OhmFlashHunter does

Find and hide every console window that flashes on your Windows desktop: event-driven culprit tracing, auto-hide for AI-agent/WMI-spawned consoles, and a field guide to every root cause (MCP, npx, WMI+Windows Terminal, uv pythonw, MSIX).

Alternatives in AI

  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • Susu Phone Agent — Android device bridge for Claude Code via MCP + Shizuku 29 ★
  • Multi Bot Agentic — Deterministic multi-provider AI-agent orchestrator — ODA loops, GPT/Claude/Gemini/Kimi adapters, safety contro 17 ★

README

OhmFlashHunter

**Find, and then stop, every console window that flashes on your Windows desktop.** Built for machines where AI coding agents (Claude, Codex…), MCP servers, uv/uvx, pythonw daemons and scheduled jobs all spawn `cmd` / `powershell` in the background.

揪出(並藏起)Windows 桌面上每一個「一閃而過的 CMD/終端機視窗」。給同時跑很多 AI agent、MCP、 背景排程的電腦用。

  • Event driven. A SetWinEventHook(EVENT_OBJECT_SHOW) hook. Catches 0.1 s flashes, no polling.
  • Names the real culprit. It doesn't trust the window owner (always Windows Terminal / svchost). It calls AttachConsole + GetConsoleWindow on processes born in the previous 4 s. Only processes that really own a visible console count. The full parent chain is logged.
  • Auto-hide shield. Console windows spawned by WMI or an AI agent (and not by you via Explorer) are hidden inside the callback, in ~30–60 ms. The program keeps running.
  • Report. flash_hunter_report.md counts culprits for the last 7 days; flash_hunter.jsonl holds every event.
  • The fixes, too. `docs/FIXES.md` lists every root cause we caught (MCP servers without CREATE_NO_WINDOW, npx.cmd, WMI + Windows Terminal, uv pythonw trampoline, MSIX virtualization…) and how to fix each. Includes spawn_hidden.ps1 and extras/sitecustomize.py.

Quick start

git clone https://github.com/junglin830/OhmFlashHunter
cd OhmFlashHunter
# 1) let the shield hide windows: classic conhost as default terminal (undo: -Undo)
powershell -NoProfile -File set_default_terminal_conhost.ps1
# 2) run at logon (pythonw, no window); optional: mark your own script folders as "ours"
powershell -NoProfile -ExecutionPolicy Bypass -File install.ps1 -Ours "D:\scripts"

Then just work. When something flashes, open `flash_hunter_report.md`:

| Count | Category | Culprit (process chain)                                              | Last seen |
| 6     | other    | powershell.exe powershell -NoProfile -WindowStyle Hidden ... <- ?