databasement: Instructions file for Claude Code

CLAUDE.md

databasement CLAUDE.md is an instructions file for Claude Code from David-Crty/databasement. It costs 13,697 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.

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

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,606 stars · on GitHub · david-crty.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to David-Crty/databasement. 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/David-Crty/databasement/main/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/github.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/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 databasement CLAUDE.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,697 This file is loaded in full into every session.
When invoked 13,697 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.13697 $0.13697
Opus 5.5 $0.05479 $0.05479
Sonnet 5.5 $0.02739 $0.02739
Haiku 4.5 $0.01370 $0.01370

Measured 3d ago against content hash 1f5e408848e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3d 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 · 691 lines

How it starts

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

In a git worktree, use the Makefile targets (they work unchanged there, a bare docker compose does not). Load the worktree-development skill before running anything in one.

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

Read the full file on GitHub · 691 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. 3d ago Changed · +2 lines · +97 tokens per session 1f5e408848e4
  2. 25d ago Changed · +34 lines · +864 tokens per session fbb065849f1f
  3. 27d ago Changed · +1 lines · +144 tokens per session 044c504f8cb4
  4. 29d ago Changed · +8 lines · +322 tokens per session f4826d8cb5c6
  5. 1mo ago Changed · -1 lines · +349 tokens per session e4e8cb86618e
  6. 1mo ago Changed · -8 lines · -283 tokens per session 7e30b0b986a7
  7. 1mo ago Changed · +2 lines · +177 tokens per session e5237e7b29b1
  8. 2mo ago Changed · +40 lines · +1,186 tokens per session d995e486b5c5
  9. 2mo 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,606 stars, last pushed 2d ago), licensed MIT. It adds 13,697 tokens to every session, about $0.0548 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

databasement CLAUDE.md compared with instructions from other repositories

databasement CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
databasement CLAUDE.mdDavid-Crty/databasementInstructions file2.6k2d agoMITA13,697Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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