bigdataviewer-playground: Instructions file for Claude Code

CLAUDE.md

bigdataviewer-playground CLAUDE.md is an instructions file for Claude Code from bigdataviewer/bigdataviewer-playground. It costs 1,184 tokens per session, scanned A, original, BSD-2-Clause.

Project instructions for BigDataViewer-Playground, a Java library that adds actions and graphical controls for viewing multidimensional images in Fiji/ImageJ2. They cover the project structure, Maven build commands, Java version, and core services.

In plain words
What is it for?
Use them when changing, building, or testing BigDataViewer-Playground, including full builds, test-free builds, and selected test classes or packages.
Why use it?
They give the coding agent the project-specific context needed to build the library and run its tests correctly.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 bigdataviewer-playground CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bigdataviewer/bigdataviewer-playground/claude-md"><img src="https://agentmods.dev/badge/instructions/bigdataviewer/bigdataviewer-playground/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,184 This file is loaded in full into every session.
When invoked 1,184 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.01184 $0.01184
Opus 5.5 $0.00474 $0.00474
Sonnet 5.5 $0.00237 $0.00237
Haiku 4.5 $0.00118 $0.00118

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

Security

Grade A, and why

bigdataviewer-playground 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 2mo 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 · 122 lines

How it starts

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

BigDataViewer-Playground (bdv-playground) is a Java library that extends BigDataViewer (BDV) with actions and GUI components for managing and displaying multi-dimensional image sources in Fiji/ImageJ2. It provides a centralized service architecture for handling SourceAndConverter objects and their display across multiple BDV windows.

Build Commands

# Build the project
mvn clean install

# Build without running tests
mvn clean install -DskipTests

# Run a specific test class
mvn test -Dtest=sc.fiji.bdvpg.SimpleIJLaunch

# Run tests in a specific package
mvn test -Dtest="sc.fiji.bdvpg.tests.*"

The project uses Java 8 and inherits from pom-scijava parent POM (version 43.0.0).

Architecture

Core Services (SciJava Plugin Services)

The library is built around two main SciJava services that work together:

  1. SourceAndConverterService (sc.fiji.bdvpg.scijava.service.SourceService)

    • Central registry for all SourceAndConverter objects
    • Manages metadata associated with sources (stored in weak-key caches)
    • Handles SpimData registration and source creation from HDF5/N5 datasets (or other backends coming from other libraries)
    • Provides action registration system for contextual menus
    • Manages a global cache for image data across all datasets
  2. SourceAndConverterBdvDisplayService (sc.fiji.bdvpg.scijava.service.SourceBdvDisplayService)

    • Manages display of sources in BDV windows
    • Handles multiple simultaneous BdvHandle instances
    • Tracks source visibility across different viewers
    • Provides BdvHandle supplier mechanism for customizing window creation

Static Access Pattern

SourceAndConverterServices provides static access to both services when SciJava context injection is not available.

Key Design Patterns

  • SourceAndConverter wrapper: All BDV sources are wrapped with their converters for unified handling
  • Metadata via weak-key caches: Source metadata is stored using Guava caches with weak keys to allow garbage collection
  • Action registration: SciJava commands implementing BdvPlaygroundActionCommand are auto-registered as contextual menu actions
  • EntityHandler extension: Custom SpimData entity types can be supported via EntityHandler plugins

Read the full file on GitHub · 122 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. 2mo ago First seen · 122 lines · 1,184 tokens per session scan A 623753b320fd

Subscribe to this mod's changes

bigdataviewer-playground CLAUDE.md is an instructions file published in the GitHub repository bigdataviewer/bigdataviewer-playground (22 stars, last pushed 2mo ago), licensed BSD-2-Clause. It adds 1,184 tokens to every session, about $0.0047 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

bigdataviewer-playground CLAUDE.md compared with instructions from other repositories

bigdataviewer-playground CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bigdataviewer-playground CLAUDE.mdbigdataviewer/bigdataviewer-playgroundInstructions file222mo agoBSD-2-ClauseA1,184Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot