AIRI is a self-hosted virtual AI companion that gives an AI character a voice, visual presence, memory, and the ability to interact with games and coding activity. People use it as a personal digital companion on the web, macOS, or Windows, including for voice chat and gameplay. The catalogue add-ons provide workflows for working with the AIRI project.
Borrowing it
Nothing to install: this file belongs to moeru-ai/airi. 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/moeru-ai/airi/main/.agents/skills/enforce-rules-for-unocss/SKILL.mdgit clone --depth 1 https://github.com/moeru-ai/airiWrote 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/moeru-ai/airi/enforce-rules-for-unocss)<a href="https://agentmods.dev/skills/moeru-ai/airi/enforce-rules-for-unocss"><img src="https://agentmods.dev/badge/skills/moeru-ai/airi/enforce-rules-for-unocss/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/moeru-ai/airi/enforce-rules-for-unocss"><img src="https://agentmods.dev/badge/skills/moeru-ai/airi/enforce-rules-for-unocss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- 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.00082 | $0.00489 |
| Opus 5 | $0.00041 | $0.00244 |
| Sonnet 5 | $0.00016 | $0.00098 |
| Haiku 4.5 | $0.00008 | $0.00049 |
Grade A, and why
enforce-rules-for-unocss 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 12d 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.
What it actually says
Enforce AIRI UnoCSS Rules
Apply these rules to every affected UI file in AIRI.
Compose Utility Classes Readably
-
Prefer UnoCSS over Tailwind CSS.
-
In Vue templates, bind grouped class arrays for readability:
:class="[ 'px-2 py-1', 'flex items-center', 'bg-white/50 dark:bg-black/50', ]" -
Do not use long inline class strings such as
class="px-2 py-1 flex items-center bg-white/50 dark:bg-black/50". -
Do not use attributify-style groups such as
px="2" py="1" flex="~ items-center" bg="white/50 dark:black/50". -
When touching legacy utility classes, progressively refactor them into readable grouped arrays.
Reuse Project Styling Infrastructure
- Use or extend shortcuts and rules in
uno.config.tswhen styles should be standardized or reused. - Search
apps/stage-web/src/stylesfor existing animations before adding one. Reuse or extend an existing animation when it fits. - Consult
apps/stage-web/tsconfig.jsonanduno.config.tswhen configuration context is needed. - Keep animations intuitive, lively, and readable.
Build on Shared UI Primitives
- Build primitives on
@proj-airi/ui, which is based on reka-ui, instead of raw DOM controls. - Read
docs/ai/context/ui-components.mdfor the component API andpackages/ui/src/components/Formfor implementation patterns. - When adding or updating a component in
packages/ui, updatedocs/ai/context/ui-components.mdwith its description, props, slots, and emits. - Use Iconify icon sets instead of bespoke SVGs.
Preserve Theme Behavior
- When using VueUse
useDark, setdisableTransition: falseor use an existing composable frompackages/ui.
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.
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.
- 12d ago First seen · 44 lines · 82 tokens per session scan A cf8d3530a400
enforce-rules-for-unocss is a skill published in the GitHub repository moeru-ai/airi (49,010 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 489 once invoked, about $0.0004 per session on Opus 5. 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
shadcn-svelte
Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.
shadcn-svelte
Manages shadcn-svelte components and projects — adding, updating, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn-svelte, the CLI, design-system presets, or any project with a components.json file. Also triggers for…
nuxt-ui
Build UIs with @nuxt/ui v4 — 125+ accessible Vue components with Tailwind CSS theming. Use when creating interfaces, customizing themes to match a brand, building forms, or composing layouts like dashboards, docs sites, and chat interfaces.
league-akari-ui-components
Use when implementing or reviewing League Akari renderer UI components, especially consistency across related components, i18n component interpolation, multiple independent pluralized counts, Tailwind utility usage in templates or SFC style blocks, or native semantic HTML elements in the Naive UI renderer.
vuetify-to-semantic
Refactor a Vue page or component from Vuetify to semantic HTML5 + Schema.org microdata + Stylus element selectors. Use when converting a seeq-app view or component file, removing v- components, replacing utility classes with Stylus, or adding Schema.org microdata to an entity page. Triggers include "refactor this…
vue-base-skill
A parent guide for building Vue interface components with shared rules for cards, buttons, labels, and tables. It requires these components to sit inside a base card and use shared CSS design values.