css-border-gradient

css-border-gradient is a skill for Claude Code, Codex from devinilabs/pro-skill. It costs 42 tokens per session (795 once invoked), scanned A, a copy of css-border-gradient, MIT.

A CSS technique for giving cards, panels, navigation bars, modals, buttons, and hero surfaces a thin border that fades between neutral and brand colors.

In plain words
What is it for?
Use it for subtle edge highlights on dark glass interfaces, pricing panels, feature cards, hover states, and focus states.
Why use it?
It makes otherwise plain surfaces feel more defined while avoiding the bright glow of a heavy effect.

Skill for Claude CodeCodex

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

Good fit Use it for subtle edge highlights on dark glass interfaces, pricing panels, feature cards, hover states, and focus states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devinilabs/pro-skill/css-border-gradient
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 devinilabs/pro-skill --skill css-border-gradient
Clone the repo
git clone --depth 1 https://github.com/devinilabs/pro-skill

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 css-border-gradient

README.md
[![agentmods](https://agentmods.dev/badge/skills/devinilabs/pro-skill/css-border-gradient/github.svg)](https://agentmods.dev/skills/devinilabs/pro-skill/css-border-gradient)
Your own site
<a href="https://agentmods.dev/skills/devinilabs/pro-skill/css-border-gradient"><img src="https://agentmods.dev/badge/skills/devinilabs/pro-skill/css-border-gradient/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 css-border-gradient

Your own site · 80×15
<a href="https://agentmods.dev/skills/devinilabs/pro-skill/css-border-gradient"><img src="https://agentmods.dev/badge/skills/devinilabs/pro-skill/css-border-gradient.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 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 100% copy Near-identical to another mod 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.00042 $0.00795
Opus 5.5 $0.00017 $0.00318
Sonnet 5.5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00080

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

Security

Grade A, and why

css-border-gradient 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 3mo 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.

Origin

This is a copy

100% identical to css-border-gradient — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agent-skills/web-design/css-border-gradient/SKILL.md · 95 lines

How it starts

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

Border Gradients

Use When

  • A surface needs a more premium edge than a flat border.
  • Dark glass, pricing, hero, modal, or feature-card UI feels too plain.
  • A hover or focus state needs a quiet brand accent.

Defaults

  • Width: 1px; use 2px only for large hero cards or active states.
  • Radius: inherit the parent radius.
  • Angle: 135deg or 160deg.
  • Stops: neutral highlight, one brand accent, neutral fade.
  • Opacity: keep most stops below 0.4; subtle beats shiny.

Simple CSS Pattern

Use this when the surface has a solid or translucent fill.

.gradient-border {
  --surface: rgba(10, 14, 24, 0.72);
  --border-a: rgba(255, 255, 255, 0.34);
  --border-b: rgba(125, 92, 255, 0.36);
  --border-c: rgba(255, 255, 255, 0.08);

  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--border-a), var(--border-b), var(--border-c)) border-box;
}
<div class="gradient-border">
  ...
</div>

Masked Pattern

Use this when the surface already has a complex background that should not be overwritten.

.gradient-border-mask {
  position: relative;
  border-radius: 20px;
}

.gradient-border-mask::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.34),
    rgba(125, 92, 255, 0.36) 45%,
    rgba(255, 255, 255, 0.08)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

Tailwind Shortcut

Use arbitrary properties for one-off surfaces.

<div class="rounded-2xl border border-transparent [background:linear-gradient(rgba(10,14,24,.72),rgba(10,14,24,.72))_padding-box,linear-gradient(135deg,rgba(255,255,255,.34),rgba(125,92,255,.36),rgba(255,255,255,.08))_border-box]">
  ...
</div>

Read the full file on GitHub · 95 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. 3mo ago First seen · 95 lines · 42 tokens per session scan A 6c5e1924a7ec

Subscribe to this mod's changes

css-border-gradient is a skill published in the GitHub repository devinilabs/pro-skill (30 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 795 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to css-border-gradient, differing in 0 lines, and is treated as a copy.

Related

css-border-gradient compared with skills from other repositories

css-border-gradient next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
css-border-gradientdevinilabs/pro-skillSkill303mo agoMITA42Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k6d agoApache-2.0A24Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
open-design-setupcompozy/compozySkill2.9kyesterdayMITA67Claude Code, Codex