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.
npx skills add dembrandt/dembrandt-skills --skill sticky-and-fixed-elementsgit clone --depth 1 https://github.com/dembrandt/dembrandt-skillsWrote 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.
[](https://agentmods.dev/skills/dembrandt/dembrandt-skills/sticky-and-fixed-elements)<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/sticky-and-fixed-elements"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/sticky-and-fixed-elements/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.
<a href="https://agentmods.dev/skills/dembrandt/dembrandt-skills/sticky-and-fixed-elements"><img src="https://agentmods.dev/badge/skills/dembrandt/dembrandt-skills/sticky-and-fixed-elements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.01059 |
| Opus 5.5 | $0.00013 | $0.00424 |
| Sonnet 5.5 | $0.00007 | $0.00212 |
| Haiku 4.5 | $0.00003 | $0.00106 |
Grade A, and why
sticky-and-fixed-elements 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sticky and Fixed Elements
position: fixed vs position: sticky
| Property | Behaviour | Use for |
|---|---|---|
position: fixed |
Removed from document flow. Always stays at the same viewport position regardless of scroll or parent. | Global navigation header, bottom toolbar, floating action button |
position: sticky |
Stays in document flow until it hits its scroll threshold, then locks in place. Returns to flow when parent scrolls past. | Table column headers, section headings in a long list, in-page toolbars within a scroll container |
Prefer sticky over fixed when the element belongs to a specific section or scroll context. Fixed elements sit above everything and affect the entire viewport — use them only for truly global UI.
Top — Navigation Header
The global navigation header is the most common fixed element. It should:
- Remain visible at all times so the user can always navigate away
- Be as thin as possible to maximise content area — 48–64px is a common range
- Have a background and shadow so content scrolling beneath it does not bleed through
- On scroll, a subtle shadow (
--shadow-sm) signals that content is behind it
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--header-height);
background: var(--color-surface);
box-shadow: var(--shadow-sm);
z-index: var(--z-header);
}
Compensate for the fixed header with matching top padding on the page body:
body { padding-top: var(--header-height); }
Bottom — Toolbar on Mobile
On mobile, the bottom of the screen is the most reachable area with one thumb. A persistent bottom toolbar is the natural home for:
- Primary navigation (bottom tab bar — iOS and Android convention)
- Contextual actions for the current view (edit, share, delete)
- A floating action button (FAB) for the single most important action
Bottom toolbars should:
- Respect the safe area inset on devices with a home indicator:
padding-bottom: env(safe-area-inset-bottom) - Be visually separated from content (background fill, top border, or shadow)
- Contain 3–5 items maximum — more than 5 should move to a menu or a different pattern
- Use icons with labels for navigation tabs, or icons alone for contextual toolbars (with tooltips)
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.
- 10d ago Changed · -38 lines 7824261a242d
- 1mo ago Changed · -33 tokens per session c45f6f3fa3e3
- 3mo ago First seen · 146 lines · 66 tokens per session scan A 484c924371ee
sticky-and-fixed-elements is a skill published in the GitHub repository dembrandt/dembrandt-skills (245 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,059 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.
sticky-and-fixed-elements compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sticky-and-fixed-elementsdembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 33 | Claude Code |
| indian-gov-web-uiYashraj00700/indian-gov-ui-skills | Skill | 2 | 4mo ago | MIT | A | 95 | Claude Code, Codex |
| ux4g-design-systemYashraj00700/indian-gov-ui-skills | Skill | 2 | 4mo ago | MIT | A | 147 | Claude Code, Codex |
| design-doctrineplugin87/ux-ui-agent-skills | Skill | 3.3k | 12d ago | MIT | A | 92 | Claude Code |
| image-to-codeplugin87/ux-ui-agent-skills | Skill | 3.3k | 12d ago | MIT | A | 77 | Claude Code |
| design-dnazanwei/design-dna | Skill | 2.2k | 3mo ago | MIT | A | 192 | Claude Code, Codex |
| kernel-uikemiljk/kernel-ui | Skill | 35 | today | MIT | A | 56 | Claude Code, Codex |