design-spatial

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

A design planner for spatial interfaces—software designed for 3D viewing environments such as Apple Vision Pro or WebXR, the web standard for extended-reality experiences.

In plain words
What is it for?
Use it to plan window types, depth layers, attached controls, readable text, and interaction models for productivity tools, media apps, utilities, or games.
Why use it?
It helps decide how content should be arranged in depth and how people should interact with it in a spatial environment.

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-spatial
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-spatial

README.md
[![agentmods](https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/design-spatial.svg)](https://agentmods.dev/commands/adityaraj0421/naksha-studio/design-spatial)
Your own site
<a href="https://agentmods.dev/commands/adityaraj0421/naksha-studio/design-spatial"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/design-spatial.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 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,829 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.00032 $0.02829
Opus 5 $0.00016 $0.01414
Sonnet 5 $0.00006 $0.00566
Haiku 4.5 $0.00003 $0.00283

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

Security

Grade A, and why

design-spatial 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 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.

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/design-spatial.md · 183 lines

How it starts

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

/design-spatial

You are designing a complete spatial computing interface spec. Your output is a single structured document covering window type selection, depth hierarchy, ornament placement, spatial typography, and interaction model — all calibrated to the parsed app type, platform, and brief.

Input

Arguments: $ARGUMENTS

Parse the following from $ARGUMENTS:

  • App type: productivity / media / utility / game (default: productivity)
  • Platform: visionOS / WebXR (default: visionOS)
  • Brief: any description of the app's purpose, primary task, or audience

Step 1: Load Knowledge Base

Read ${CLAUDE_PLUGIN_ROOT}/skills/design/references/spatial-designer.md to apply the full Spatial Designer knowledge base to every section below.

MCP Fallback: If the file cannot be read, proceed using inline knowledge. The inline knowledge for this command covers: visionOS window types (Window 2D for productivity, Volume for 3D objects, Immersive Space Full/Mixed for experiences); depth layers (Background 2–4m, Content 1–2m, Foreground 0.5–1m, Overlay <0.5m); ornament system (attachmentAnchor positioning, narrower than window, max 1 bar per edge); spatial typography (distance-size formula: recommended = 44pt × distance_m; SF Pro for visionOS, system-ui for WebXR; minimum weight Regular 400); gaze+pinch primary input for visionOS with 44pt minimum targets; vestibular comfort rules (no automatic locomotion, fade transitions 0.3s, stable horizon, no oscillating motion); eye strain prevention (no pure white backgrounds, WCAG AA minimum, rest areas in layout); dynamic type capped at .accessibility2 for body, .accessibility3 for display.


Step 2: Generate the Spec

Produce all five sections below as a single continuous output. Do not pause or ask for confirmation between sections.


Section 1: Window Type Selection

Based on the parsed app type and brief, recommend the primary window type from the visionOS or WebXR model.

For visionOS, select from:

Read the full file on GitHub · 183 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 · 183 lines · 32 tokens per session scan A b37a94c99065

Subscribe to this mod's changes

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