loading-screens

loading-screens is a skill for Claude Code from Kevin-Liu-01/Agent-Machines. It costs 47 tokens per session (1,042 once invoked), scanned A, original, MIT.

A set of rules for building loading indicators, such as animated spinners and skeleton placeholders that preserve a page's layout while content loads.

In plain words
What is it for?
Use it when adding or replacing loading indicators, designing loading screens, or standardizing spinner and skeleton components.
Why use it?
It prevents blank screens and inconsistent loading states. It also helps keep loading indicators sized and styled appropriately for their context.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when adding or replacing loading indicators, designing loading screens, or standardizing spinner and skeleton components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevin-liu-01/agent-machines/loading-screens
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 Kevin-Liu-01/Agent-Machines --skill loading-screens
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Agent-Machines

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 loading-screens

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/loading-screens/github.svg)](https://agentmods.dev/skills/kevin-liu-01/agent-machines/loading-screens)
Your own site
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/loading-screens"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/loading-screens/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 loading-screens

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/loading-screens"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/loading-screens.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00047 $0.01042
Opus 5 $0.00023 $0.00521
Sonnet 5 $0.00009 $0.00208
Haiku 4.5 $0.00005 $0.00104

Measured 9d ago against content hash e79066469b50, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

loading-screens 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 9d 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.

knowledge/skills/loading-screens/SKILL.md · 145 lines

How it starts

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

Loading Screens

Braille Unicode spinners are the canonical loading indicator. Skeletons for layout preservation. Never a blank screen.

Wiki reference

Read ~/Documents/GitHub/kevin-wiki/wiki/design/loading-screens.md for the full design rationale, anti-patterns, and loading screen hierarchy.

Component

The BrailleSpinner lives at apps/website/components/ui/braille-spinner.tsx.

import { BrailleSpinner } from "@/components/ui/braille-spinner";

Props

Prop Type Default Description
name BrailleSpinnerName "braille" Which spinner animation
label string Text after the spinner character
className string Tailwind classes (sizing, color)

Sizing map

Context Class
Tiny (upvote, badge) text-xs
Button inline text-sm
Default body text-base
Section header text-lg
Page overlay text-2xl

Color

Inherit from parent with text-current, or set explicitly:

  • text-muted-foreground — default loading states
  • text-primary — branded actions (billing, key generation)
  • text-destructive — destructive action in progress

Patterns

Page-level loading (Next.js loading.tsx)

Braille spinner overlay + skeleton layout matching the page structure:

import { BrailleSpinner } from "@/components/ui/braille-spinner";
import { Skeleton } from "@/components/ui/skeleton";

export default function PageLoading() {
  return (
    <div>
      <div className="pointer-events-none fixed inset-0 z-50 flex items-center justify-center">
        <BrailleSpinner name="braille" className="text-muted-foreground text-2xl" />
      </div>
      <Skeleton className="h-8 w-48" />
      <Skeleton className="h-4 w-96" />
    </div>
  );
}

Button loading

Replace button text with spinner + label:

<Button disabled={isLoading}>
  {isLoading ? (
    <BrailleSpinner name="braille" label="Saving..." className="text-sm" />
  ) : (
    "Save"
  )}
</Button>

Read the full file on GitHub · 145 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. 9d ago First seen · 145 lines · 47 tokens per session scan A e79066469b50

Subscribe to this mod's changes

loading-screens is a skill published in the GitHub repository Kevin-Liu-01/Agent-Machines (29 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,042 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

service-portal-pages

The container side of Service Portal — the spportal → sppage → sprow → spcolumn → spinstance hierarchy, why widget options belong on the instance and not the widget, cloning pages, and what is theme (sptheme, spbrand, spcss) rather than page.

serac-labs/serac · 63 tokens

cross-browser-typography-qa

Use this skill when web text looks clipped, flattened, wrapped incorrectly, misaligned, or materially different between Chromium and WebKit/Safari. Treat text rendering as both a geometry problem and a visual paint problem: passing DOM bounds does not prove that every glyph is intact.

AtlasOmnia/donna-starter · 56 tokens

skill-export-page

Skill "skill-export-page" from theYahia/WWmcp, covering /skill-export-page, algorithm and examples.

theYahia/WWmcp · 9 tokens

theme

Apply brand and visual direction in a Mantle application using its repo-owned theme and UI contracts.

aotter/mantle · 21 tokens

design-taste-frontend

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

dmae97/omk · 61 tokens