openmapstack CLAUDE.md

Repository instructions for the openmapstack project. They tell Claude Code how to edit, test, document, and commit changes in that codebase.

In plain words
What is it for?
Following project commands and code style, running tests and linters, writing conventional commit messages, updating documentation, and avoiding commands that could end its session.
Why use it?
They give the coding agent a consistent workflow and safety rules, reducing missed tests, unclear commits, and out-of-sync documentation.

Instructions file

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/jaakla/openmapstack/claude-md
Clone the repo
git clone --depth 1 https://github.com/jaakla/openmapstack
Per session 511 This file is loaded in full into every session.
When invoked 511 The same file — it is already loaded in full.
Security scan C 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 $0.00511 $0.00511
Opus 5 $0.00255 $0.00255
Sonnet 5 $0.00102 $0.00102
Haiku 4.5 $0.00051 $0.00051

Measured yesterday against content hash 594a9a01090d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

openmapstack CLAUDE.md scanned grade C 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Generated by Codeman on 2026-08-25. This file is loaded into context at the start of every Claude Code session in this project. Keep it short (target: under 200 lines). For each line ask: "would removing this cause
CLAUDE.md · 59 lines

How it starts

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

CLAUDE.md

This file guides Claude Code when working in this repository.

Project

Commands

Code Style

Workflow

  • Full permissions are granted: read, write, edit, and execute without asking.
  • Commit after every meaningful change; never batch unrelated work.
  • Use conventional commits (feat: fix: docs: refactor: test: chore:); the message says what changed and why.
  • Run the tests and linter before declaring any task done.
  • Keep README and docs in sync with code changes.

Codeman Environment

This session is managed by Codeman and runs inside tmux (CODEMAN_MUX=1 confirms it).

  • NEVER kill your own session: no tmux kill-session, pkill tmux, or pkill claude.
  • The session persists across disconnects — your work is safe.
  • Hooks may auto-format or validate after writes; unexpected tool behavior usually means a hook ran. Keep working.

Read the full file on GitHub · 59 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. yesterday First seen · 59 lines · 511 tokens per session scan C 594a9a01090d

Subscribe to this mod's changes

openmapstack CLAUDE.md is an instructions file published in the GitHub repository jaakla/openmapstack (68 stars, last pushed 2d ago), licensed MIT. It adds 511 tokens to every session, about $0.0026 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.