campfire: Instructions file for Claude Code

CLAUDE.md

campfire CLAUDE.md is an instructions file for Claude Code from pandulapeter/campfire. It costs 5,764 tokens per session, scanned A, original, MPL-2.0.

A project instruction document for Campfire, a Kotlin Multiplatform app for viewing and editing song lyrics and chords on several platforms. It describes the app's architecture, coding conventions, privacy rules, and network connections.

In plain words
What is it for?
Use it as guidance when changing Campfire code, especially data sources, platform modules, file formats, and code near other instruction files.
Why use it?
It gives a coding agent the context needed to make changes without violating the app's structure or privacy promises.

Instructions file for Claude Code

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

This is pandulapeter/campfire's own configuration. It tells Claude Code how to work on campfire 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 campfire configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pandulapeter/campfire. 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/pandulapeter/campfire/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/pandulapeter/campfire

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 campfire CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pandulapeter/campfire/claude-md/github.svg)](https://agentmods.dev/instructions/pandulapeter/campfire/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/pandulapeter/campfire/claude-md"><img src="https://agentmods.dev/badge/instructions/pandulapeter/campfire/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 campfire CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pandulapeter/campfire/claude-md"><img src="https://agentmods.dev/badge/instructions/pandulapeter/campfire/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,764 This file is loaded in full into every session.
When invoked 5,764 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.05764 $0.05764
Opus 5.5 $0.02306 $0.02306
Sonnet 5.5 $0.01153 $0.01153
Haiku 4.5 $0.00576 $0.00576

Measured 2d ago against content hash 63d00402069a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

campfire 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 2d 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 · 313 lines

How it starts

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

Campfire

Kotlin Multiplatform app (Android, iOS, JVM desktop, and wasmJs web; Compose UI shared by all) for viewing and editing song lyrics and chords, with a metronome, a tuner, and chord diagrams. The app owns a library folder of plain ChordPro files, filled by the editor or by importing ChordPro, plain text, PDF, Word, ABC tunes, zip archives, and other apps' songs and backups. Every module, :presentation source set, and package with something the code cannot say has its own CLAUDE.md; read the nearest one before changing code there.

Privacy: what reaches the network

Only these, all in :data:source:remote:implementation, the only module that makes a network call:

  • Sync, off until the user connects their own cloud folder in Settings; no Campfire server exists. While the app is in front it also holds one long poll open on the folder's change feed.
  • Cover images: downloaded once from the address a song file names (public https hosts only, never the local network), then kept on the device; an address that answers with no cover is remembered as such.
  • Cover search and song details lookup: MusicBrainz and the iTunes Search API, only from the sheet the user opens for them; the "Cover art" and "Online song details" switches in Settings → Features remove them.
  • Shared links: sharing a song or setlist publishes a copy as a public link in the Dropbox connected for Sync, kept current by sync runs; opening one downloads that zip from dl.dropboxusercontent.com, needing no account and keeping nothing beyond the import.
  • Not Campfire's requests: the web build asks its own deployment which build is current; Android asks Play for updates and, on a first launch, the install referrer over IPC (Play Store app); Android/iOS system backup copies library/ and preferences.json — never the sync credentials, the sync index, the shared links mirror and journal, the editor draft, the iOS share inbox, or covers/ (app/android/src/main/res/xml; on iOS a device-bound Keychain item, FileStorage.keepOutOfDeviceBackup, and the share inbox's own exclusion). A launch with no preferences document forgets any credentials it finds, since the iOS Keychain outlives an uninstall.

Read the full file on GitHub · 313 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. 2d ago Changed · +17 lines · +311 tokens per session 63d00402069a
  2. 4d ago First seen · 296 lines · 5,453 tokens per session scan A 0824124a4995

Subscribe to this mod's changes

campfire CLAUDE.md is an instructions file published in the GitHub repository pandulapeter/campfire (119 stars, last pushed yesterday), licensed MPL-2.0. It adds 5,764 tokens to every session, about $0.0231 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-11-02.

Related

campfire CLAUDE.md compared with instructions from other repositories

campfire CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
campfire CLAUDE.mdpandulapeter/campfireInstructions file119yesterdayMPL-2.0A5,764Claude 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