Skip to content
Back to skills

Verify

BSecurity

Run an isolated valk daemon, with its own web server, and fake agent sessions to observe a change at its real surface.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
ai-agentsrustgoshellbash

Works with

  • cli

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned November 30, 2026

npx -y skills add bjschnell/Valkyrie --skill verify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/bjschnell-verify/badge)](https://www.skillsdirectory.com/skills/bjschnell-verify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify
description: Run an isolated valk daemon, with its own web server, and fake agent sessions to observe a change at its real surface.
---

# Verifying valkyrie changes

Before opening or pushing to a PR, run `scripts/check`: it runs CI's rust and web
checks (fmt, clippy, tests, shellcheck, web/dist up to date). If it stops on a
missing tool, ask the user to install it; don't push around it.

## Isolated daemon (never the user's)
Agent shells run inside a valk session, so `VALK_SOCKET` points at the user's real
daemon. Pass an explicit socket on every call, and unset the session env.

```bash
S=<scratch dir>; mkdir -p $S/state $S/config; chmod 700 $S $S/state   # daemon refuses non-0700 dirs
# Its own config too: the web server page and `valk web server` write settings.toml.
V="env -u VALK_SESSION -u VALK_CONTEXT XDG_STATE_HOME=$S/state XDG_CONFIG_HOME=$S/config ./target/debug/valk --socket $S/d.sock"
cargo build --bin valk
$V daemon --dev --web 127.0.0.1:<free port> &   # dev daemon (ADR-0010) + its own web server (ADR-0023); 8790/8799 may be taken
until [ -S $S/d.sock ]; do sleep 0.1; done    # else the next call starts a 2nd, detached daemon
$V web up                                     # waits for the web server, prints its address
$V new --name x -- <script>                   # fake agent: a bash script that prints a screen, then sleeps
$V dump <id>                                  # the screen the web app parses
```

- Sessions spawn at 80 columns: keep fake screen lines under 80, or the PTY wraps them.
- Web app changes ship via committed `web/dist` (embedded by `crates/valkyrie-web`):
  `cd web && npm ci && npm run build`, then rebuild `valk`.

## Web UI: pair with `dev-token`
A `--dev` daemon's web server takes `dev-token` at the pairing screen, no code. Only
`--dev` daemons do: `valk web pair` / `valk web open` still refuse agents, and the
user's own daemon never takes the dev token. Don't work around either.

Drive the tab via the Claude in Chrome extension (check `list_connected_browsers`
first; if empty, ask the user to connect it). Open `http://127.0.0.1:<port>`, type
`dev-token`, press Pair.

- The window manager may ignore `resize_window`, and the app refuses iframes. For a
  phone layout, pin `#root` to 390×844 with an injected style, and set any `dvh`
  caps to what that viewport would give.
- Toasts stay in the DOM a few seconds: note the one already showing before you act.

## Cleanup
`pkill -f "$S/d.soc[k]"` (the brackets keep it from matching, and killing, your own
shell), then `rm -rf $S`. A daemon whose socket is gone exits by itself within a few
seconds, taking its sessions along, so removing `$S` is the backstop if a step dies.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.