brand-kit

brand-kit is a command for Claude Code from Adityaraj0421/naksha-studio. It costs 33 tokens per session (3,082 once invoked), scanned A, original, MIT.

A command that creates a brand kit from a logo and one or two brand colors. A brand kit is a shared set of colors, fonts, spacing rules, and reusable design settings.

In plain words
What is it for?
Use it to generate color palettes, typography scales, spacing values, component tokens, and optionally styles for Figma.
Why use it?
It removes the need to define these visual rules separately for every screen or component. Consistent tokens help a product look and behave like one system.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the naksha-studio plugin — 47 commands, 7 agents shipped together

Good fit Use it to generate color palettes, typography scales, spacing values, component tokens, and optionally styles for Figma.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Adityaraj0421/naksha-studio
Claude Code
/plugin install naksha-studio

Made for: Claude Code.

Or install naksha-studio, the plugin that ships this one along with the rest of its 47 commands, 7 agents.

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 brand-kit

README.md
[![agentmods](https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/brand-kit.svg)](https://agentmods.dev/commands/adityaraj0421/naksha-studio/brand-kit)
Your own site
<a href="https://agentmods.dev/commands/adityaraj0421/naksha-studio/brand-kit"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/brand-kit.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,082 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.00033 $0.03082
Opus 5 $0.00016 $0.01541
Sonnet 5 $0.00007 $0.00616
Haiku 4.5 $0.00003 $0.00308

Measured 8d ago against content hash 2486cf9e5e23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

brand-kit 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 8d 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.

commands/brand-kit.md · 346 lines

How it starts

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

/brand-kit

You are generating a complete brand kit from minimal inputs (1-2 colors and optionally a brand name/mood). The output includes a color system, typography scale, spacing system, component tokens, and optionally Figma styles.

Input: $ARGUMENTS

Read ${CLAUDE_PLUGIN_ROOT}/skills/design/references/design-system-lead.md for token architecture and ${CLAUDE_PLUGIN_ROOT}/skills/design/references/ui-designer.md for visual design principles.

Process

0. Load Project Context (v5)

Before parsing inputs, check for .naksha/project.json (search up to 3 directory levels):

If found, read v5 constraints to inform generation:

  • constraints.grid → use as the base unit for all generated spacing tokens. If "8px", every spacing value is a multiple of 8.
  • constraints.dark_mode → if false, omit dark mode token variants. If true, dark mode is required. If absent, include as optional.
  • constraints.accessibility_target → if "WCAG AAA", ensure all generated color combinations achieve ≥ 7:1 contrast. Default to WCAG AA (4.5:1).
  • constraints.out_of_scope → if an excluded item would normally be part of the brand kit (e.g., dark mode tokens, icon set), skip it silently and note the exclusion.
  • component_patterns → if named patterns exist, ensure the generated component tokens (button, card, input radii/padding) match the recorded descriptions. Note any intentional divergences.

If v5 constraints conflict with the user's explicit request (e.g., user asks for dark mode but dark_mode: false): generate what the user asked for, but add a note: "⚠ Note: project memory has dark_mode: false. Update via /naksha-remember if this decision has changed."

If no project found: continue with defaults.

After generating, emit memory update blocks for constraints implied by brand decisions:

  • Mood "professional" or "minimal" with no existing accessibility_target → emit: constraints.accessibility_target = "WCAG AA"
  • Spacing system generated with a specific base unit → if no constraints.grid exists, emit: constraints.grid = "{base unit}"

Read the full file on GitHub · 346 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. 8d ago First seen · 346 lines · 33 tokens per session scan A 2486cf9e5e23

Subscribe to this mod's changes

brand-kit is a command published in the GitHub repository Adityaraj0421/naksha-studio (316 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 3,082 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-30.