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 JinNing6/Noosphere --skill frontend-layering-specificity-debuggit clone --depth 1 https://github.com/JinNing6/NoosphereWrote 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/jinning6/noosphere/frontend-layering-specificity-debug)<a href="https://agentmods.dev/skills/jinning6/noosphere/frontend-layering-specificity-debug"><img src="https://agentmods.dev/badge/skills/jinning6/noosphere/frontend-layering-specificity-debug/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/jinning6/noosphere/frontend-layering-specificity-debug"><img src="https://agentmods.dev/badge/skills/jinning6/noosphere/frontend-layering-specificity-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- 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.00069 | $0.00666 |
| Opus 5.5 | $0.00028 | $0.00266 |
| Sonnet 5.5 | $0.00014 | $0.00133 |
| Haiku 4.5 | $0.00007 | $0.00067 |
Grade A, and why
frontend-layering-specificity-debug 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend Layering And Specificity Debug
Diagnose Before Styling
- Reproduce at the reported viewport and interaction state.
- Record bounding boxes plus computed
font-size,line-height,width,height, andz-index. - Compare equivalent element types. A
<button>and an<a>that share a component class but render differently usually indicate a selector or user-agent boundary. - Enumerate matched CSS rules instead of inferring from source order alone.
- Use
document.elementFromPoint()at the overlap to identify the element that actually paints or receives input.
Fix Typography Specificity
- Treat shorthand declarations such as
font: inheritas resettingfont-size,font-weight, andline-heighttogether. - Check specificity as well as order.
.app buttonoverrides.buttoneven when.buttonappears later. - In scoped resets, prefer
font-family: inheritand explicit inherited properties. Keep component-levelfont-sizeandline-heightauthoritative. - Add
white-space: nowraponly to stable command controls; use responsive label collapse when the toolbar cannot fit. - Verify computed styles on real
<button>,<a>,<input>, and<select>elements after the fix.
Fix Projected 3D Labels
- Remember that Drei
<Html>is projected DOM, not canvas pixels. Its defaultzIndexRangeis extremely high and can paint over an otherwise opaque drawer. - Assign a bounded range such as
zIndexRange={[8, 1]}for scene labels, then keep application chrome above it. - Do not keep increasing drawer z-index without identifying the projected label range and stacking context.
- Reserve real canvas width for persistent desktop drawers when labels or selected nodes would otherwise sit underneath them.
- Use semantic zoom: show detailed labels only for hover, selection, a focused domain, or an actual non-empty search match.
Regression Checks
Run desktop, compressed desktop, and mobile checks:
const style = getComputedStyle(control)
expect(style.fontSize).toBe('13px')
expect(document.body.scrollWidth).toBe(document.documentElement.clientWidth)
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.
- 1mo ago First seen · 60 lines · 69 tokens per session scan A 1c3675899430
frontend-layering-specificity-debug is a skill published in the GitHub repository JinNing6/Noosphere (18 stars, last pushed 4d ago), licensed Apache-2.0. It adds 69 tokens to every session and 666 once invoked, about $0.0003 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.
Other skills, from other repositories
react-component-performance
Diagnose slow React components and suggest targeted performance fixes.
migrate-oxlint
Guide for migrating a project from ESLint to Oxlint. Use when asked to migrate, convert, or switch a JavaScript/TypeScript project's linter from ESLint to Oxlint.
pre-action-interceptors
Use when a tool error begins with "INTERCEPTOR:", a sent message was silently hedged or rewritten, or the user asks about active guards or blocked actions. Not for ordinary tool errors.
observability
Periodic health sweep of the running system via the debug pipeline (cloud logs / k8s / daemon / DB slices). On a real anomaly, open a bug task (--kind workitem) carrying the evidence refs so it re-enters the bugfix loop. A healthy sweep opens NO task — never fabricate a bug.
prismer-python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
web-artifacts-builder
Suite of tools for creating elaborate, multi-component Prismer HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.