progressive-width-gated-status-rows

progressive-width-gated-status-rows is a skill for Claude Code, Codex from ychampion/cskill-agents. It costs 27 tokens per session (454 once invoked), scanned A, original, MIT.

A terminal layout pattern that decides which status details fit on the current line. It keeps important indicators visible while removing or shortening less important text when the window is narrow.

In plain words
What is it for?
Use it to render responsive spinner rows in command-line interfaces with changing terminal widths.
Why use it?
It prevents timers, token counts, and thinking text from overflowing or making terminal output hard to read.

Skill for Claude CodeCodex

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

Good fit Use it to render responsive spinner rows in command-line interfaces with changing terminal widths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ychampion/cskill-agents/progressive-width-gated-status-rows
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 progressive-width-gated-status-rows
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 progressive-width-gated-status-rows

README.md
[![agentmods](https://agentmods.dev/badge/skills/ychampion/cskill-agents/progressive-width-gated-status-rows/github.svg)](https://agentmods.dev/skills/ychampion/cskill-agents/progressive-width-gated-status-rows)
Your own site
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/progressive-width-gated-status-rows"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/progressive-width-gated-status-rows/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 progressive-width-gated-status-rows

Your own site · 80×15
<a href="https://agentmods.dev/skills/ychampion/cskill-agents/progressive-width-gated-status-rows"><img src="https://agentmods.dev/badge/skills/ychampion/cskill-agents/progressive-width-gated-status-rows.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 454 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.00454
Opus 5 $0.00014 $0.00227
Sonnet 5 $0.00005 $0.00091
Haiku 4.5 $0.00003 $0.00045

Measured 6d ago against content hash 1d1d4de7abc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

progressive-width-gated-status-rows 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 6d 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/progressive-width-gated-status-rows/SKILL.md · 28 lines

How it starts

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

SKILL: Progressive Width Gated Status Rows

Domain: status-rows Trigger: Apply this when terminal status rows need to show token counters, timers, and thinking text but must drop elements as available width shrinks. Source Pattern: Distilled from reviewed terminal rendering, layout, animation, and accessibility implementations.

Core Method

Treat the spinner row as three segments (timer, tokens, thinking) and calculate their widths against the current column count every animation frame. Start with the high-priority spinner glyph plus message, then gate the timer/tokens/thinking segments one by one: if there isn’t enough remaining width, drop the lowest-priority segment, and shrink the thinking text to a bare “thinking” label before giving up on showing it. Recompute using memoized string widths and reuse the shared animation clock so the gating logic runs only while the spinner is active.

Key Rules

  • Derive available space by subtracting the stable spinner glyph+message width from the terminal columns count; use that budget to decide which segments stay.
  • Prioritize segments: always keep the timer and tokens before thinking text, and only show thinking text when columns exceeds the sum of higher-priority segments.
  • When thinking text is “thinking” with effort suffix, shrink it to just “thinking” before hiding to avoid measuring long strings repeatedly.
  • Use the shared 50ms animation frame to update gating decisions so the outer spinner container can remain stable and offscreen components stay frozen.

Example Application

In a CLI showing tool outputs plus spinner, follow this skill by measuring string width for each segment and gating tokens/timers per frame, ensuring the row never wraps or pushes subsequent lines on narrow terminals.

Anti-Patterns (What NOT to do)

  • Don’t wrap the entire row anytime the viewport narrows; the spinner should breathe but not push other elements down.
  • Don’t re-render the spinner tree just to compute width; keep gating logic inside the animation loop and memoize widths to avoid extra layout churn.

Read the full file on GitHub · 28 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. 6d ago First seen · 28 lines · 27 tokens per session scan A 1d1d4de7abc9

Subscribe to this mod's changes

progressive-width-gated-status-rows 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 454 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-09-03.

Related

Other skills, from other repositories

beautify-with-pingfusi

Beautify or redesign an existing website through iterative pingfusi review rounds with a real human reviewer. Use when asked to "beautify this website," "make this page look professional," "polish this UI/design," "improve the visual design," or finish an AI-built page when there is no reference site to match. Do not…

alex-durango/pingfusi · 95 tokens

threejs

Build immersive 3D web experiences with Three.js - WebGL/WebGPU library for scenes, cameras, geometries, materials, lights, animations, loaders, post-processing, shaders (including node-based TSL), compute, physics, VR/XR, and advanced rendering. Use when creating 3D visualizations, games, interactive graphics, data…

ihatesea69/kiro-kit · 136 tokens

frontend-taste

Premium frontend design skills that override LLM defaults. Prevents generic 'AI-looking' UI. Enforces deterministic typography, calibrated color, asymmetric layouts, spring physics, hardware-accelerated motion. Triggers: 'UI tasarla', 'design a UI', 'premium landing page', 'frontend taste', 'anti-slop', 'dashboard…

fatihkan/badi · 0 tokens

design-tokens

Project-level DESIGN.md tokens reference. When the project has a DESIGN.md file, agents producing UI / components / visuals must consult this skill to use canonical color/typography/spacing tokens rather than inventing new ones. Triggers on: UI generation, component creation, design brief, visual asset, tailwind…

fatihkan/badi · 0 tokens

responsive-audit

Responsive audit: test pages at 375/768/1024px breakpoints via Playwright. Checks overflow, tap targets, sidebar collapse, text reflow, WCAG 1.4.4 zoom.

marcoguillermaz/Tierward · 0 tokens

ui-audit

Audit UI for design token compliance and component adoption. Static grep-based analysis against the sitemap's page and component files. Requires a design system with semantic tokens.

marcoguillermaz/Tierward · 35 tokens