loading-states

loading-states is a skill for Claude Code from Infrasity-Labs/dev-gtm-claude-skills. It costs 15 tokens per session (344 once invoked), scanned A, a copy of loading-states, MIT.

A guide for designing what users see while page content is still loading, including skeleton shapes, spinners, progress bars, and gradual content reveal. A skeleton screen is a placeholder that shows the expected shape of content before the real content arrives.

In plain words
What is it for?
It helps choose loading indicators, decide when to load important or below-the-fold content, design placeholders, and plan optimistic updates that are corrected if a server request fails.
Why use it?
It helps users understand that a page is working and reduces confusion during waits. It also distinguishes between short waits, unknown durations, measurable progress, and failed actions that need to be reversed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the marketing-skills plugin — 166 skills, 8 commands, 23 agents, 1 hook shipped together , and of writing-skills

Good fit It helps choose loading indicators, decide when to load important or below-the-fold content, design placeholders, and plan optimistic updates that are corrected if a server request fails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/infrasity-labs/dev-gtm-claude-skills/loading-states
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 Infrasity-Labs/dev-gtm-claude-skills --skill loading-states
Clone the repo
git clone --depth 1 https://github.com/Infrasity-Labs/dev-gtm-claude-skills

Made for: Claude Code.

Or install marketing-skills, the plugin that ships this one along with the rest of its 166 skills, 8 commands, 23 agents, 1 hook.

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-states

README.md
[![agentmods](https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/loading-states/github.svg)](https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/loading-states)
Your own site
<a href="https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/loading-states"><img src="https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/loading-states/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-states

Your own site · 80×15
<a href="https://agentmods.dev/skills/infrasity-labs/dev-gtm-claude-skills/loading-states"><img src="https://agentmods.dev/badge/skills/infrasity-labs/dev-gtm-claude-skills/loading-states.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 344 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 89% copy Near-identical to another mod 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.00015 $0.00344
Opus 5.5 $0.00006 $0.00138
Sonnet 5.5 $0.00003 $0.00069
Haiku 4.5 $0.00002 $0.00034

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

Security

Grade A, and why

loading-states 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 7d 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.

Origin

This is a copy

89% identical to loading-states — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/loading-states/SKILL.md · 37 lines

What it actually says

Loading States

You are an expert in designing loading experiences that maintain user confidence and perceived performance.

What You Do

You design loading patterns that keep users informed and reduce perceived wait time.

Loading Patterns

Skeleton Screens

Show the layout shape before content loads. Use for known content structure. Animate with subtle shimmer.

Spinner/Progress

Indeterminate spinner for unknown duration. Determinate progress bar when progress is measurable. Keep spinners small and unobtrusive.

Progressive Loading

Load critical content first, enhance progressively. Lazy-load below-fold content. Blur-up images (low-res placeholder to full).

Optimistic UI

Show the expected result immediately. Reconcile with server response. Roll back if the action fails.

Placeholder Content

Show placeholder text/images while loading. Use realistic proportions. Transition smoothly to real content.

Duration Guidelines

  • Under 100ms: no loading indicator needed
  • 100ms-1s: subtle indicator (opacity change, skeleton)
  • 1-10s: clear loading state with progress if possible
  • Over 10s: detailed progress, time estimate, background option

Transition Behavior

  • Fade content in (don't pop)
  • Stagger items for lists (30-50ms intervals)
  • Avoid layout shifts when content loads
  • Maintain scroll position on content refresh

Best Practices

  • Show something immediately (never a blank screen)
  • Match skeleton shapes to actual content
  • Avoid multiple competing loading indicators
  • Provide cancel/back options for long loads
  • Test on slow connections
  • Respect reduced-motion for shimmer animations
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. 7d ago First seen · 37 lines · 15 tokens per session scan A fa36367bf1fc

Subscribe to this mod's changes

loading-states is a skill published in the GitHub repository Infrasity-Labs/dev-gtm-claude-skills (193 stars, last pushed 7d ago), licensed MIT. It adds 15 tokens to every session and 344 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to loading-states, differing in 2 lines, and is treated as a copy.

Related

loading-states compared with skills from other repositories

loading-states next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loading-statesInfrasity-Labs/dev-gtm-claude-skillsSkill1937d agoMITA15Claude Code
slop-evalfabricioctelles/skillsSkill1504d agoApache-2.0A142Claude Code, Codex
themingnimadorostkar/Claude-Skills-collectionSkill41todayMITA88Claude Code
design-systemsnimadorostkar/Claude-Skills-collectionSkill41todayMITA97Claude Code
ape-designarpitbbhayani/ape-skillsSkill571mo agoMITA80Claude Code, Codex
array-ui-reviewarpitbbhayani/ape-skillsSkill571mo agoMITA92Claude Code, Codex
color-accessibilitytkolleh/skillsSkill26d agoMITA109Claude Code, Codex