scroll-areas

scroll-areas is a skill for Claude Code from dembrandt/dembrandt-skills. It costs 32 tokens per session (1,013 once invoked), scanned A, original, MIT.

A guide to handling content that might overflow its container and create a second scrollable region inside the page. It recommends page-level scrolling by default and, when inner scrolling is necessary, keeping it to one direction.

In plain words
What is it for?
Use it when designing panels, drawers, modals, data tables, chat or log panels, code editors, and other components that may need overflow. It helps decide whether an inner scroll area is justified.
Why use it?
Multiple scroll areas are easy to miss and force users to manage separate scroll positions. The guide helps avoid that confusion and suggests alternatives such as pagination, accordions, separate pages, or showing content on demand.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dembrandt plugin — 45 skills, 1 MCP server shipped together

Good fit Use it when designing panels, drawers, modals, data tables, chat or log panels, code editors, and other components that may need overflow. It helps decide whether an inner scroll area is justified.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dembrandt/dembrandt-skills/scroll-areas
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 dembrandt/dembrandt-skills --skill scroll-areas
Clone the repo
git clone --depth 1 https://github.com/dembrandt/dembrandt-skills

Made for: Claude Code.

Or install dembrandt, the plugin that ships this one along with the rest of its 45 skills, 1 MCP server.

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 scroll-areas

README.md
[![agentmods](https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/scroll-areas/github.svg)](https://agentmods.dev/skills/dembrandt/dembrandt-skills/scroll-areas)
Your own site
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/scroll-areas"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/scroll-areas/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 scroll-areas

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/scroll-areas"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/scroll-areas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,013 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
  • Socket pass 2 Oct 2026
  • Snyk pass 2 Oct 2026
  • 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.00032 $0.01013
Opus 5.5 $0.00013 $0.00405
Sonnet 5.5 $0.00006 $0.00203
Haiku 4.5 $0.00003 $0.00101

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

Security

Grade A, and why

scroll-areas 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 1mo 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.

skills/scroll-areas/SKILL.md · 112 lines

How it starts

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

Scroll Areas

Avoid Scroll Areas by Default

Scroll containers inside a layout — panels, drawers, tables, modals with inner overflow — create friction. Users must discover that a region scrolls, manage multiple independent scroll positions simultaneously, and context-switch between scroll areas on the same screen.

Default: let the page scroll. A single page-level scroll is universally understood and requires no discovery. Before introducing an inner scroll area, ask whether the layout can be restructured so the page itself handles the overflow.

Alternatives to inner scroll:

  • Pagination or load-more for long lists
  • Collapsible sections (accordion) for long detail panels
  • A separate page or route for content that would otherwise fill a scroll area
  • Progressive disclosure — show less by default, expand on demand

When a Scroll Area Is Justified

Some layouts genuinely require inner scroll:

  • Fixed-height sidebars with navigation trees longer than the viewport
  • Data tables where the header must remain visible while rows scroll
  • Chat or log panels where the stream is continuous and the surrounding layout is fixed
  • Code editors or terminal panes embedded in a larger application shell

In these cases, proceed — but apply the constraints below.

One Axis Only

Never create a scroll container that scrolls on both axes simultaneously. Two-axis scroll is disorienting, hard to control precisely, and nearly unusable on touch devices.

/* One axis: vertical */
overflow-y: auto;
overflow-x: hidden;

/* One axis: horizontal (e.g. wide table) */
overflow-x: auto;
overflow-y: hidden;

/* Never */
overflow: auto; /* allows both axes */

If content requires both axes — e.g. a wide table inside a constrained panel — restructure the layout so the table's horizontal scroll is the only scroll in the view, with the page itself not scrolling at that point.

Always User-Controlled

Scroll must never happen automatically without user intent. Specifically:

Read the full file on GitHub · 112 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. 1mo ago Changed · -23 tokens per session e557b0b5fd10
  2. 2mo ago First seen · 112 lines · 55 tokens per session scan A 345d0aa9f8d1

Subscribe to this mod's changes

scroll-areas is a skill published in the GitHub repository dembrandt/dembrandt-skills (183 stars, last pushed 5d ago), licensed MIT. It adds 32 tokens to every session and 1,013 once invoked, about $0.0001 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-08-30.

Related

scroll-areas compared with skills from other repositories

scroll-areas next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scroll-areasdembrandt/dembrandt-skillsSkill1835d agoMITA32Claude Code
indian-gov-web-uiYashraj00700/indian-gov-ui-skillsSkill23mo agoMITA95Claude Code, Codex
ux4g-design-systemYashraj00700/indian-gov-ui-skillsSkill23mo agoMITA147Claude Code, Codex
design-doctrineplugin87/ux-ui-agent-skillsSkill3.1k10d agoMITA92Claude Code
image-to-codeplugin87/ux-ui-agent-skillsSkill3.1k10d agoMITA77Claude Code
design-dnazanwei/design-dnaSkill2.1k2mo agoMITA192Claude Code, Codex
desktop-principlesAThevon/genjutsuSkill7493d agononeA36Claude Code