shadow-plugin: Skill for Claude Code

.claude/skills/smooth-shadow-ring/SKILL.md

smooth-shadow-ring is a skill for Claude Code from flornkm/shadow-plugin. It costs 67 tokens per session (1,046 once invoked), scanned A, original, MIT.

A Tailwind CSS rule for styling surfaces that appear above the page, such as cards, dialogs, menus, and tooltips, with a shadow that also provides a subtle edge.

In plain words
What is it for?
Use its smooth-shadow-ring utility classes when giving elevated interface elements different shadow sizes. Do not add a separate border or ring to those elements.
Why use it?
It avoids the heavy double-edge effect caused by putting a visible border or ring together with a shadow.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is flornkm/shadow-plugin's own configuration. It tells Claude Code how to work on shadow-plugin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shadow-plugin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to flornkm/shadow-plugin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/flornkm/shadow-plugin/main/.claude/skills/smooth-shadow-ring/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/flornkm/shadow-plugin

Made for: Claude Code.

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 smooth-shadow-ring

README.md
[![agentmods](https://agentmods.dev/badge/skills/flornkm/shadow-plugin/smooth-shadow-ring/github.svg)](https://agentmods.dev/skills/flornkm/shadow-plugin/smooth-shadow-ring)
Your own site
<a href="https://agentmods.dev/skills/flornkm/shadow-plugin/smooth-shadow-ring"><img src="https://agentmods.dev/badge/skills/flornkm/shadow-plugin/smooth-shadow-ring/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 smooth-shadow-ring

Your own site · 80×15
<a href="https://agentmods.dev/skills/flornkm/shadow-plugin/smooth-shadow-ring"><img src="https://agentmods.dev/badge/skills/flornkm/shadow-plugin/smooth-shadow-ring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,046 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00067 $0.01046
Opus 5.5 $0.00027 $0.00418
Sonnet 5.5 $0.00013 $0.00209
Haiku 4.5 $0.00007 $0.00105

Measured 2mo ago against content hash acc6717961c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smooth-shadow-ring 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 2mo 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.

.claude/skills/smooth-shadow-ring/SKILL.md · 89 lines

How it starts

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

Elevated surfaces: use smooth-shadow-ring, never border + shadow

When this applies

Any element that floats above the page surface: cards, dialogs, modals, popovers, dropdowns, menus, tooltips, sheets, toasts, command palettes.

The problem

Putting a border-* (or ring-*) and a shadow-* on the same element draws two stacked edges: the border paints a hard 1px stroke, and the shadow begins just outside it. The result is a visible double border, a crisp line then a soft one. It looks heavy, greyed, and cheap.

The rule

If you are about to write a border-* or ring-* class next to any shadow-* on an elevated surface, use smooth-shadow-ring-{size} instead. It bakes a 1px hairline ring into the final shadow layer, so the edge dissolves into the shadow as one continuous stroke.

  • border shadow-md → smooth-shadow-ring-md
  • ring-1 ring-neutral-200 shadow-lg → smooth-shadow-ring-lg
  • Sizes: smooth-shadow-ring-xs, -sm, -md (or bare smooth-shadow-ring), -lg, -xl, -2xl
  • Never keep a border or ring on an element that already has smooth-shadow-ring-*. The ring is already in there; a second edge doubles up.
  • If the surface should have no edge stroke at all, use plain smooth-shadow-{size} (no ring), not a border.

Coloring

The ring and shadow tint independently and compose on the same element:

  • shadow-{color} tints the shadow, e.g. shadow-blue-500
  • smooth-ring-{color} tints the ring, e.g. smooth-ring-black/10, smooth-ring-blue-500/40

The ring defaults to rgba(0,0,0,0.05) and flips to rgba(255,255,255,0.18) in dark mode — under a .dark class, data-theme="dark", or (for OS-preference dark modes) when the page declares color-scheme: light dark. It never keys off prefers-color-scheme alone, so light-only sites keep the light ring for every visitor. If the site's dark mode is driven purely by a prefers-color-scheme media query, make sure it declares :root { color-scheme: light dark; } so the ring follows.

Read the full file on GitHub · 89 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. 2mo ago First seen · 89 lines · 67 tokens per session scan A acc6717961c4

Subscribe to this mod's changes

smooth-shadow-ring is a skill published in the GitHub repository flornkm/shadow-plugin (149 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 1,046 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.

Related

smooth-shadow-ring compared with skills from other repositories

smooth-shadow-ring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
smooth-shadow-ringflornkm/shadow-pluginSkill1491mo agoMITA67Claude Code
absolute-uimaddhruv/absoluteSkill2234mo agoMITA121Claude Code
Tailwind CSS Class Hygiene Reviews977043/river-reviewSkill7yesterdayMITA48Claude Code
tailwindcssShoebtamboli/rails_claude_skillsSkill164mo agoMITA12Claude Code, Codex
tailwind-helpersAmery2010/open-builderSkill932mo agoGPL-3.0A38Claude Code, Codex
design-system-generatorcuriositech/windags-skillsSkill186d agononeB50Claude Code
tailwind-design-systemFilippoDeSilva/skillsSkill24mo agononeA42Claude Code, Codex