sightmap atlas finds and installs corpora published in the community atlas. sightmap serve-sightmap serves the compiled corpus as JSON and recompiles it when YAML changes. sightmap skills install extracts the bundled agent skills. sightmap version prints the binary version.
sightmap browser start runs the same HTTP server alongside Chrome. Use serve-sightmap when you need the corpus endpoint without a managed browser session. See Browser for session management.sightmap atlas
Three verbs over the community atlas (sightmap.org/atlas), the catalog of corpora other people have published:
They are grouped under
atlas because a bare sightmap add would be ambiguous in a tool for authoring corpora, where adding a view or a component is the other thing it could mean.
The index and the archives both come from sightmap.org/atlas, not from the atlas git repo. A takedown rebuilds the gallery, so an entry the atlas removes stops being findable and stops being installable in the same publish. --index and --source override the defaults, which is how mirrors and private corpora work.
sightmap atlas find
Start here when you have a URL. An exact domain match ranks above everything else, and each hit prints the command that installs it:
--category with nothing filed under it does not read as an empty atlas:
pos finds square-pos. Slugs and domains match the other way round too, so square-pos-terminal finds square-pos — those are the strings you paste a longer real-world form of. Names, categories, and descriptions match forwards only, because a three-letter category read in reverse makes position tracking a hit for every point-of-sale corpus in the atlas. Results are ordered by how they matched (exact domain, exact slug, domain, slug, name, category, description), with ties broken alphabetically.
Flags:
--json gives an agent everything a hit has, install command included:
~/.sightmap/atlas/index.json for 24 hours, next to the browser cache at ~/.sightmap/browsers. A cached read says so, and --refresh skips it:
sightmap atlas list
The same code path with an empty query, for browsing rather than searching. Takes --category, --limit, --json, --index, and --refresh.
sightmap atlas validate
For whoever runs the atlas, not whoever reads it. Checks an index.json for the problems every shipped sightmap would hit, reporting all of them in one run so a publisher does not fix one entry per build:
- or no argument.
It runs against the bytes as published, which is the point: find escapes that text as it parses, so no reader ever sees the raw byte and only the publisher can fix it. A duplicate slug is the same shape of problem — the second entry silently shadows the first at install time, and only a whole-catalog check sees both.
sightmap atlas add
Installs one published corpus into --target (default .sightmap). The archive’s .sightmap/ prefix is stripped as files land, so the target may be named anything. Flags work before or after SLUG.
Flags:
add fetches one archive from the URL template above and never reads the index. An index outage or a schema change cannot stop an install, and the atlas can add index fields without waiting for a CLI release.
Installing from a private corpus store. --source is a whole URL template, so a team that publishes its own corpora serves them wherever it likes and points add at them:
--index does the same for a private catalog, so find and add can both run against an internal atlas.
A slug the atlas does not publish is a failed action, so it exits 1 and points at the two ways to find the right one:
--force. Deleting a directory that holds your work is your call. The refusal is decided before anything is fetched, so it reads the same offline:
add guarantees. A --index or --source URL you were handed by a stranger is untrusted input, and so is everything inside what it serves:
sightmap serve-sightmap
Compiles the .sightmap/ corpus and serves it over HTTP on port 7891 by default. Two endpoints:
The
version value is a Unix-millisecond timestamp created with each compile. Both endpoints set Access-Control-Allow-Origin: *.
The server watches .yaml and .yml files under .sightmap/ and recompiles 200 ms after the last filesystem event. It excludes the snapshots/ and review/ directories, so writing captures does not change the corpus version.
The bundled browser extension fetches the corpus for its side panel and DevTools integration. browser start extracts the extension to ~/.sightmap/extension/ when it is missing or its bundled version has changed.
Flags:
[serve-sightmap] recompiled (v1753208412345) with the new version value.
Fetch the compiled corpus:
site is the basename of the directory the server was started in. Each component carries its name, a comma-joined selector string, a parentChain (always an array, empty for top-level components), and its properties.
sightmap skills install
Extracts the two agent skills embedded in the binary, each into its own subdirectory of the target directory:
sightmap-authoring: the corpus authoring playbook, including the edit-verify loop, coverage tiers, selector rules, and quality checks.sightmap-browser: instructions for reading annotated snapshots and interacting with a live browser by component query.
~/.agents/skills/. The command removes any existing directory for each bundled skill before extracting the new copy.
Flags:
sightmap version
Prints the version and exits. No flags.
go install paths.
Typical flow
1
Install the skills
Run
sightmap skills install to extract sightmap-authoring and sightmap-browser under ~/.agents/skills/.2
Start from a published corpus, if there is one
Run
sightmap atlas find <domain> for the site you are mapping. If a corpus exists, the result prints the sightmap atlas add command that installs it; run sightmap validate and read the YAML before building on it.3
Serve the corpus
Start a full session with
sightmap browser start (the server is included), or run sightmap serve-sightmap standalone when you only need the HTTP endpoint.4
Consume the endpoints
Point your tooling at
GET /sightmap for the compiled corpus and poll GET /sightmap/version to detect changes. The overlay extension does exactly this.5
Edit YAML and let it reload
Save a
.yaml or .yml file under a watched corpus directory. The server recompiles 200 ms after the last filesystem event and changes the version value. Polling clients can then fetch the new corpus.