用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cosmtrek/mindwalk --skill verify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | verify |
| description | Build, launch, and drive the mindwalk web UI end-to-end for verification. |
npm --prefix web run build # tsc -b && vite build → web/dist
go build -o bin/mindwalk ./cmd/mindwalk
bin/mindwalk serve --no-open --dev --port <PORT> # --dev serves web/dist from the working tree
Gotchas:
--no-open during automated verification so repeated server
starts do not create tabs or steal focus from the user's current work.bind: address already in use.~/.claude/projects, ~/.codex/sessions, and
~/.pi/agent/sessions — this machine has real data, no fixtures needed.
testdata/claude-session.jsonl works via mindwalk open.bin/mindwalk map <repo> (or the /?map=1&repo=<path> URL) serves the
static citymap with no session.System Chrome + raw CDP over Node's built-in WebSocket works. WebGL renders
under plain --headless=new on the real GPU (Metal, ~120fps); add
--use-angle=swiftshader --enable-unsafe-swiftshader only if GPU init fails
(software rendering is ~3x slower):
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--headless=new --remote-debugging-port=9333 --user-data-dir=<tmp> \
--window-size=1440,900 --no-first-run about:blank &
New-tab endpoint needs PUT: fetch('http://127.0.0.1:9333/json/new?<url>', {method:'PUT'}).
/?session=<key> deep link (legacy bare session id resolves only if
unique); assert .session-row.active .session-title..deck-pos-count shows N / N after load (playhead starts at end).[aria-label="Restart playback"] → 1 / N; [aria-label="Play playback"]
→ ~3 ticks/second at 1× (the .speed-btn / S key cycles the multiplier);
playback draws the ember trail + firefly.Tree /
Terrain radio rows plus the encoding legend; pressing V cycles views
directly. Switching rebuilds the scene — watch for Runtime.exceptionThrown.
The pop coexists with an open sheet (report stays open while switching)./?map=1&repo=<abs-path> renders the citymap with no trace and no transport
(map-only mode); the rail-head folder icon ([aria-label="Open a repository map"]) opens a popover — primary card for the active session's repo (name +
path), then an "or open any repository" path input — and opens the map via
window.open, so in headless drive the URL directly instead of clicking.Crosshair = Inspect (sheet; file
details, teaching empty state when nothing is selected), Sparkles =
Evaluate (sheet; judge report, status dot mirrors running/done/stale/failed).
Clicking a report finding jumps the playhead to its evidence seq and selects
the file; the rail rows mirror evaluation state with .rail-eval badges.[aria-label="Export video"] records playback client-side (MediaRecorder →
webm download): the label flips to Recording video, the transport, rail,
and view toggle lock while recording, and the playhead restores afterwards.
Capture the download in CDP with Browser.setDownloadBehavior.?session= must fall back to the newest session with a console.warn.