shader-backdrop

shader-backdrop is a skill for Claude Code, Codex from frankxai/claude-skills-library. It costs 98 tokens per session (1,538 once invoked), scanned A, original, MIT.

A web recipe for an animated shader backdrop, such as a mesh gradient, grainy gradient, or light-ray field, behind page content.

In plain words
What is it for?
Use it behind a headline or hero section to create a branded colour field, textured gradient, or soft animated light effect.
Why use it?
It provides a moving visual background while keeping a CSS fallback and a designed still for cases where animation or graphics support is unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it behind a headline or hero section to create a branded colour field, textured gradient, or soft animated light effect.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frankxai/claude-skills-library/shader-backdrop
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 frankxai/claude-skills-library --skill shader-backdrop
Clone the repo
git clone --depth 1 https://github.com/frankxai/claude-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 shader-backdrop

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankxai/claude-skills-library/shader-backdrop/github.svg)](https://agentmods.dev/skills/frankxai/claude-skills-library/shader-backdrop)
Your own site
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/shader-backdrop"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/shader-backdrop/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 shader-backdrop

Your own site · 80×15
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/shader-backdrop"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/shader-backdrop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,538 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.00098 $0.01538
Opus 5.5 $0.00039 $0.00615
Sonnet 5.5 $0.00020 $0.00308
Haiku 4.5 $0.00010 $0.00154

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

Security

Grade A, and why

shader-backdrop 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 14d 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.

packs/web-excellence/skills/shader-backdrop/SKILL.md · 157 lines

How it starts

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

Shader backdrop

A backdrop sets the temperature of a section and then stays out of the way. This skill builds it from the repo's tokens with one fragment shader, a poster that works without it, and a still chosen by eye.

Run gpu-surface section 1 first. Many taste files refuse a gradient that carries no meaning; when the repo's does, the answer is a flat surface.

1. Choose the field

All of these come from @paper-design/shaders-react and share the same speed, frame, and maxPixelCount props. The recipe below was rendered with MeshGradient at 0.0.82; read the props of any other in the installed package's types before using it.

Job Component
Soft colour that drifts behind a headline MeshGradient
The same with visible grain and harder shapes GrainGradient
A designed gradient with no animation loop at all StaticMeshGradient, StaticRadialGradient
Light from one edge GodRays
Texture on a paper-like surface PaperTexture

Two to four colours, all tokens. When two of them are the page surface and its neighbour, the backdrop reads as light on the page and the text keeps its contrast.

2. Build

use-surface.ts is in gpu-surface section 3.

// components/effects/MeshGradientLayer.tsx — the only file that imports the shader package
'use client'

import { MeshGradient, type MeshGradientProps } from '@paper-design/shaders-react'

export default function MeshGradientLayer(props: MeshGradientProps) {
  return <MeshGradient {...props} />
}
// components/effects/ShaderSurface.tsx
'use client'

import dynamic from 'next/dynamic'
import type { ReactNode } from 'react'
import type { MeshGradientProps } from '@paper-design/shaders-react'
import { useGpu, useReducedMotion } from './use-surface'

const MeshGradientLayer = dynamic(() => import('./MeshGradientLayer'), { ssr: false })

type ShaderSurfaceProps = {
  colors: string[]
  stillFrame: number
  poster: string
  speed?: number
  className?: string
  children?: ReactNode
} & Pick<MeshGradientProps, 'distortion' | 'swirl' | 'grainMixer' | 'grainOverlay'>

export function ShaderSurface({ colors, stillFrame, poster, speed = 0.2, className = '', children, ...look }: ShaderSurfaceProps) {
  const reduced = useReducedMotion()
  const gpu = useGpu()
  return (
    <div className={className} style={{ position: 'relative', isolation: 'isolate', overflow: 'hidden', background: poster }}>
      {gpu && (
        <MeshGradientLayer
          aria-hidden
          colors={colors}
          {...look}
          speed={reduced ? 0 : speed}
          frame={stillFrame}
          maxPixelCount={1920 * 1080}
          style={{ position: 'absolute', inset: 0, zIndex: -1 }}
        />
      )}
      {children}
    </div>
  )
}

Read the full file on GitHub · 157 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. 14d ago First seen · 157 lines · 98 tokens per session scan A 1859fa8bb6c8

Subscribe to this mod's changes

shader-backdrop is a skill published in the GitHub repository frankxai/claude-skills-library (51 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 1,538 once invoked, about $0.0004 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-11-16.

Related

shader-backdrop compared with skills from other repositories

shader-backdrop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shader-backdropfrankxai/claude-skills-librarySkill51todayMITA98Claude Code, Codex
prototypevinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA39Claude Code, Codex
visual-ui-auditorroedyrustam/vibes-plugSkill1293d agoMITA51Cursor
design-system-architectroedyrustam/vibes-plugSkill1293d agoMITA43Cursor
svg-animation-motion-expertroedyrustam/vibes-plugSkill1293d agoMITA46Cursor
website-design-clonerroedyrustam/vibes-plugSkill1293d agoMITA32Cursor
screenshot-to-code-expertroedyrustam/vibes-plugSkill1293d agoMITA38Cursor