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.
npx agentmods add skills/maludb-ed/htmx-php-builder/design-systemnpx skills add maludb-ed/htmx-php-builder --skill design-systemgit clone --depth 1 https://github.com/maludb-ed/htmx-php-builderWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00078 | $0.01860 |
| Opus 5 | $0.00039 | $0.00930 |
| Sonnet 5 | $0.00016 | $0.00372 |
| Haiku 4.5 | $0.00008 | $0.00186 |
Grade A, and why
design-system 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design System
Every screen in every application must look like it came from the same template, because it did. The single source of truth is the reference set in this skill — extracted from the licensed Bootstrap 5.3 admin template the applications are built on.
References (read the one you need before writing markup)
- references/design-decisions.md — read first; overrides everything else where they conflict. The locked, project-independent design choices (canonical table = the "Traffic Reports" pattern with server-rendered pagination, interaction defaults, and the running list of pinned decisions).
- references/layout-skeleton.html — the canonical app-shell page: head/CSS includes, sidebar navigation (
nxl-navigation), header (nxl-header), the main content container HTMX swaps into (markedMAIN CONTENT TARGET), footer, script includes. - references/components.md — canonical markup for page headers, cards, list/table pages, create/edit forms, detail pages, buttons, badges, avatars, tabs.
- references/auth-layout.html — the auth-page skeleton (login/register/reset use this, minimal style).
- references/assets.md — which CSS/JS files each page includes and in what order.
- examples/ — a working, trimmed example application: the shell (
index.html), HTMX partials for the list/form/view screens, the auth page, and the actual theme CSS/JS/font assets. Copyexamples/assets/into every new application verbatim — this is what guarantees pixel-identical styling. Use the example pages as the starting point for Phase 2's shell and for each screen type.
Non-negotiable rules
- Copy, don't compose. Take the exact markup structure and class names from the references. Do not substitute generic Bootstrap markup where the template has its own pattern (
nxl-*classes are load-bearing — the theme CSS/JS depends on the exact nesting). - No modal forms or display surfaces. No
.modalfor anything that shows or collects data — create/edit/detail are dedicated full pages; quick edits swap inline via HTMX; offcanvas drawers only for filters/quick views, full-width on mobile. Confirmations are exempt:hx-confirm(the browser confirm dialog) is the standard guard on destructive actions. - Mobile first. Every screen works at 375px: no horizontal page scroll, tables inside
.table-responsive, action toolbars stack vertically, touch targets ≥ 44px. Check this before declaring any screen done. - No new styling — except
app-overrides.css. No inlinestyle=, no ad-hoc CSS files, no overriding theme variables without explicit user approval. The single sanctioned override file isassets/css/app-overrides.css(ships inexamples/assets/), loaded aftertheme.min.csson every page — plugin-level corrections to the theme live there and nowhere else. If a component pattern is missing fromcomponents.md, add it there (from the original template) first, then use it. - Assets are fixed. Include exactly the CSS/JS listed in
assets.md, in that order. Page-specific init scripts follow the template's naming convention and are loaded only on their page. When content arrives via HTMX swap, re-run the page-specific init in thehtmx:afterSwaphandler — theme JS bound at load time does not see swapped-in DOM. - HTMX is the interactivity layer. Server-rendered partials swapped into the main content target;
hx-push-urlfor navigable screens; no SPA frameworks, no jQuery beyond what the theme itself ships. - Every meaningful element gets a unique, stable, kebab-case
idper the naming scheme indesign-decisions.md(left-sidenav,customers-list-table,customer-form-field-email,customer-row-{id}). IDs are the change-request vocabulary: never rename one once shipped, prefix screen-level ids with the screen name, and interpolate record keys into loop-generated ids. - Scrollbars must be visible. The theme ships 5px scrollbars with a near-invisible thumb (and hides some entirely), which makes scrollable panels unusable.
app-overrides.cssforces clearly visible, grabbable scrollbars everywhere (12px, contrasting thumb, light and dark variants) — never remove or override those rules, never usescrollbar-width: noneor::-webkit-scrollbar { display: none }, and neveroverflow: hiddenon a content panel. Any fixed-height panel getsoverflow-y: autoand must show its scrollbar when content overflows.
What ships with it
45 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/assets/css/app-overrides.css 1.5 KB
- examples/assets/css/bootstrap.min.css 188 KB
- examples/assets/css/theme.min.css 179 KB
- examples/assets/images/avatar/1.png 1.1 KB
- examples/assets/images/avatar/2.png 1.1 KB
- examples/assets/images/avatar/3.png 2.0 KB
- examples/assets/images/avatar/4.png 2.0 KB
- examples/assets/images/avatar/5.png 1.1 KB
- examples/assets/images/avatar/6.png 1.1 KB
- examples/assets/images/favicon.png 53 KB
- examples/assets/images/logo-abbr.png 53 KB
- examples/assets/images/logo-full.png 175 B
- examples/assets/js/common-init.min.js 7.3 KB runs code
- examples/assets/js/theme-customizer-init.min.js 21 KB runs code
- examples/assets/vendors/css/dataTables.bs5.min.css 11 KB
- examples/assets/vendors/css/select2.min.css 14 KB
- examples/assets/vendors/css/vendors.min.css 266 KB
- examples/assets/vendors/fonts/bootstrap-icons.woff 147 KB
- examples/assets/vendors/fonts/bootstrap-icons.woff2 110 KB
- examples/assets/vendors/fonts/fa-brands-400.ttf 177 KB
- examples/assets/vendors/fonts/fa-brands-400.woff2 103 KB
- examples/assets/vendors/fonts/fa-regular-400.ttf 59 KB
- examples/assets/vendors/fonts/fa-regular-400.woff2 23 KB
- examples/assets/vendors/fonts/fa-solid-900.ttf 381 KB
- examples/assets/vendors/fonts/fa-solid-900.woff2 151 KB
- examples/assets/vendors/fonts/fa-v4compatibility.ttf 9.8 KB
- examples/assets/vendors/fonts/fa-v4compatibility.woff2 4.7 KB
- examples/assets/vendors/fonts/feather.eot 80 KB
- examples/assets/vendors/fonts/feather.ttf 80 KB
- examples/assets/vendors/fonts/feather.woff 80 KB
- examples/assets/vendors/js/dataTables.bs5.min.js 2.1 KB runs code
- examples/assets/vendors/js/dataTables.min.js 84 KB runs code
- examples/assets/vendors/js/select2-active.min.js 4.3 KB runs code
- examples/assets/vendors/js/select2.min.js 71 KB runs code
- examples/assets/vendors/js/vendors.min.js 567 KB runs code
- examples/auth-login.html 6.1 KB
- examples/index.html 36 KB
- examples/partials/customer-form.html 15 KB
- examples/partials/customer-view.html 11 KB
- examples/partials/customers-list.html 22 KB
- references/assets.md 6.8 KB
- references/auth-layout.html 6.8 KB
- references/components.md 27 KB
- references/design-decisions.md 11 KB
- references/layout-skeleton.html 20 KB
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.
- 2d ago First seen · 43 lines · 78 tokens per session scan A 1dba334fa603
design-system is a skill published in the GitHub repository maludb-ed/htmx-php-builder (8 stars, last pushed 27d ago), licensed MIT. It adds 78 tokens to every session and 1,860 once invoked, about $0.0004 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-31.
Other skills, from other repositories
design-guide
Paperclip UI design system guide for building consistent, reusable frontend components. Use when creating new UI components, modifying existing ones, adding pages or features to the frontend, styling UI elements, or when you need to understand the design language and conventions. Covers: component creation, design…
Shade ShadCN install
Guardrails for running pnpm dlx shadcn@latest add in Shade — never overwrite existing components, fresh branch first, swap raw colours for semantic tokens after integrating. Trigger when the user proposes a shadcn add, or when a fresh ShadCN-shaped file lands in apps/shade/src/components/ui.
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
material-ui-tailwind
Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Use whenever the task produces or modifies anything a user will see rendered — websites, landing pages, web apps, dashboards, React/HTML/Vue components, artifacts with visual output, style overhauls, or "make this…
obsidian-layout-adjustment
Workflow for working with the user on changing how Obsidian looks using CSS snippets. Use this whenever the user asks to restyle Obsidian, tune a vault's visual layout, adjust tabs, sidebars, note surfaces, properties, backlinks, graph panes, file explorer rows, icons, links, shadows, active states, or CSS snippets.…