maintain-design-system-page

maintain-design-system-page is a skill for Claude Code, Codex from lossless-group/lossless-agent-skills. It costs 155 tokens per session (1,191 once invoked), scanned A, original, MIT.

A maintenance procedure for the in-site component catalogue and brand page on Astro Knots websites. It keeps the design-system page, which documents reusable interface components, in sync with the components used in the live site instead of a separate tool such as Storybook.

In plain words
What is it for?
Use it when creating or changing components, variants, properties, design tokens, fonts, or marks, and when setting up the site's design-system page.
Why use it?
It prevents the component documentation from drifting away from the actual site. It also makes component and brand changes part of the same change as their documentation.

Skill for Claude CodeCodex

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

Good fit Use it when creating or changing components, variants, properties, design tokens, fonts, or marks, and when setting up the site's design-system page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lossless-group/lossless-agent-skills/maintain-design-system-page
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.

Any agent
npx skills add lossless-group/lossless-agent-skills --skill maintain-design-system-page
Clone the repo
git clone --depth 1 https://github.com/lossless-group/lossless-agent-skills

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 maintain-design-system-page

README.md
[![agentmods](https://agentmods.dev/badge/skills/lossless-group/lossless-agent-skills/maintain-design-system-page/github.svg)](https://agentmods.dev/skills/lossless-group/lossless-agent-skills/maintain-design-system-page)
Your own site
<a href="https://agentmods.dev/skills/lossless-group/lossless-agent-skills/maintain-design-system-page"><img src="https://agentmods.dev/badge/skills/lossless-group/lossless-agent-skills/maintain-design-system-page/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 maintain-design-system-page

Your own site · 80×15
<a href="https://agentmods.dev/skills/lossless-group/lossless-agent-skills/maintain-design-system-page"><img src="https://agentmods.dev/badge/skills/lossless-group/lossless-agent-skills/maintain-design-system-page.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 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.00155 $0.01191
Opus 5.5 $0.00062 $0.00476
Sonnet 5.5 $0.00031 $0.00238
Haiku 4.5 $0.00015 $0.00119

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

Security

Grade A, and why

maintain-design-system-page 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 20d 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.

maintain-design-system-page/SKILL.md · 96 lines

How it starts

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

Maintain the design system page

Every Astro Knots site ships two internal reference pages instead of Storybook:

/brand-kit /design-system
For Stakeholders, client marketing Developers and agents
Answers "What does this brand look and feel like?" "What component do I use, and how?"
Changes Rarely, when the brand evolves With every component

They render components in the site's real theme, modes, fonts and layout, so the catalog can't drift from production the way a separate tool does. The reasoning and full contract are in the astro-knots blueprint Maintain-Design-System-and-Brandkit-Motions. This skill is the procedure.

The rule that keeps it alive

A component change and its catalog entry land in the same change. New component, new variant, new prop, a component extracted from a spike: the /design-system entry is updated in the same commit, never "later".

Brand changes (a new token, font or mark) go to /brand-kit first, then to the rest of the site.

Setting it up (when it's missing)

  • src/pages/design-system/index.astro (rename a legacy component-library.astro to this when you touch it), and src/pages/brand-kit/index.astro.
  • Both use the site's base theme layout, show the theme and mode toggle at the top, render correctly in light, dark and vibrant, and emit <meta name="robots" content="noindex, nofollow">.
  • Not linked from public navigation. Nothing confidential on them: assume the URL gets shared by accident.
  • When the index gets long, split into sub-pages by family (src/pages/design-system/cards.astro, .../people.astro) and keep the index as a linked table of contents. sites/dark-matter is the reference for sub-page granularity.

One entry per component (or family)

  1. Name and one line on what it's for.
  2. Live render, using the real component with realistic content, not a mock wrapper.
  3. Variants side by side: every meaningful prop combination.
  4. Props: name, type, default, one-line meaning.
  5. CSS contract: the semantic tokens it reads (--color-*, --fx-*) and any required ancestor ([data-mode], a theme class).
  6. Usage: a short import-and-use code block.
  7. Accessibility, only when non-trivial: keyboard, ARIA, focus.

Read the full file on GitHub · 96 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. 20d ago First seen · 96 lines · 155 tokens per session scan A d967b206dffd

Subscribe to this mod's changes

maintain-design-system-page is a skill published in the GitHub repository lossless-group/lossless-agent-skills (4 stars, last pushed yesterday), licensed MIT. It adds 155 tokens to every session and 1,191 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-11-10.

Related

maintain-design-system-page compared with skills from other repositories

maintain-design-system-page next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maintain-design-system-pagelossless-group/lossless-agent-skillsSkill4yesterdayMITA155Claude Code, Codex
gsd-sketchopen-gsd/gsd-coreSkill12kyesterdayMITA27Claude Code
gsd-ui-phaseopen-gsd/gsd-coreSkill12kyesterdayMITA18Claude Code
gsd-ui-reviewopen-gsd/gsd-coreSkill12kyesterdayMITA17Claude Code
top-designwondelai/skillsSkill2.8k9d agoMITA113Claude Code, Codex
web-typographywondelai/skillsSkill2.8k9d agoMITA128Claude Code, Codex
userinterface-wikiopen-gsd/gsd-piSkill1.4k2d agoMITA52Claude Code, Codex