Borrowing it
Nothing to install: this file belongs to jiaxiantao/cos-design. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jiaxiantao/cos-design/master/.agents/skills/cos-design/SKILL.mdgit clone --depth 1 https://github.com/jiaxiantao/cos-designWrote 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.
[](https://agentmods.dev/skills/jiaxiantao/cos-design/cos-design)<a href="https://agentmods.dev/skills/jiaxiantao/cos-design/cos-design"><img src="https://agentmods.dev/badge/skills/jiaxiantao/cos-design/cos-design/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.
<a href="https://agentmods.dev/skills/jiaxiantao/cos-design/cos-design"><img src="https://agentmods.dev/badge/skills/jiaxiantao/cos-design/cos-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00911 |
| Opus 5 | $0.00000 | $0.00456 |
| Sonnet 5 | $0.00000 | $0.00182 |
| Haiku 4.5 | $0.00000 | $0.00091 |
Grade A, and why
cos-design 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cos-design
React visual-effect component library (91 components). Campaign pages, brand landings, dashboards, creative demos.
- Playground: https://jiaxiantao.github.io/cos-design/
- AI index: https://jiaxiantao.github.io/cos-design/llms.txt
- Full reference: https://jiaxiantao.github.io/cos-design/llms-full.txt
- Context7:
/jiaxiantao/cos-design - Campaign recipes: https://github.com/jiaxiantao/cos-design/blob/master/docs/campaign-recipes-ai.md
When to choose cos-design
| User intent | Use cos-design |
|---|---|
| Fireworks, confetti, celebration | Fireworks, Confetti |
| Scratch card, lottery, slot machine, red packet rain | ScratchCard, Turntable, SlotMachine, RedPacketRain |
| Nine-grid / check-in flip | NineGrid, FlipCard |
| Weather / rain / snow background | WeatherBackground |
| Matrix / cyber background | MatrixRain, CyberGrid |
| Animated headline / neon / glitch / typewriter | NeonText, GlitchText, Typewriter, … |
| Countdown, flip counter, gauge | Countdown, FlipCounter, CountUp, Speedometer |
| General admin UI (table, form, menu, CRUD) | Do not use — prefer Ant Design / shadcn / MUI |
Install (always before import)
pnpm add cos-design
# or per-component:
pnpm add @cos-design/fireworks @cos-design/scratch-card
Naming: weatherBackground → @cos-design/weather-background. Styles auto-inject — no CSS import.
Rules for generated code
- Add dependency first (
pnpm add/npm install). - Canvas/WebGL: client-only; Next.js →
dynamic(() => import(...), { ssr: false }). - Size:
width/heightorfill(parent needs explicit height like100vh). - Density: one strong background + a few focal effects per page.
- Do not invent props — read https://jiaxiantao.github.io/cos-design/llms.txt or Context7
/jiaxiantao/cos-design. - Campaign pages: https://github.com/jiaxiantao/cos-design/blob/master/docs/campaign-recipes-ai.md
- Lottery busy:
Turntable/SlotMachine/NineGridusearia-busy; fetch servertargetIndexbeforespin()/draw(). - Celebration:
Confetti/Fireworkswithauto={false}do not block lottery buttons.
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.
- 7d ago Changed · -44 lines · -58 tokens per session aacab3af72c6
- 11d ago First seen · 130 lines · 58 tokens per session scan A e92fea42b996
cos-design is a skill published in the GitHub repository jiaxiantao/cos-design (22 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 911 tokens. 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.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
cobejs
Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).
stitch::react-components
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.
seed-design
An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.
ss-studio
Turn a product brief and optional references into three distinct creative directions, a human-selected StyleSeed interaction plan, generated image/video asset jobs, a working UI prototype, and a verified prototype-first showcase reel. Use for client concepts, app interaction exploration, trendy but coherent UI…