lobe-icons-guide

lobe-icons-guide is a cursor rule for Cursor from lobehub/lobe-icons. It costs 1,433 tokens per session, scanned A, original, MIT.

A repository guide for adding AI and machine-learning brand icons to Lobe Icons, a library of reusable icon components and image packages.

In plain words
What is it for?
Creating a new icon directory, adding its exports, styles, documentation, and monochrome or colored components, and placing static PNG, SVG, or WebP packages correctly.
Why use it?
It explains where each icon belongs and which files and component variants are expected, reducing inconsistent additions and broken exports.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { TITLE } from '../style';.

Good fit Creating a new icon directory, adding its exports, styles, documentation, and monochrome or colored components, and placing static PNG, SVG, or WebP packages correctly.

Compare 6 cursor rules from other repositories ↓
About the project

Lobe Icons is a collection of AI and large-language-model brand logos supplied as dependency-free SVG, PNG, and WebP assets for React and React Native applications. Developers use it to display model and service brands in their interfaces, and the catalogue contains a rule and skill for working with the icon set.

lobehub/lobe-icons · 2,488 stars · on GitHub · icons.lobehub.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lobehub/lobe-icons
agentmods
npx agentmods add rules/lobehub/lobe-icons/lobe-icons-guide

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 lobe-icons-guide

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/lobehub/lobe-icons/lobe-icons-guide"><img src="https://agentmods.dev/badge/rules/lobehub/lobe-icons/lobe-icons-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,433 This file is loaded in full into every session.
When invoked 1,433 The same file — it is already loaded in full.
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.01433 $0.01433
Opus 5 $0.00717 $0.00717
Sonnet 5 $0.00287 $0.00287
Haiku 4.5 $0.00143 $0.00143

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

Security

Grade A, and why

lobe-icons-guide 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 9d 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.

.cursor/rules/lobe-icons-guide.mdc · 206 lines

How it starts

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

Lobe Icons Repository Guide

This guide provides comprehensive information about the lobe-icons repository structure and how to add new icons.

Project Overview

The lobe-icons repository contains over 150 AI/ML brand icons organized in a consistent structure. Each icon brand has its own directory under src/ with standardized components and exports.

Directory Structure

Root Structure

  • src/ - Contains all icon brand directories
  • packages/ - Static format packages (PNG, SVG, WebP)
  • docs/ - Documentation and guides
  • scripts/ - Build and automation scripts

Icon Brand Structure

Each icon brand follows this pattern:

src/IconName/
├── index.ts          # Main exports
├── style.ts          # Brand constants and styling
├── index.md          # Documentation
└── components/
    ├── Mono.tsx      # Monochrome icon
    ├── Color.tsx     # Colored icon (if applicable)
    ├── Text.tsx      # Text component
    ├── Avatar.tsx    # Avatar component
    └── Combine.tsx   # Combined icon+text

Adding a New Icon

1. Create Directory Structure

Create a new directory under src/ with your icon brand name:

src/YourIconName/

2. Essential Files to Create

Style Configuration (style.ts)
export const TITLE = 'YourIconName';
export const TEXT_MULTIPLE = 0.6;        // Used in Combine component
export const SPACE_MULTIPLE = 0.1;       // Used in Combine component
export const COLOR_PRIMARY = '#yourBrandColor'; // Used in Avatar

// Avatar constants (recommended)
export const AVATAR_BACKGROUND = COLOR_PRIMARY;
export const AVATAR_COLOR = '#fff';
export const AVATAR_ICON_MULTIPLE = 0.6;
Monochrome Icon (Mono.tsx)
'use client';

import { memo } from 'react';
import type { IconType } from '@/types';
import { TITLE } from '../style';

const Icon: IconType = memo(({ size = '1em', style, ...rest }) => {
  return (
    <svg
      fill="currentColor"
      fillRule="evenodd"
      height={size}
      style={{ flex: 'none', lineHeight: 1, ...style }}
      viewBox="0 0 24 24"
      width={size}
      xmlns="http://www.w3.org/2000/svg"
      {...rest}
    >
      <title>{TITLE}</title>
      <path d="YOUR_SVG_PATH_DATA" />
    </svg>
  );
});

export default Icon;

Read the full file on GitHub · 206 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. 9d ago First seen · 206 lines · 1,433 tokens per session scan A 0895d88eb856

Subscribe to this mod's changes

lobe-icons-guide is a cursor rule published in the GitHub repository lobehub/lobe-icons (2,488 stars, last pushed 3d ago), licensed MIT. It adds 1,433 tokens to every session, about $0.0072 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.