icons

icons is a cursor rule for Cursor from Scopeo/draftnrun. It costs 0 tokens per session (1,043 once invoked), scanned A, original, Apache-2.0.

A set of rules for displaying interface icons through Iconify, an icon system that provides reusable icon libraries. It explains how to use library icons, custom brand SVG files, and Vuetify form overrides.

In plain words
What is it for?
Choosing icon sets, using brand icons, registering custom SVGs, and applying icons in Vue and Vuetify interfaces.
Why use it?
It keeps icon selection and rendering consistent across the application and avoids creating custom files when an existing library icon is suitable.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Choosing icon sets, using brand icons, registering custom SVGs, and applying icons in Vue and Vuetify interfaces.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/scopeo/draftnrun/icons
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.

Clone the repo
git clone --depth 1 https://github.com/Scopeo/draftnrun

Made for: Cursor.

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 icons

README.md
[![agentmods](https://agentmods.dev/badge/rules/scopeo/draftnrun/icons/github.svg)](https://agentmods.dev/rules/scopeo/draftnrun/icons)
Your own site
<a href="https://agentmods.dev/rules/scopeo/draftnrun/icons"><img src="https://agentmods.dev/badge/rules/scopeo/draftnrun/icons/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 icons

Your own site · 80×15
<a href="https://agentmods.dev/rules/scopeo/draftnrun/icons"><img src="https://agentmods.dev/badge/rules/scopeo/draftnrun/icons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,043 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 original No closer match found 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.00000 $0.01043
Opus 5 $0.00000 $0.00522
Sonnet 5 $0.00000 $0.00209
Haiku 4.5 $0.00000 $0.00104

Measured 4d ago against content hash a89e66a8244b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

icons 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 4d 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.

frontend/.cursor/rules/icons.mdc · 76 lines

How it starts

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

Icon System

All icon rendering flows through Iconify (@iconify/vue). The system has three tiers:

1. Library icon sets (vast majority of icons)

Installed as @iconify-json/* packages — available everywhere via <VIcon> or <Icon>.

Package Prefix (Iconify) Prefix (VIcon) Usage
@iconify-json/tabler tabler: tabler- Primary UI icons
@iconify-json/mdi mdi: mdi- Material Design extras
@iconify-json/ph ph: ph- Phosphor icons
@iconify-json/fa fa6-solid: fa- Font Awesome
@iconify-json/logos logos: logos- Brand/service logos (Gmail, Slack, HubSpot…)

VIcon normalizes dash-prefixed names to colon-prefixed via iconNameToIconify() in src/plugins/vuetify/icons.ts.

When to use: Always check the library sets first. Browse at https://icon-sets.iconify.design/.

2. Custom brand SVGs (custom: prefix)

For brand icons that do NOT exist in any Iconify library set (e.g., Microsoft Outlook).

| File location | src/assets/images/iconify-svg/<name>.svg | | Registered as | custom:<name> (auto-registered at startup) | | Backend stores as | custom-<name> (dash-separated) | | Resolved by | isProviderLogo() in node-factory.utils.ts → Iconify <Icon> component |

How to add a new custom brand icon

  1. Drop the SVG file into src/assets/images/iconify-svg/ (e.g., my-brand.svg).
  2. That's it — icons.ts auto-discovers all *.svg files in that directory via import.meta.glob and registers each as custom:<filename>.
  3. In the backend seed, set icon="custom-my-brand" on the component.
  4. isProviderLogo() already matches the custom prefix, so the studio graph will render it via the Iconify <Icon> component.

Read the full file on GitHub · 76 lines

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. 4d ago First seen · 76 lines · 0 tokens per session scan A a89e66a8244b

Subscribe to this mod's changes

icons is a cursor rule published in the GitHub repository Scopeo/draftnrun (30 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,043 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-09-04.