verify

An end-to-end verification procedure for the Mindwalk web interface. It covers building the web app, starting its server, and controlling it with a headless Chrome browser.

In plain words
What is it for?
Use it to build and launch Mindwalk, inspect real agent-session data, open a repository map, and drive the interface through browser tests without taking over the user's screen.
Why use it?
It removes guesswork from checking whether the interface works after a build or during automated tests. It also documents session locations, port conflicts, and graphics settings that can otherwise interrupt verification.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cosmtrek/mindwalk/verify
Any agent
npx skills add cosmtrek/mindwalk --skill verify
Clone the repo
git clone --depth 1 https://github.com/cosmtrek/mindwalk

Made for: Claude Code, Codex.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 969 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.00969
Opus 5 $0.00010 $0.00485
Sonnet 5 $0.00004 $0.00194
Haiku 4.5 $0.00002 $0.00097

Measured 3d ago against content hash 465299423795, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

verify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/verify/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Verifying mindwalk

Build & launch

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:

  • Always pass --no-open during automated verification so repeated server starts do not create tabs or steal focus from the user's current work.
  • Port 8765 is the vite-proxy convention and is often already taken by a dev server; pick another port and check the log for bind: address already in use.
  • Sessions come from ~/.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.

Drive (headless Chrome + CDP, no npm installs)

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'}).

Flows worth driving

  • Load via /?session=<key> deep link (legacy bare session id resolves only if unique); assert .session-row.active .session-title.
  • Readout .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.
  • Scene view lives in the dock's scene section: the top strip icon (tree/ mountain shape mirrors the current view) opens a compact pop with 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.
  • The right-edge dock strip is a panel registry with two sections (scene / session, hairline divider): View (pop), 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.
  • Rapid session switch (click uncached row, 150ms later a cached row) must end showing the last-clicked session's data.
  • Bogus ?session= must fall back to the newest session with a console.warn.

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 74 lines · 19 tokens per session scan A 465299423795

Subscribe to this mod's changes

verify is a skill published in the GitHub repository cosmtrek/mindwalk (1,305 stars, last pushed 24d ago), licensed MIT. It adds 19 tokens to every session and 969 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

e2e-deployment-skill

Use this deployment skill to verify shared skills load during Playwright startup.

danny-avila/LibreChat · 22 tokens

launch

Launch Code OSS (VS Code from sources) into an isolated throwaway profile with unique debug ports so you can drive it with @playwright/cli AND attach a Node debugger via dap-cli in the same session. Use when working on VS Code itself and you want to interact with the running workbench, automate chat or UI flows, test…

microsoft/vscode · 96 tokens

actionbook-web-test

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…

actionbook/actionbook · 71 tokens

web-preview

Flutter Web版をビルド → サーバー起動 → Playwright でアクセス確認 → URLをユーザーに案内する。.

K9i-0/ccpocket · 32 tokens

qa/e2e-playwright

Playwright E2E 测试完整方法论,涵盖项目初始化、Page Object Model、认证复用、API Mock、视觉回归、多浏览器测试、CI 集成和调试技巧.

echoVic/boss-skill · 50 tokens