docker-zoneminder: Instructions file for Claude Code

CLAUDE.md

docker-zoneminder CLAUDE.md is an instructions file for Claude Code from jantman/docker-zoneminder. It costs 2,544 tokens per session, scanned A, original, MIT.

A `CLAUDE.md` guide for a Docker image that builds ZoneMinder, a video-surveillance system, with related streaming and event-notification components. It documents the project’s versions, forks, dependencies, and architecture.

In plain words
What is it for?
Explaining the Docker build, Debian and PHP environment, ZoneMinder compilation, database requirement, event detection, WebRTC/MSE/HLS streaming, pinned forks, and SHA-based component versions.
Why use it?
This project combines several compiled and pinned components, an external database, and multiple streaming services. The guide gives Claude Code the context needed to work within those constraints.

Instructions file for Claude Code

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

This is jantman/docker-zoneminder's own configuration. It tells Claude Code how to work on docker-zoneminder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything docker-zoneminder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jantman/docker-zoneminder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jantman/docker-zoneminder/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/jantman/docker-zoneminder

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 docker-zoneminder CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jantman/docker-zoneminder/claude-md/github.svg)](https://agentmods.dev/instructions/jantman/docker-zoneminder/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jantman/docker-zoneminder/claude-md"><img src="https://agentmods.dev/badge/instructions/jantman/docker-zoneminder/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-zoneminder CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jantman/docker-zoneminder/claude-md"><img src="https://agentmods.dev/badge/instructions/jantman/docker-zoneminder/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,544 This file is loaded in full into every session.
When invoked 2,544 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.02544 $0.02544
Opus 5.5 $0.01018 $0.01018
Sonnet 5.5 $0.00509 $0.00509
Haiku 4.5 $0.00254 $0.00254

Measured 1mo ago against content hash 5ab832cd825c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker-zoneminder CLAUDE.md 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 1mo 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.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 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.

Project Overview

Docker image for ZoneMinder 1.38.4 (video surveillance) on Debian 13 (Trixie), using Apache + PHP 8.4. ZoneMinder is installed from the official ZoneMinder Debian packages (zmrepo.zoneminder.com); Debian's own zoneminder package is 1.36.x and is not usable here. Requires an external MySQL/MariaDB database (not bundled). Includes the ZM Event Notification Server (ZMES) — zmeventnotificationNg 7.0.31 with pyzmNg 2.5.3 — for event-driven object detection via WebSocket on port 9000, and go2rtc for WebRTC/MSE/HLS live streaming. This is a personal WIP project (MIT license).

Both ZMES and pyzm are pinned to upstream releases: ZMES_VERSION=v7.0.31 (a git tag) and PYZM_VERSION=2.5.3 (PyPI). Two upstream fixes this deployment depends on set a floor under those pins — do not pin below them:

Component Floor Why
zmeventnotificationNg v7.0.30 #49 joins config zone patterns onto ZM zone geometry by name, so objectconfig.yml can drop every coords: and set import_zm_zones: "yes"
pyzmNg 2.5.2 #69 zone_match_strategy, which objectconfig.yml sets to first_intersecting to restore ES 6 zone resolution. Zone filtering runs here, client-side in pyzm.ml.filters, not in the gateway

Images 1.38.4-jantman1-fork and earlier built these two commits from forks pinned by SHA, and carried the -fork version suffix; that is over, and releases from here on drop the suffix. The build-time marker assertions that guarded those SHAs (normalize_zone_name, ZoneMatchStrategy) are gone with them — a release tag and a PyPI version say what they are, which is what the assertions existed to prove.

The fork pins are still reachable only because jantman/zmeventnotificationNg and jantman/pyzmNg carry the annotated tags image-pin-pr49 and image-pin-pr67-pr69 on those commits. Do not delete those tags while 1.38.4-jantman1-fork is a release anyone might rebuild.

Read the full file on GitHub · 153 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. 1mo ago Changed · +26 lines · +584 tokens per session 5ab832cd825c
  2. 1mo ago Changed · +29 tokens per session dd3974fc7318
  3. 2mo ago First seen · 127 lines · 1,931 tokens per session scan A d2ea487067a4

Subscribe to this mod's changes

docker-zoneminder CLAUDE.md is an instructions file published in the GitHub repository jantman/docker-zoneminder (23 stars, last pushed 1mo ago), licensed MIT. It adds 2,544 tokens to every session, about $0.0102 per session on Opus 5.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

docker-zoneminder CLAUDE.md compared with instructions from other repositories

docker-zoneminder CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docker-zoneminder CLAUDE.mdjantman/docker-zoneminderInstructions file231mo agoMITA2,544Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode