claymorphism

claymorphism is a skill for Claude Code from qinye6/pi-ccg. It costs 38 tokens per session (832 once invoked), scanned A, a copy of claymorphism, MIT.

A design system for soft, inflated user-interface components that resemble clay. It defines large rounded corners, paired inner shadows, and offset outer shadows, with CSS tokens and examples.

In plain words
What is it for?
Use it to build clay-like cards, buttons, and inputs with matching colours, shadows, radii, and pressed or hover states.
Why use it?
It provides repeatable styles for making interface elements look three-dimensional and tactile.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to build clay-like cards, buttons, and inputs with matching colours, shadows, radii, and pressed or hover states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qinye6/pi-ccg/claymorphism
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 qinye6/pi-ccg --skill claymorphism
Clone the repo
git clone --depth 1 https://github.com/qinye6/pi-ccg

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 claymorphism

README.md
[![agentmods](https://agentmods.dev/badge/skills/qinye6/pi-ccg/claymorphism/github.svg)](https://agentmods.dev/skills/qinye6/pi-ccg/claymorphism)
Your own site
<a href="https://agentmods.dev/skills/qinye6/pi-ccg/claymorphism"><img src="https://agentmods.dev/badge/skills/qinye6/pi-ccg/claymorphism/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 claymorphism

Your own site · 80×15
<a href="https://agentmods.dev/skills/qinye6/pi-ccg/claymorphism"><img src="https://agentmods.dev/badge/skills/qinye6/pi-ccg/claymorphism.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 832 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.00038 $0.00832
Opus 5.5 $0.00015 $0.00333
Sonnet 5.5 $0.00008 $0.00166
Haiku 4.5 $0.00004 $0.00083

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

Security

Grade A, and why

claymorphism 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 claymorphism — 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.

templates/skills/domains/frontend-design/claymorphism/SKILL.md · 120 lines

How it starts

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

Claymorphism Design Spec

3 Core Elements

  1. Large Radius — Generous border-radius (20–50px) for a puffy, inflated look
  2. Dual Inner Shadows — Light inset from top-left + dark inset from bottom-right to simulate 3D clay surface
  3. Offset Outer Shadow — Directional box-shadow offset (not centered) to ground the element

CSS Tokens

Reference: references/tokens.css

@import 'references/tokens.css';

.clay-card {
  background: var(--clay-bg-card);
  border-radius: var(--clay-radius-lg);
  box-shadow: var(--clay-shadow);
  color: var(--clay-text);
}

Component Examples

Card

.clay-card {
  background: var(--clay-bg-card);
  border-radius: var(--clay-radius-lg);
  box-shadow: var(--clay-shadow);
  padding: 1.5rem;
  color: var(--clay-text);
}

Button

.clay-btn {
  background: var(--clay-bg-button);
  border: none;
  border-radius: var(--clay-radius-pill);
  box-shadow: var(--clay-shadow);
  padding: 0.75rem 1.5rem;
  color: var(--clay-text);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.clay-btn:hover {
  box-shadow: var(--clay-shadow-elevated);
}
.clay-btn:active {
  box-shadow: var(--clay-shadow-pressed);
}

Input

.clay-input {
  background: var(--clay-bg);
  border: none;
  border-radius: var(--clay-radius);
  box-shadow: var(--clay-shadow-pressed);
  padding: 0.75rem 1rem;
  color: var(--clay-text);
}
.clay-input:focus {
  outline: 2px solid var(--clay-accent);
  outline-offset: 2px;
}

Toggle

.clay-toggle {
  width: 56px;
  height: 30px;
  background: var(--clay-bg-card);
  border-radius: var(--clay-radius-pill);
  box-shadow: var(--clay-shadow-pressed);
}
.clay-toggle-knob {
  width: 24px;
  height: 24px;
  background: var(--clay-bg);
  border-radius: 50%;
  box-shadow: var(--clay-shadow);
  transition: transform 0.2s;
}

Dark Mode Notes

  • Dark mode reduces inner highlight intensity (rgba(255,255,255,0.05) vs 0.6) to avoid glowing artifacts
  • Outer shadow opacity increases to maintain depth on dark backgrounds
  • Background colors shift to warm dark tones — avoid pure black to preserve the clay feel
  • All dark tokens are defined in [data-theme="dark"] in tokens.css

Read the full file on GitHub · 120 lines

Files

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.

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 · 120 lines · 38 tokens per session scan A 950e72eb65f0

Subscribe to this mod's changes

claymorphism is a skill published in the GitHub repository qinye6/pi-ccg (7 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 832 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 claymorphism, differing in 0 lines, and is treated as a copy.

Related

claymorphism compared with skills from other repositories

claymorphism next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claymorphismqinye6/pi-ccgSkill73mo agoMITA38Claude Code
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-anythingSkill17kyesterdayApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.6ktodayMITA94Claude Code, Codex