ui-context-and-scope

ui-context-and-scope is a skill for Claude Code from dembrandt/dembrandt-skills. It costs 34 tokens per session (2,043 once invoked), scanned A, original, MIT.

A guide to showing users where they are, what section or record they are viewing, and what their actions will affect. It uses structure such as regions, labels, breadcrumbs, lines, and background areas to make context clear.

In plain words
What is it for?
Use it when designing dashboards, workspaces, deep navigation, sidebars, contextual panels, and actions that affect a particular item or area.
Why use it?
When context is unclear, users can feel lost or change the wrong thing. Clear scope and hierarchy make complex products easier to understand and safer to use.

Skill for Claude Code

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

Part of the dembrandt plugin — 45 skills shipped together

Good fit Use it when designing dashboards, workspaces, deep navigation, sidebars, contextual panels, and actions that affect a particular item or area.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dembrandt/dembrandt-skills/ui-context-and-scope
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 ui-context-and-scope
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.

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 ui-context-and-scope

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/ui-context-and-scope"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/ui-context-and-scope.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,043 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 19 Nov 2026
  • Snyk pass 19 Nov 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.00034 $0.02043
Opus 5.5 $0.00014 $0.00817
Sonnet 5.5 $0.00007 $0.00409
Haiku 4.5 $0.00003 $0.00204

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

Security

Grade A, and why

ui-context-and-scope 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 10d 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.

directory/skills/ui-context-and-scope/SKILL.md · 125 lines

How it starts

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

UI Context and Scope

Users need to know three things at all times:

  1. Where am I? — current location in the product hierarchy
  2. What context am I in? — which section, record, or workspace is active
  3. What will my actions affect? — scope of changes before committing them

When these are unclear, users make mistakes, feel lost, and lose trust in the product.

Communicating Hierarchy with Visual Structure

Lines and Dividers

Horizontal rules and borders signal the boundary between sections. Use them to separate content areas that belong to different contexts — not just for decoration.

  • A line between a header and content says "the content below belongs to this header"
  • A sidebar border says "this is a different region with a different purpose"
  • Avoid overusing dividers — proximity and whitespace should do most of the work; dividers reinforce where space alone is insufficient

Colour Regions and Background Fills

Background colour is one of the strongest signals for "you are now in a different area."

  • Use a distinct background shade for sidebars, panels, or contextual drawers
  • Active or selected regions benefit from a subtle fill to confirm "this is the current context"
  • When a user's changes are scoped to a specific section, that section should be visually bounded — border, fill, or both — so the scope is self-evident before the user commits

Section Labels and Context Headers

Every major region should be able to answer "what am I?" without the user having to read surrounding content.

  • Name sections with the user's vocabulary, not the system's
  • Show the active entity: "Editing: Invoice #2041" or "Settings for: Workspace" — not just "Settings"
  • In forms that affect a specific record, show the record name prominently in the form header

Breadcrumbs

Show breadcrumbs from the second level down; leave them off top-level pages, where they would only repeat the page title. Start from the page's parent in the navigation's own words. Do not prefix a generic home crumb that names nothing in the navigation.

Read the full file on GitHub · 125 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. 10d ago Changed · -55 lines 8f406602750f
  2. 1mo ago Changed · -26 tokens per session d8e172a74f46
  3. 2mo ago Changed · +13 lines 9f1b4f9f0c4a
  4. 3mo ago First seen · 167 lines · 60 tokens per session scan A 0fbe6ccfbd94

Subscribe to this mod's changes

ui-context-and-scope is a skill published in the GitHub repository dembrandt/dembrandt-skills (245 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 2,043 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

ui-context-and-scope compared with skills from other repositories

ui-context-and-scope next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-context-and-scopedembrandt/dembrandt-skillsSkill245yesterdayMITA34Claude Code
design-dnazanwei/design-dnaSkill2.2k3mo agoMITA192Claude Code, Codex
dbim-brand-identityYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA117Claude Code, Codex
indian-gov-web-uiYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA95Claude Code, Codex
ux4g-design-systemYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA147Claude Code, Codex
gov-service-patternsYashraj00700/indian-gov-ui-skillsSkill24mo agoMITA115Claude Code, Codex
ui-ux-lawsAmirGhl/ui-ux-lawsSkill24mo agoMITA203Claude Code, Codex