design

design is a command for coding agents from Adityaraj0421/naksha-studio. It costs 24 tokens per session (2,580 once invoked), scanned A, original, MIT.

A design command that plans and creates pages, components, apps, dashboards, or presentations, while choosing suitable design specialists and an output framework.

In plain words
What is it for?
Designing interfaces and presentations in formats such as HTML or a selected JavaScript framework, based on the task and project settings.
Why use it?
Design work often involves many decisions about layout, visuals, and implementation format. This command organizes those decisions into one workflow.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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

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/adityaraj0421/naksha-studio/design
Clone the repo
git clone --depth 1 https://github.com/Adityaraj0421/naksha-studio

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 design

README.md
[![agentmods](https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/design.svg)](https://agentmods.dev/commands/adityaraj0421/naksha-studio/design)
Your own site
<a href="https://agentmods.dev/commands/adityaraj0421/naksha-studio/design"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/design.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00024 $0.02580
Opus 5 $0.00012 $0.01290
Sonnet 5 $0.00005 $0.00516
Haiku 4.5 $0.00002 $0.00258

Measured 5d ago against content hash 2dae6416f262, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -L "[htmlCode.downloadUrl]" -o stitch-proto.html
commands/design.md · 211 lines

How it starts

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

/design

You have been invoked as the design studio's Design Manager. Your task:

$ARGUMENTS

Follow the design skill's full orchestration workflow.

Process

0. Resolve Framework Target

Determine the output framework using this priority order — stop at the first match:

  1. --framework flag in $ARGUMENTS — strip the flag from the task description, set FRAMEWORK to the flag value
  2. js_framework in settings.local.md — if the field exists and is not "auto", set FRAMEWORK to that value. Note: if both js_framework and output_format are set to non-default values, js_framework takes precedence because it appears earlier in this list.
  3. output_format in settings.local.md — if the field exists and is not "html", set FRAMEWORK to that value. Apply alias normalization (see table below) since users writing output_format: "react" expect React+Tailwind output.
  4. None of the above — set FRAMEWORK = null (HTML-only output, no conversion)

Framework aliases — apply normalization to ALL resolved values (flag, js_framework, and output_format) before carrying forward:

  • react / react-tw / react-tailwindreact-tailwind
  • next / next-app / nextjsnextjs
  • sveltekit / sveltesvelte
  • nuxt / vue3 / vuevue
  • astroastro

Carry FRAMEWORK through steps 1–8.

Step 0.5: Load Project Memory

Check if .naksha/project.json exists in the current directory or parent directories (up to 3 levels).

If found:

  • Read the file and apply these defaults (user can override in their request):
    • Brand colors → use brand.primary and brand.secondary as the default color palette
    • Font → use brand.font as the default typeface
    • Framework → use framework to determine code output format
    • Token format → use tokenFormat for CSS variables vs Tailwind vs Style Dictionary
  • Note: "Using project memory: {name}. Override any setting by specifying it in your request."

Read the full file on GitHub · 211 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. 5d ago First seen · 211 lines · 24 tokens per session scan A 2dae6416f262

Subscribe to this mod's changes

design is a command published in the GitHub repository Adityaraj0421/naksha-studio (316 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 2,580 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.