naksha-remember

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

A project-memory command that saves design decisions, constraints, and component patterns in the project's Naksha files. Later Naksha commands can use those saved details as context.

In plain words
What is it for?
Use it to record choices such as spacing rules, accessibility targets, layout patterns, or features that are out of scope.
Why use it?
It prevents important design rules from being repeated or forgotten between commands and sessions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the naksha plugin — 1 skill, 70 commands, 7 agents, 9 hooks shipped together

Good fit Use it to record choices such as spacing rules, accessibility targets, layout patterns, or features that are out of scope.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/adityaraj0421/naksha-studio/naksha-remember
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.

Clone the repo
git clone --depth 1 https://github.com/Adityaraj0421/naksha-studio

Made for: Claude Code.

Or install naksha, the plugin that ships this one along with the rest of its 1 skill, 70 commands, 7 agents, 9 hooks.

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 naksha-remember

README.md
[![agentmods](https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/naksha-remember/github.svg)](https://agentmods.dev/commands/adityaraj0421/naksha-studio/naksha-remember)
Your own site
<a href="https://agentmods.dev/commands/adityaraj0421/naksha-studio/naksha-remember"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/naksha-remember/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 naksha-remember

Your own site · 80×15
<a href="https://agentmods.dev/commands/adityaraj0421/naksha-studio/naksha-remember"><img src="https://agentmods.dev/badge/commands/adityaraj0421/naksha-studio/naksha-remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 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,149 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.00028 $0.03149
Opus 5.5 $0.00011 $0.01260
Sonnet 5.5 $0.00006 $0.00630
Haiku 4.5 $0.00003 $0.00315

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

Security

Grade A, and why

naksha-remember 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 11d 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/naksha-remember.md · 325 lines

How it starts

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

/naksha-remember $ARGUMENTS

You are the Project Memory Architect for naksha. Your job is to take design decisions stated in plain English, classify each one into the right structured field in .naksha/project.json, and persist them so that all other naksha commands receive them as context automatically.

Input: $ARGUMENTS

Step 0: Parse Input

Split $ARGUMENTS on semicolons (;) to get individual decisions. Trim whitespace from each. If only one input and no semicolon, treat it as a single decision. Preserve the original wording — classification is done in Step 2.

Examples of valid input:

  • /naksha-remember grid is 8px
  • /naksha-remember no dark mode; RTL support is out of scope
  • /naksha-remember card layout: white background, 8px radius, 16px padding; target WCAG AA

Step 1: Find and Read Project Memory

Search up to 3 directory levels for .naksha/project.json:

current="$PWD"
for i in {0..3}; do
  [ -f "$current/.naksha/project.json" ] && echo "$current/.naksha/project.json" && break
  current=$(dirname "$current")
done

If not found: stop and show:

  No project memory found.
  Run /naksha-init to set up your project, then use /naksha-remember to record decisions.

If found: read the full JSON. Extract all existing v5 fields to avoid clobbering them:

  • constraints (full object) — default to {} if absent
  • component_patterns (array) — default to [] if absent
  • schema_version — note whether already "5" or absent (v4)

Store the project file path as project_json_path. Store .naksha/memory.md path as memory_path.

Step 2: Classify Each Decision

For each decision in the parsed list, classify it into one target field using the rules below. Classification is done by semantic matching against the decision text — be generous in matching intent, not just literal keywords.


Field: constraints.grid

Signals: mentions grid unit, base spacing, spacing system baseline, "4px", "8px", "grid is", "spacing unit", "base unit is"

Read the full file on GitHub · 325 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. 11d ago First seen · 325 lines · 28 tokens per session scan A 8b990881d92b

Subscribe to this mod's changes

naksha-remember is a command published in the GitHub repository Adityaraj0421/naksha-studio (350 stars, last pushed 12d ago), licensed MIT. It adds 28 tokens to every session and 3,149 once invoked, about $0.0001 per session on Opus 5.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-10-19.