Border Radius
/install border-radius
CSS Border Radius Generator
Generate border-radius CSS for uniform rounding or per-corner customization, including special shapes like blobs and leaves.
Input
- Mode:
uniform(all corners equal) orper-corner - Uniform value: integer 0–9999 px (default
16) - Per-corner values: top-left, top-right, bottom-right, bottom-left in px (defaults
16 16 16 16)
Output
- CSS property:
border-radius: \x3Cvalue>; - Tailwind CSS class equivalent
Instructions
- Parse the user's request. Determine if all corners are the same or each is specified separately.
- Compute the CSS value:
- All corners equal:
border-radius: \x3Cvalue>px; - Mixed corners:
border-radius: \x3Ctl>px \x3Ctr>px \x3Cbr>px \x3Cbl>px;
- All corners equal:
- Compute the Tailwind class:
- All equal, value is 0:
rounded-none - All equal, value >= 9999:
rounded-full - All equal, other:
rounded-[\x3Cvalue>px] - Mixed:
rounded-[\x3Ctl>px_\x3Ctr>px_\x3Cbr>px_\x3Cbl>px]
- All equal, value is 0:
- Output both CSS and Tailwind.
- If the user mentions a shape preset, map it:
- None →
0 0 0 0 - Small →
4 4 4 4 - Medium →
8 8 8 8 - Large →
16 16 16 16 - XL →
24 24 24 24 - Full / pill / circle →
9999 9999 9999 9999 - Blob →
30px 70px 70px 30px - Leaf →
0px 50px 0px 50px
- None →
Options
topLeft: 0–9999 — default16topRight: 0–9999 — default16bottomRight: 0–9999 — default16bottomLeft: 0–9999 — default16linked: if true, all corners use the same value
Examples
Input: "Rounded corners, 12px all sides" Output:
border-radius: 12px;
Tailwind: rounded-[12px]
Input: "Blob shape border radius" Output:
border-radius: 30px 70px 70px 30px;
Tailwind: rounded-[30px_70px_70px_30px]
Input: "Full pill / circle border radius" Output:
border-radius: 9999px;
Tailwind: rounded-full
Input: "Top corners 24px, bottom corners 0" Output:
border-radius: 24px 24px 0px 0px;
Tailwind: rounded-[24px_24px_0px_0px]
Error Handling
- If a value is negative, set it to 0 and inform the user that border-radius cannot be negative.
- If a value exceeds 9999, cap at 9999 (used to represent fully rounded /
rounded-full). - If the user provides a unit other than px (e.g., rem, %), note the unit in the output and omit the Tailwind arbitrary value if not px.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install border-radius - After installation, invoke the skill by name or use
/border-radius - Provide required inputs per the skill's parameter spec and get structured output
What is Border Radius?
Generate CSS border-radius code. Use when the user asks to generate rounded corners, create a border radius, make a blob shape, or produce border-radius CSS. It is an AI Agent Skill for Claude Code / OpenClaw, with 133 downloads so far.
How do I install Border Radius?
Run "/install border-radius" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Border Radius free?
Yes, Border Radius is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Border Radius support?
Border Radius is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Border Radius?
It is built and maintained by Omar Hernandez (@ohernandez-dev-blossom); the current version is v1.0.0.