brand-new

A guided command for creating a visual brand profile in a repository. It can collect brand details through questions and optionally use a website, logo file, or brand-guidelines PDF as a starting point.

In plain words
What is it for?
Use it to create a single brand profile or profiles for multiple brands, import starting details from supported files or a website, and fill missing information through guided questions.
Why use it?
It gives later asset-generation commands a saved source of colors, fonts, and visual rules. It also lets the user review imported suggestions before they are adopted.

Command

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.

agentmods
npx agentmods add commands/localplugins/plugins/brand-new
Clone the repo
git clone --depth 1 https://github.com/localplugins/plugins
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 525 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00525
Opus 5 $0.00017 $0.00262
Sonnet 5 $0.00007 $0.00105
Haiku 4.5 $0.00003 $0.00052

Measured yesterday against content hash 11196cc03f0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

brand-new 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 yesterday.

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.

brand-forge/commands/brand-new.md · 37 lines

What it actually says

/brand-new

Create a versioned visual brand profile in the user's repo. Zero-permission unless the user asks to import from a URL (that one step is opt-in network use).

Steps

  1. Pick a location. Single brand → brand/. Multiple brands → brands/<slug>/. Ask for the slug if not given.

  2. Seed from the starter. Copy templates/brand/ (color-system.json, typography.json, visual-identity.md) into the target directory.

  3. Optional import. If the user supplied a source, propose a starter palette and fonts, then present them for the user to confirm or edit — never adopt them silently:

    • Local SVG / PDF / CSS / HTMLimport { extractFromFile } from '../../lib/extract-brand.mjs' (no network).
    • Website URLimport { extractFromUrl } from '../../lib/extract-brand-url.mjs' — the one opt-in network call; http(s) only, private/loopback addresses refused, body size- and time-capped.

    Raster images (PNG/JPEG) aren't parsed locally — ask for an SVG, a PDF, or a URL. If a source is unreachable, yields nothing, or a PDF has no embedded fonts, fall back to Q&A for the missing fields.

  4. Guided Q&A to fill the rest: brand name, three personality adjectives, tone, imagery style, colors (if not imported), heading/body fonts, do/don't rules.

  5. Validate with lib/brand.mjsvalidateProfile; fix any flagged field (e.g. non-hex color, missing font family).

  6. Set active. Write the slug to brand/.active.

  7. Confirm by running /brand-status so the user sees the loaded kit.

Font policy

If the user has a licensed font file, place it in the brand folder. If a font isn't available locally, record a free/Google-font fallback in typography.json and tell the user it's a substitution — never silently mismatch.

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. yesterday First seen · 37 lines · 0 tokens per session scan A 11196cc03f0a

Subscribe to this mod's changes

brand-new is a command published in the GitHub repository localplugins/plugins (5 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 525 once invoked, about $0.0002 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-31.