Adminator-admin-dashboard CLAUDE.md

Adminator-admin-dashboard CLAUDE.md is an instructions file for Claude Code from puikinsh/Adminator-admin-dashboard. It costs 4,236 tokens per session, scanned A, original, MIT.

A project guide for Adminator, a vanilla-JavaScript administration dashboard with a shared layout, CSS-variable design system, and reusable charts, calendar, and map widgets. It documents the 2026 architecture, file layout, page structure, and widget mounting points.

In plain words
What is it for?
Use it when adding or editing Adminator pages, navigation, themes, charts, calendars, maps, or other parts of the dashboard.
Why use it?
It gives coding agents the rules needed to work within the dashboard's current architecture instead of relying on older components or libraries. It explains how pages share the shell and how themes and heavy widgets are handled.

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

Adminator is a vanilla-JavaScript admin dashboard template for building web application interfaces. It provides 18 pages, a CSS-variable design system, dark mode and interface elements such as inboxes, calendars, charts, forms and data tables.

puikinsh/Adminator-admin-dashboard · 4,647 stars · on GitHub · adminator.colorlib.com

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/puikinsh/adminator-admin-dashboard/claude-md
Clone the repo
git clone --depth 1 https://github.com/puikinsh/Adminator-admin-dashboard

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 Adminator-admin-dashboard CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/puikinsh/adminator-admin-dashboard/claude-md.svg)](https://agentmods.dev/instructions/puikinsh/adminator-admin-dashboard/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/puikinsh/adminator-admin-dashboard/claude-md"><img src="https://agentmods.dev/badge/instructions/puikinsh/adminator-admin-dashboard/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,236 This file is loaded in full into every session.
When invoked 4,236 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.04236 $0.04236
Opus 5 $0.02118 $0.02118
Sonnet 5 $0.00847 $0.00847
Haiku 4.5 $0.00424 $0.00424

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

Security

Grade A, and why

Adminator-admin-dashboard 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 · 214 lines

How it starts

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

Architecture (2026 redesign)

This is the Adminator 2026 template — a vanilla-JS admin dashboard with a token-driven CSS-variable design system. There is one entry bundle, one stylesheet root, one shell renderer.

  • No jQuery. No Bootstrap. No legacy admin.js / Sidebar component.
  • Theme (light/dark) is a data-theme attribute on <html>, set by an early-paint script in each page and toggled at runtime via init.js.
  • Sidebar, topbar, and footer are rendered by Shell.js from a single NAV manifest. Pages provide three placeholder divs (data-shell-sidebar, data-shell-topbar, data-shell-footer) plus <body data-active="..." data-crumbs="...">.
  • Heavy widgets: real Chart.js (charts.js), real FullCalendar (calendar.js), real jsvectormap (maps.js). All three read CSS variables at render and re-render on theme toggle via a MutationObserver on data-theme.
  • All three are lazy-loaded via import(). Each init*() checks for its mount point and returns before the import when the page has no such element, so a page only downloads the library it actually uses. Every page's initial payload is runtime.js + 2026.js + style.css (~130 KB raw / ~28 KB gzip) and nothing else.
  • No Babel. webpack 5 parses ESM natively and the browserslist floor (Chrome/Firefox 90, Safari/iOS 15) needs no transpiling — an A/B build showed byte-equivalent output, so the toolchain was removed in 4.2.0. If you widen browserslist to older engines, reintroduce babel-loader in webpack/rules/.

File layout

src/
├── *.html                       # 18 pages — each ~500 lines, mostly content
├── assets/
│   ├── scripts/2026/            # The only JS
│   │   ├── index.js             # entry — imports SCSS, mounts shell, runs init
│   │   ├── Shell.js             # NAV manifest + sidebar/topbar/footer renderers
│   │   ├── init.js              # theme toggle, dropdowns, nav-groups, todos, accordions, tabs, mobile drawer
│   │   ├── palette.js           # ⌘K command palette — builds its list from NAV
│   │   ├── charts.js            # Chart.js SEEDS + tokens() — lazy-loads chart.js
│   │   ├── calendar.js          # FullCalendar seed events + toolbar binding — lazy-loaded
│   │   ├── maps.js              # jsvectormap world map — lazy-loaded
│   │   └── vendor-jsvectormap.js # re-export so lib + map data + CSS share one chunk
│   ├── styles/2026/             # The only SCSS
│   │   ├── index.scss           # entry — @use's every partial below
│   │   ├── _tokens.scss         # CSS variables, light + dark
│   │   ├── _base.scss           # reset, body, .eyebrow, .mono
│   │   ├── _animations.scss     # rise-in / bar-in / fade-in / draw / spin
│   │   ├── _shell.scss          # .shell, sidebar, topbar, footer chrome
│   │   ├── _dropdowns.scss      # .dd-* (notifications, messages, profile)
│   │   ├── _components.scss     # .hero, .btn, .card, .grid, .table, .tag
│   │   ├── _forms.scss          # inputs, select, textarea, check, radio, switch
│   │   ├── _ui.scss             # alerts, badges, progress, spinner, tabs, accordion, modal
│   │   ├── _auth.scss           # signin/signup split-screen shell
│   │   ├── _error.scss          # 404 / 500 cards
│   │   ├── _chat.scss           # 2-pane chat layout
│   │   ├── _data.scss           # data-table, pager
│   │   ├── _charts.scss         # chart-canvas-wrap, legend
│   │   ├── _dashboard.scss      # KPIs, sv-* (site visits), todo, weather
│   │   ├── _email.scss          # 3-pane email layout
│   │   ├── _calendar.scss       # mini-cal, rail, upcoming list
│   │   ├── _fullcalendar.scss   # FullCalendar token overrides
│   │   ├── _palette.scss        # ⌘K palette modal
│   │   └── _responsive.scss     # all media queries in one place
│   └── static/                  # 2.2 MB, currently referenced by NOTHING — see below
tests/                           # vitest + jsdom
webpack/                         # config, manifest, devServer, rules/, plugins/
docs/                            # Jekyll (just-the-docs) site — redirects to adminator.colorlib.com/docs/
scripts/                         # Playwright screenshot + publishing helpers (not part of the build)

Read the full file on GitHub · 214 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 · 214 lines · 4,236 tokens per session scan A 482f23a90793

Subscribe to this mod's changes

Adminator-admin-dashboard CLAUDE.md is an instructions file published in the GitHub repository puikinsh/Adminator-admin-dashboard (4,647 stars, last pushed 3d ago), licensed MIT. It adds 4,236 tokens to every session, about $0.0212 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.