mobile-sticky-drawer-theme-glitch

mobile-sticky-drawer-theme-glitch is a skill for Claude Code, Codex from mhrsdev/AI-Agent-Skills-Library. It costs 87 tokens per session (707 once invoked), scanned A, original, MIT.

A troubleshooting guide for mobile navigation drawers and light/dark theme switching in static HTML, CSS, and JavaScript websites.

In plain words
What is it for?
Use it to reproduce and fix mobile hamburger-menu problems while keeping the desktop layout unchanged.
Why use it?
It helps find bugs that appear only after scrolling or when navigation, fixed layers, scrolling, and theme changes interact.

Skill for Claude CodeCodex

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

Good fit Use it to reproduce and fix mobile hamburger-menu problems while keeping the desktop layout unchanged.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch
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 mhrsdev/AI-Agent-Skills-Library --skill mobile-sticky-drawer-theme-glitch
Clone the repo
git clone --depth 1 https://github.com/mhrsdev/AI-Agent-Skills-Library

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 mobile-sticky-drawer-theme-glitch

README.md
[![agentmods](https://agentmods.dev/badge/skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch/github.svg)](https://agentmods.dev/skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch)
Your own site
<a href="https://agentmods.dev/skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch"><img src="https://agentmods.dev/badge/skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch/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 mobile-sticky-drawer-theme-glitch

Your own site · 80×15
<a href="https://agentmods.dev/skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch"><img src="https://agentmods.dev/badge/skills/mhrsdev/ai-agent-skills-library/mobile-sticky-drawer-theme-glitch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 707 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.00087 $0.00707
Opus 5 $0.00044 $0.00353
Sonnet 5 $0.00017 $0.00141
Haiku 4.5 $0.00009 $0.00071

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

Security

Grade A, and why

mobile-sticky-drawer-theme-glitch 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 12d 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.

organized-skills/frontend-ui-design/mobile-sticky-drawer-theme-glitch/SKILL.md · 63 lines

How it starts

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

Mobile Sticky Drawer Theme Glitch

Use this skill for static or lightly enhanced frontend sites where mobile navigation and theme switching interact badly with scroll position. Keep desktop behavior visually unchanged.

Workflow

  1. Build a mobile repro before editing.

    • Use a viewport like 390x844.
    • Test menu open at scrollY = 0.
    • Close, scroll to the middle of the page, then open again.
    • Capture getBoundingClientRect() for the header, drawer, backdrop, and a theme button.
    • Check html/body classes and inline styles before open, during open, after theme switch, and after close.
  2. Look for this failure signature.

    • The drawer has position: fixed, but its top becomes negative after opening from a scrolled page.
    • The backdrop does not cover the full viewport.
    • The drawer/backdrop live inside a position: sticky header.
    • Opening the menu adds overflow: hidden to html or body.
    • A broad selector such as body.is-theme-switching * overrides transitions for every element.
  3. Fix the layer model first.

    • Keep desktop nav markup and layout intact.
    • On mobile open, move the mobile drawer and backdrop to a body-level layer, or render a dedicated body-level mobile drawer.
    • Restore the nodes when the menu closes or when the viewport returns to desktop.
    • Closed drawer and backdrop must remain inert: hidden plus pointer-events: none.
  4. Fix scroll locking deliberately.

    • Store the current scrollY when opening.
    • Lock mobile body with fixed positioning and top: -scrollYpx.
    • On close, remove inline lock styles and restore the saved scroll position.
    • Ensure every close path cleans nav-open, is-open, body styles, and html styles.
  5. Fix theme switching narrowly.

    • Do not transition every element and pseudo-element on mobile.
    • Preserve drawer transform and backdrop opacity transitions.
    • Limit theme transitions to color/background/border/shadow on named surfaces and controls.
    • Theme buttons inside the drawer must not leave the menu locked or scrolled to the top.

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 63 lines · 87 tokens per session scan A 5d85ce5ed9ca

Subscribe to this mod's changes

mobile-sticky-drawer-theme-glitch is a skill published in the GitHub repository mhrsdev/AI-Agent-Skills-Library (6 stars, last pushed 2mo ago), licensed MIT. It adds 87 tokens to every session and 707 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

mockup-extraction

Extract reusable components from approved HTML mockups during implementation. Identifies patterns, maps CSS to Tailwind, and populates prototype-patterns.md for visual fidelity. Use at start of /implement for UI-first features.

marcusgoll/Spec-Flow · 48 tokens

shadcn-integration

Integration guide for shadcn/ui components with OKLCH design tokens. Use when setting up shadcn, customizing themes, or adding components to Next.js projects. Auto-trigger on /init --tokens --shadcn flag.

marcusgoll/Spec-Flow · 53 tokens

web-clone

URL-driven website cloning with visual + functional verification.

IAPro-Community/Orquestrador-Maestro · 13 tokens

skill-premium-web-experience

Use for creating, redesigning, or transforming websites into premium, cinematic, conversion-focused web experiences with visual research, storytelling, scroll-driven interaction, responsive design, motion, performance, accessibility, and visual QA.

IAPro-Community/Orquestrador-Maestro · 49 tokens

skill-frontend-ux-guardrails

Use as a frontend UX quality gate for responsive behavior, overflow, accessibility, interaction usability, touch targets, typography, layout stability, mobile behavior, focus states, reduced motion, and final visual validation.

IAPro-Community/Orquestrador-Maestro · 49 tokens

skill-modern-ui-patterns

Use for professional frontend UI implementation with modern component composition, interaction states, forms, tables, cards, navigation, dashboards, SaaS surfaces, and maintainable design-system consistency.

IAPro-Community/Orquestrador-Maestro · 41 tokens