capability-based-spinner-glyph-selection

capability-based-spinner-glyph-selection is a skill for Claude Code, Codex from ychampion/cskill-agents. It costs 27 tokens per session (426 once invoked), scanned A, original, MIT.

A coding guide for choosing terminal spinner symbols and colors according to screen capabilities, motion preferences, and whether work has stalled.

In plain words
What is it for?
Building terminal spinners that change their symbol, color, or dimming without creating extra animation timers.
Why use it?
It helps keep progress indicators readable and less distracting across different terminals and accessibility settings.

Skill for Claude CodeCodex

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

Good fit Building terminal spinners that change their symbol, color, or dimming without creating extra animation timers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection
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 ychampion/cskill-agents --skill capability-based-spinner-glyph-selection
Clone the repo
git clone --depth 1 https://github.com/ychampion/cskill-agents

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 capability-based-spinner-glyph-selection

README.md
[![agentmods](https://agentmods.dev/badge/skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection/github.svg)](https://agentmods.dev/skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection)
Your own site
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection/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 capability-based-spinner-glyph-selection

Your own site · 80×15
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/capability-based-spinner-glyph-selection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 426 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.00027 $0.00426
Opus 5 $0.00014 $0.00213
Sonnet 5 $0.00005 $0.00085
Haiku 4.5 $0.00003 $0.00043

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

Security

Grade A, and why

capability-based-spinner-glyph-selection 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.

agents/claude-code/skills/capability-based-spinner-glyph-selection/SKILL.md · 28 lines

What it actually says

SKILL: Capability Based Spinner Glyph Selection

Domain: spinner-states Trigger: Use when building a spinner glyph that must adapt to reduced-motion settings, theme colors, and stalled intensity while keeping the animation loop small. Source Pattern: Distilled from reviewed terminal rendering, layout, animation, and accessibility implementations.

Core Method

Build the spinner glyph as a small composable component that decides on its character set and color per frame rather than swapping the whole spinner. Keep the spinner polymorphic: one glyph for the normal cycle, a single-dot fallback under reduced-motion, and an interpolated color path when the state is stalled. Have the component recompute only what changed (glyph, color, dimming flag) so the Ink renderer can reuse cached Box/Text nodes.

Key Rules

  • Drive the glyph selection from shared state (frame count, reduced-motion flag, stall intensity) and avoid new timers per spinner.
  • Only swap glyphs/text nodes when the computed glyph, color, or reduced-motion dim state differs from the cached values.
  • Interpolate colors through the theme lookup when stall intensity is positive; fall back to semantic names such as error if the RGB parse fails.
  • Provide a single-dot glyph for reduced-motion and let dimColor toggle per half-cycle so motion is still perceivable without rapid frames.

Example Application

When writing a database CLI spinner, reuse this skill by feeding the shared 50ms clock, the stalledIntensity derived from tool activity, and the host theme, and let the spinner component pick a glyph and color per frame instead of re-rendering the entire line.

Anti-Patterns (What NOT to do)

  • Don’t hardcode a single glyph or color and rerender the whole spinner on every frame.
  • Don’t duplicate the timer logic inside each spinner; share the clock and only recompute derived glyph/color values when the inputs change.
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 · 28 lines · 27 tokens per session scan A f6c1f53d94e0

Subscribe to this mod's changes

capability-based-spinner-glyph-selection is a skill published in the GitHub repository ychampion/cskill-agents (36 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 426 once invoked, about $0.0001 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.

Related

Other skills, from other repositories