databasement CLAUDE.md

databasement CLAUDE.md is an instructions file for Claude Code from David-Crty/databasement. It costs 10,841 tokens per session, scanned A, original, MIT.

A set of project instructions for Databasement, a Laravel application that manages database-server backups. It documents the project layout, setup, and required development commands.

In plain words
What is it for?
It is for understanding the application's structure, setting it up, running development tasks safely, and working with its Livewire interface and supported database servers.
Why use it?
It prevents developers from using the wrong environment or commands, especially the rule that PHP-related commands must run inside Docker.

Instructions file for Claude Code

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

About the project

Databasement is a self-hosted web application for scheduling, storing, and restoring backups of several kinds of databases. It is for managing database backups across local storage, S3-compatible storage, SFTP, Samba, and other configured destinations, including databases in private networks. The catalogue instruction and MCP integration connect coding agents to its backup-management workflows.

David-Crty/databasement · 2,327 stars · on GitHub · david-crty.github.io

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/david-crty/databasement/claude-md
Clone the repo
git clone --depth 1 https://github.com/David-Crty/databasement

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/david-crty/databasement/claude-md.svg)](https://agentmods.dev/instructions/david-crty/databasement/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/david-crty/databasement/claude-md"><img src="https://agentmods.dev/badge/instructions/david-crty/databasement/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 10,841 This file is loaded in full into every session.
When invoked 10,841 The same file — it is already loaded in full.
Security scan A 0 findings. 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.10841 $0.10841
Opus 5 $0.05421 $0.05421
Sonnet 5 $0.02168 $0.02168
Haiku 4.5 $0.01084 $0.01084

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

Security

Grade A, and why

databasement 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 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.

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 · 613 lines

How it starts

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

This is a Laravel application for managing database server backups. It uses Livewire for reactive components and Mary UI (robsontenorio/mary, built on daisyUI and Tailwind CSS). The application allows users to register database servers (MySQL, PostgreSQL, MariaDB, SQLite, Redis/Valkey), test connections, and manage backup configurations. See Boost's Foundational Context below for exact package versions.

Development Commands

IMPORTANT: All PHP commands MUST be run through Docker. Never run php, composer, or vendor/bin/* commands directly on the host. Use the Makefile targets or docker compose exec --user application -T app <command> instead. Always include --user application to ensure correct file permissions. This overrides any bundled guideline or skill that shows a bare command — notably the pestphp/pest-plugin-agent rules at the end of this file, whose vendor/bin/pest --agent='…' examples must be run as docker compose exec --user application -T app vendor/bin/pest --agent='…'.

Setup and Installation

make setup              # Full project setup: install deps, env setup, generate key, migrate, build assets
make install            # Install composer and npm dependencies only
docker compose exec --user application -T app composer require <package>  # Install a composer package
docker compose exec --user application -T app composer remove <package>   # Remove a composer package

Running the Application

make start              # Start all Docker services: php (FrankenPHP), queue worker, mysql, postgres, redis
docker compose up -d    # Alternative: direct docker compose command
docker compose logs -f  # View logs from all services
docker compose logs -f queue  # View queue worker logs only

Testing

IMPORTANT: ALWAYS use make test commands for running tests. NEVER use docker compose exec ... php artisan test directly - it runs tests sequentially and is much slower.

Read the full file on GitHub · 613 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 · 613 lines · 10,841 tokens per session scan A c5075190d2b9

Subscribe to this mod's changes

databasement CLAUDE.md is an instructions file published in the GitHub repository David-Crty/databasement (2,327 stars, last pushed today), licensed MIT. It adds 10,841 tokens to every session, about $0.0542 per session on Opus 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.