Agent skill

Border Beam

by nexu-io in nexu-io/motion-anything

Give one card or CTA a lively accent: a small bright comet of light travels around its border.

Apache-2.0Auto-check passedFrontend & Design

Install Border Beam

skills CLI
$ npx skills add nexu-io/motion-anything --skill border-beam -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nexu-io/motion-anything border-beam --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nexu-io/motion-anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/recipes/web/border-beam .claude/skills/border-beam && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
border-beam
GitHub stars
849
Token cost
~461 tokens
SKILL.md length
128 words
Files
4
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Give one card or CTA a lively accent: a small bright comet of light travels around its border.

  • Works in 3 steps: Copy border-beam.css into the project… → Mark the element → Tune --beam-color, --beam-size, and the…
  • A single new/featured element
  • SKILL.md covers When to use it, When NOT to use it (restraint), How to apply and Accessibility & performance, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Border Beam is an agent skill from nexu-io/motion-anything. Give one card or CTA a lively accent: a small bright comet of light travels around its border. Brighter/livelier than shine-border — use for a single "new"/"featured" element, one per view. Pure CSS; fully static under prefers-reduced-motion.

Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `recipe.motion.yaml`).

It sits in Frontend & Design. The repository describes itself as: ✨ The agentic motion layer — an open-source, chat-native motion engine. Describe the feeling; your AI ships the animation. The licence is Apache-2.0.

When your agent uses it

  • A single new/featured element

Example prompts

  • “featured”
  • “/border-beam”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Copy border-beam.css into the project and link it.
  2. Mark the element
  3. Tune --beam-color, --beam-size, and the animation duration (default 3s).

What it can do on your machine

Read from SKILL.md and the folder at commit b016900. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Border Beam loads about 461 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 128 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~461

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nexu-io/motion-anything at commit b016900, republished under its Apache-2.0 licence (© nexu-io). 128 words, ~461 tokens.

Download SKILL.mdSave it as .claude/skills/border-beam/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
border-beam
description
Give one card or CTA a lively accent: a small bright comet of light travels around its border. Brighter/livelier than shine-border — use for a single "new"/"featured" element, one per view. Pure CSS; fully static under prefers-reduced-motion.
triggers
border beam, traveling light border, comet border, animated outline accent, 边框光点, 环绕流光
od.mode
prototype
od.surface
web
od.platform
desktop
od.category
animation-motion
od.upstream
https://magicui.design/docs/components/border-beam
od.example_prompt
Use border-beam on the "New" feature card: a small bright comet travels the border. Just that one card; static under reduced-motion.

border-beam

A bright comet that travels an element's border. Part of motion-anything; obeys MOTION-SPEC.md. Technique popularized by Magic UI, reimplemented dependency-free (pure CSS).

When to use it

  • A single "new" / "featured" card or a hero CTA that should feel lively for a beat.

When NOT to use it (restraint)

  • Several at once (competing beams = noise). One per view.
  • Calm/serious contexts — or when a quieter full-border glow fits: use shine-border instead.

How to apply

  1. Copy border-beam.css into the project and link it.
  2. Mark the element:
    html
    <div class="beam"> … </div>
  3. Tune --beam-color, --beam-size, and the animation duration (default 3s).

Accessibility & performance

  • Under prefers-reduced-motion the beam stops; a plain static border remains.
  • Animates a masked conic-gradient (via @property --beam-angle) — compositor-friendly.

Framework notes

  • Pure CSS; works in any framework. Scope --beam-* per component.

© nexu-io, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in recipes/web/border-beam of nexu-io/motion-anything.

  • SKILL.md
  • border-beam.css
  • preview.html
  • recipe.motion.yaml

Open the folder on GitHubat commit b016900

Compare with similar skills

Border Beam next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Border Beam compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Border Beam this skillnexu-io/motion-anything849—~461Automated safety check: PassApache-2.0
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Web Interface Guidelines Reviewervercel-labs/openreview1.7k97 repos~308Automated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 97 repos~308 tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed

More from nexu-io/motion-anything

All 12 skills in this repo
  • Like Burst

    nexu-io/motion-anything

    Add a celebratory particle burst to a like / favorite / reaction button.

    849 GitHub stars~612 tokensUpdated 3 mo ago
    Auto-check passed
  • Magnetic Button

    nexu-io/motion-anything

    Make a primary button feel alive by gently pulling it toward the cursor as it approaches, then springing back.

    849 GitHub stars~476 tokensUpdated 3 mo ago
    Auto-check passed
  • Scroll Reveal

    nexu-io/motion-anything

    Reveal content as it scrolls into view — a gentle rise + fade, once per element.

    849 GitHub stars~483 tokensUpdated 3 mo ago
    Auto-check passed
  • Web Shader Extractor

    nexu-io/motion-anything

    Extract a real WebGL / WebGPU / Canvas / shader effect from a live webpage (e.g.

    849 GitHub stars~541 tokensUpdated 3 mo ago
    Auto-check passed
  • Web To Design Md

    nexu-io/motion-anything

    Extract a real website's design tokens — colors, typography, spacing, CSS, and motion — into a structured design.md an AI can consume.

    849 GitHub stars~447 tokensUpdated 3 mo ago
    Auto-check passed
  • Count Up

    nexu-io/motion-anything

    Animate a number counting up to its target as it scrolls into view, once.

    849 GitHub stars~382 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Border Beam

What does Border Beam do?

Give one card or CTA a lively accent: a small bright comet of light travels around its border. Border Beam is an agent skill from nexu-io/motion-anything. Give one card or CTA a lively accent: a small bright comet of light travels around its border.

When should I use Border Beam?

Border Beam fits situations like: A single new/featured element.

How do I install Border Beam in Claude Code?

Run `npx skills add nexu-io/motion-anything --skill border-beam -a claude-code`. Or copy the skill folder (recipes/web/border-beam in nexu-io/motion-anything) into .claude/skills/border-beam in your project. Claude Code loads it when a task matches its description.

How do I install Border Beam in Codex?

Run `npx skills add nexu-io/motion-anything --skill border-beam -a codex`. Or copy the skill folder (recipes/web/border-beam in nexu-io/motion-anything) into .agents/skills/border-beam in your project. Codex loads it when a task matches its description.

Can I use Border Beam in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nexu-io/motion-anything --skill border-beam -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/border-beam, .gemini/skills/border-beam, .github/skills/border-beam and .opencode/skills/border-beam in your project.

What does Border Beam need to run?

SKILL.md names no scripts, command-line tools or credentials: Border Beam is instructions for the agent only.

Does Border Beam access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Border Beam safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Border Beam use?

Border Beam is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Border Beam use?

About 461 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Border Beam?

Skills that share tags, products or a category with Border Beam: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Figma Design System Builder (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Border Beam?

nexu-io (a GitHub organization) maintains it in nexu-io/motion-anything, which has 849 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on July 7, 2026.

Source: nexu-io/motion-anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.