Skip to main content
The sightkick CLI compiles a .sightkick/ tool layer against a .sightmap/ corpus, and drives the compiled tools on a live page. It shells out to the sightmap CLI for browser work, so both need to be on your PATH.
Commands that take an app directory expect one holding both .sightkick/ and .sightmap/. In the examples below that is ., the current directory.

sightkick build

Compiles the corpus and the tool layer into a single self-contained IR document.
Every component, property, and view reference is resolved against the corpus. Unresolved names fail the build and print candidates. --verify needs a captured snapshot, so run sightmap capture on the view first; without one it warns that there is nothing to check against.

sightkick browser

Builds the IR, starts a Sightmap browser session, and injects the runtime so the tools register on the page.
The injection is persisted, so the tools re-register on SPA route changes and on full page loads. Re-run with --no-start to refresh the injected IR after a corpus or manifest change. It runs Sightmap from the app directory, so the session lives in that directory’s .sightmap/. Drive it from there.
Confirm what registered with the Sightmap CLI:

sightkick call

Invokes one tool by name against a live browser session and prints its ToolResult as JSON. Exits non-zero when the tool reports ok:false.
See Running tools for how the two paths differ and when to pick each.
The result carries ok, value or items, skipped when an idempotency guard fired, and guidance from any journey the tool appears in.

sightkick runtime

Emits the runtime bundle, about 19 KB, for injecting into a page you serve yourself.
Load the bundle, then register an IR with it:
The bundle is embedded in the CLI, so re-emit it after upgrading sightkick.

sightkick skills install

Installs the agent skills into ~/.agents/skills, or a directory you name. It also installs the supporting Sightmap skills, so this one command covers the whole workflow.