mazzap CLAUDE.md

mazzap CLAUDE.md is an instructions file for Claude Code from zymazza/mazzap. It costs 8,673 tokens per session, scanned A, original, MIT.

A project instruction file for VEIL, a browser-based 3D digital twin that turns elevation data into a viewable model of real ground.

In plain words
What is it for?
It is for running the viewer, understanding the journal and GeoPackage data layout, and working with terrain models without a database or network access at viewing time.
Why use it?
It explains that the permanent data lives in a local twin store and that the browser viewer loads an export of that data.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

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 instructions/zymazza/mazzap/claude-md
Clone the repo
git clone --depth 1 https://github.com/zymazza/mazzap

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mazzap CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zymazza/mazzap/claude-md.svg)](https://agentmods.dev/instructions/zymazza/mazzap/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/zymazza/mazzap/claude-md"><img src="https://agentmods.dev/badge/instructions/zymazza/mazzap/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 8,673 This file is loaded in full into every session.
When invoked 8,673 The same file — it is already loaded in full.
Security scan A 1 finding. 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.1 $0.08673 $0.08673
Opus 5 $0.04337 $0.04337
Sonnet 5 $0.01735 $0.01735
Haiku 4.5 $0.00867 $0.00867

Measured 6d ago against content hash c0f1cdd995b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mazzap CLAUDE.md scanned grade A with 1 finding 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

**Chat panel ("Ask the land"):** the viewer's collapsible chat window (`public/chat.js`, stacked above the coordinate readout) talks to `POST /api/chat` in `server.js`, which spawns `scripts/mcp_server.py` once and bridg
CLAUDE.md · 145 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

VEIL is a standalone, region-agnostic, fully georeferenced 3D digital-twin engine: point it at a DEM (and optionally imagery and map layers) and it builds a browser-viewable twin of that ground. No database server, no cloud, no build step at view time: a zero-dependency Node static server (server.js) serves a Three.js viewer (public/) over a self-contained bundle of geospatial data (a twin's data/ or any --data-dir/TWIN_DATA_DIR). Nothing is fetched from the network at view time. Twin data is private and gitignored — the repo ships only code plus one small demo AOI (packs/us-national/demo/); see "Privacy" in the README.

The system of record is the twin store — canonically, the append-only write journal in <data>/journal/, materialized as a GeoPackage at <data>/twin.gpkg (see "Twin store" below). The flat JSON the viewer loads is an export of the store — the viewer is a window on the store, not the product.

Commands

npm start                 # serve at http://127.0.0.1:4173 (PORT/HOST/TWIN_DATA_DIR env override)
npm run demo              # build the Flatirons demo twin into twins/demo/data (needs internet + GDAL)
npm run serve-demo        # serve the demo twin at http://127.0.0.1:4174
npm test                  # query-layer tests against the offline committed fixture twin
npm run test:demo         # query-layer tests against the real-data demo twin (builds it if missing)
npm run build-test-fixture # regenerate the committed offline test fixture twin
npm run build-from-aoi    # build a whole US twin from one AOI polygon (3DEP + NAIP + LANDFIRE)
npm run ingest-dem        # genesis: any DEM (+ AOI) -> terrain grid + georef.json
npm run ingest-imagery    # align aerial imagery to the terrain footprint
npm run add-layer         # import any vector/raster file as a draped, clickable layer
npm run rebuild-store     # reconstruct <data>/twin.gpkg from its journal
npm run migrate           # genesis only: seed a store (+ journal) from a flat data/ bundle
npm run export            # regenerate every viewer JSON payload from the store
npm run build-vegetation  # tree/shrub instances -> store -> export (analyze_vegetation.py + build_surrounding_vegetation.py)
npm run canopy-history    # temporal query: canopy density per pipeline run (--bbox to scope)
npm run build-survey-package  # generate the QField survey package (Survey companion)
npm run analyze-hydrology # Tier-1 terrain hydrology: flow/wetness/ponding/seep layers + summary
npm run hydro-scenario    # snowmelt scenario CLI (the Simulation window calls it via /api/simulate)
python3 scripts/fetch_distant_terrain.py # viewshed distant-terrain manifest/fetch metadata
python3 scripts/analyze_viewshed.py      # precomputed horizon + AOI cumulative viewshed drape
python3 scripts/mcp_server.py       # MCP server (stdio) over the twin store — see docs/mcp.md
npm run test:plan            # Plan engine/journal/GAIA surface + real REST integration
python3 -m venv .venv-live && .venv-live/bin/python -m pip install -r requirements-live.txt
                              # install/update live telemetry bridge deps

docker compose up --build              # serve in a container (Node + full Python pipeline, pinned)
docker compose run --rm veil <cmd>     # run any npm/pipeline step in that image (twins persist to ./twins)

Read the full file on GitHub · 145 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. 6d ago First seen · 145 lines · 8,673 tokens per session scan A c0f1cdd995b6

Subscribe to this mod's changes

mazzap CLAUDE.md is an instructions file published in the GitHub repository zymazza/mazzap (151 stars, last pushed 1mo ago), licensed MIT. It adds 8,673 tokens to every session, about $0.0434 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.