databasement: Skill for Claude Code

.ai/skills/mary-ui/SKILL.md

mary-ui is a skill for Claude Code, Codex from David-Crty/databasement. It costs 152 tokens per session (3,628 once invoked), scanned A, original, MIT.

A reference guide for Mary UI, a component library used in Laravel Blade and Livewire web views, together with daisyUI and Tailwind CSS. It explains how this project's buttons, forms, tables, alerts, and other components are styled.

In plain words
What is it for?
Use it when editing component-based markup under resources/views or styling Mary UI controls and feedback elements.
Why use it?
It prevents view changes from using unsupported component options or styling conventions that do not match the installed libraries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is David-Crty/databasement's own configuration. It tells Claude Code and Codex 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/.ai/skills/mary-ui/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/David-Crty/databasement

Made for: Claude Code, Codex.

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 mary-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/david-crty/databasement/mary-ui/github.svg)](https://agentmods.dev/skills/david-crty/databasement/mary-ui)
Your own site
<a href="https://agentmods.dev/skills/david-crty/databasement/mary-ui"><img src="https://agentmods.dev/badge/skills/david-crty/databasement/mary-ui/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 mary-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/david-crty/databasement/mary-ui"><img src="https://agentmods.dev/badge/skills/david-crty/databasement/mary-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,628 The whole file, excluding the scripts and references it only reads on demand.
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.00152 $0.03628
Opus 5.5 $0.00061 $0.01451
Sonnet 5.5 $0.00030 $0.00726
Haiku 4.5 $0.00015 $0.00363

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

Security

Grade A, and why

mary-ui 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 1mo 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.

.ai/skills/mary-ui/SKILL.md · 237 lines

How it starts

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

Mary UI in Databasement

Mary UI is a Blade component library that renders daisyUI markup. It adds no CSS of its own: every component's render() returns a Blade heredoc built out of daisyUI class names (btn, alert, card, input, modal) plus a little Alpine. Installed here as robsontenorio/mary ^2.4 (currently 2.9.9) on daisyUI 5 and Tailwind 4.

The practical consequence: styling is done with classes, not with variant props. There is no variant, color or size prop on x-button or x-alert. You pass daisyUI classes:

<x-button :label="__('Delete')" class="btn-error btn-sm" wire:click="delete" spinner />
<x-alert :title="$errorMessage" class="alert-error mb-4" icon="o-x-circle" />
<x-badge value="SSH" class="badge-warning badge-xs" />
<x-loading class="loading-spinner loading-sm" />

Alerts take class="alert-success" / alert-error / alert-warning / alert-info. Any daisyUI class or Tailwind utility can be added this way, but where it lands differs per component (see "Check where $attributes land" below).

Using a component

This skill does not document props: the installed source does, exactly. For any <x-name>, read vendor/robsontenorio/mary/src/View/Components/<Name>.php (kebab-case to PascalCase: x-menu-item is MenuItem.php, x-choices-offline is ChoicesOffline.php).

  • The constructor is the complete prop list with defaults. A prop that is not a constructor parameter does not exist; it falls through to $attributes.
  • The render() heredoc is the exact markup: which daisyUI classes it applies, which slots it reads, and where {{ $attributes }} lands.
  • https://mary-ui.com/docs/components/<name> tracks the latest release, not the installed one (2.9.9 at the time of writing, see composer.lock). When it disagrees with the class, the class wins.

For house style, copy an existing screen rather than composing from scratch: livewire/volume/index.blade.php and livewire/snapshot/index.blade.php (index tables, filters, @scope cells, pagination), livewire/volume/_form.blade.php (form fields), livewire/configuration/backup.blade.php (modals with forms), layouts/app.blade.php (the only use of x-main, x-nav and x-menu).

Read the full file on GitHub · 237 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. 1mo ago First seen · 237 lines · 152 tokens per session scan A a9ff8be912e9

Subscribe to this mod's changes

mary-ui is a skill published in the GitHub repository David-Crty/databasement (2,606 stars, last pushed 2d ago), licensed MIT. It adds 152 tokens to every session and 3,628 once invoked, about $0.0006 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-09-30.

Related

mary-ui compared with skills from other repositories

mary-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mary-uiDavid-Crty/databasementSkill2.6k2d agoMITA152Claude Code, Codex
mysqlericrisco/rsc-harnessSkill5032d agoMITA116Claude Code, Codex
Drizzle ORM TestingPramodDutta/qaskillsSkill2453d agoMITA36Claude Code, Codex
mysql-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A99Claude Code
mysql-aiopsAIops-tools/MySQL-AIopsSkill07d agoMITA490Claude Code
mysqlchaterm/terminal-skillsSkill598mo agoApache-2.0A10Claude Code, Codex
databaseJansenAnalytics/claudexSkill54mo agoMITA24Claude Code, Codex