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 d-o-hub/github-template-ai-agents --skill css-render-performancegit clone --depth 1 https://github.com/d-o-hub/github-template-ai-agentsWrote 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/d-o-hub/github-template-ai-agents/css-render-performance)<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/css-render-performance"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/css-render-performance/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/d-o-hub/github-template-ai-agents/css-render-performance"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/css-render-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00079 | $0.01039 |
| Opus 5.5 | $0.00032 | $0.00416 |
| Sonnet 5.5 | $0.00016 | $0.00208 |
| Haiku 4.5 | $0.00008 | $0.00104 |
Grade A, and why
css-render-performance 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 — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CSS Render Performance
Guide CSS render performance analysis and optimization for smooth, jank-free user interfaces.
When to Use
- User asks about CSS animation performance or janky transitions
- Reviewing scroll-heavy UIs or long lists for render performance
- Even if they just say "this animation is janky" or "optimize the CSS"
Quick Check
- Profile with Chrome DevTools Performance tab (look for Long Frames)
- Check which CSS properties trigger layout vs paint vs composite
- Verify
will-changeis used sparingly (max 2-3 elements simultaneously) - Test on throttled CPU (4x) and slow network to simulate user devices
- Confirm no layout-triggering properties in animations (width, height, top, left)
Core Concepts
| Phase | What It Does | Cost | CSS Properties That Trigger It |
|---|---|---|---|
| Layout | Calculate geometry | Expensive | width, height, margin, padding, border, position, display, flex, grid |
| Paint | Fill in pixels | Expensive | color, background, box-shadow, visibility, border-radius |
| Composite | Layer on GPU | Cheap | transform, opacity |
Goal: Animate only composite-layer properties (transform, opacity) to avoid layout and paint.
Optimization Strategies
Promote Layers
Force elements onto their own compositing layer for GPU-accelerated animation:
.animated-element {
transform: translateZ(0); /* or will-change: transform */
}
Use will-change sparingly — it tells the browser to pre-allocate GPU memory.
CSS Containment
Isolate DOM sub-trees to limit layout/paint scope:
.card {
contain: layout paint;
}
Content Visibility
Skip rendering for off-screen content in long lists:
.offscreen-item {
content-visibility: auto;
contain-intrinsic-size: 0 500px;
}
Decision Flowchart
Is the element animating?
├── Yes → Which property?
│ ├── transform or opacity → ✓ Safe (composite only)
│ ├── width, height, top, left → ✗ Triggers layout — refactor
│ ├── background, color → ⚠ Triggers paint — use contain or promote layer
│ └── Multiple properties → Consider FLIP technique or Web Animations API
└── No → Is it in a scrollable container?
├── Yes → Apply content-visibility: auto
└── No → Check for unnecessary repaints on state changes
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.
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 · 121 lines · 79 tokens per session scan A f6be04085def
css-render-performance is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 79 tokens to every session and 1,039 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-31.
Other skills, from other repositories
slopmop
Trigger when you would normally reach for pytest, gh, mypy, black, or other raw repo tooling. Redirect to sm swab, sm scour, sm buff, sm sail, sm refit, or sm doctor so remediation follows the established rails. Also trigger when asked to "install" or "set up" slop-mop in a repo, or when you find a repo with sm…
performance-patterns
Use when user asks about N+1 queries, performance optimization, query optimization, reduce API calls, improve render performance, fix slow code, optimize database, or reduce bundle size. Provides guidance on identifying and fixing performance anti-patterns across database, backend, frontend, and API layers.
Divi 5 Compatibility
Use this skill when validating CSS for Divi 5 / Divi 5.13 compatibility, checking unsupported features or units, troubleshooting Divi CSS that isn't applying, debugging plugin conflicts (WP Rocket, LiteSpeed, Wordfence, WooCommerce, Perfmatters), migrating from Divi 4 to Divi 5, understanding breakpoints, applying the…
performance-profiling
A measurement-first approach to finding and fixing performance problems in web apps, covering Core Web Vitals targets, a baseline-isolate-fix-verify loop, bundle and runtime/memory analysis, and prioritized quick wins. Use it when diagnosing slow loads or interactions, running Lighthouse audits, inspecting bundle…
codebase-refactoring
Three-part workflow to improve overall codebase health with jscpd — find and fix duplicated code, find and remove or refactor dead code, then find and simplify the largest/most complex files. Starts from --dashboard/--health to prioritize and ends by re-measuring the score.
report-issue-local
File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.