Skip to content
Design
Hook

Hooks

What naksha runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
naksha
3561 skill7 agents70 commands9 hooks

Claude Code

> /plugin marketplace add Adityaraj0421/naksha-studio
> /plugin install naksha@naksha

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matches*bash "${CLAUDE_PLUGIN_ROOT}/scripts/detect-design-context.sh"

PreCompact

  • Matches*bash "${CLAUDE_PLUGIN_ROOT}/scripts/precompact-brief.sh"

Stop

  • Matches*node "${CLAUDE_PLUGIN_ROOT}/scripts/memory-apply-hook.js"
  • node "${CLAUDE_PLUGIN_ROOT}/dashboard/hooks/emit.js"

PreToolUse

  • Matches*node "${CLAUDE_PLUGIN_ROOT}/dashboard/hooks/emit.js"

PostToolUse

  • MatchesWrite|Editbash "${CLAUDE_PLUGIN_ROOT}/scripts/design-lint-hook.sh"

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • node "${CLAUDE_PLUGIN_ROOT}/dashboard/hooks/emit.js"

SubagentStart

  • Matches*node "${CLAUDE_PLUGIN_ROOT}/dashboard/hooks/emit.js"

SubagentStop

  • Matches*node "${CLAUDE_PLUGIN_ROOT}/dashboard/hooks/emit.js"

SessionEnd

  • node "${CLAUDE_PLUGIN_ROOT}/dashboard/hooks/emit.js"
Read hooks/hooks.json

In the plugin's words

How naksha describes its own hook set.

Naksha hooks — detect project context, write a pre-compact brief, apply memory updates (deterministic, no model call), lint edited UI files, and (only when the optional dashboard is enabled) record a local event stream
@adityaraj0421
Ships withnaksha

Your agency's design brain. Always on, always yours. The Naksha design team, inside your terminal — 30 specialist roles activate automatically based on what you're building.

3561 skill7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
356
Star history of Adityaraj0421/naksha-studio on GitHub, a chart by star-history.com

More plugins that ship hooks.

next-ai-draw-io

next-ai-draw-io

Draw and edit draw.io diagrams by chatting with an AI. Describe a diagram in a sentence and the AI draws it on a real draw.io canvas. Edit it by hand like any draw.io file, or select a few shapes and tell the AI what to change.

7 hooks1 MCP37k
@dayuanjiang@dayuanjiang
Install Plugin
ux-ui-agent-skills

ux-ui-agent-skills

Gives a coding assistant design skills for building interfaces: audit a UI against accessibility rules, generate a brand design system of tokens, apply a visual style, and build data-heavy dashboards with real charts.

26 skills+43.2k
@plugin87@plugin87
Install Plugin
designpowers

designpowers

An agent design team you control. 10 agents that run an inclusive design process while you direct. The system notices how you design and reflects it back. Designpowers is an open, model-agnostic design workflow that gives you a team of 10 design agents.

36 skills+2263
@owl-listener@owl-listener
Install Plugin
bridge-ds

bridge-ds

Bridge connects Claude Code to the Figma Plugin API over WebSocket, so you can design, extract your design system, and fix or ship Figma components from the terminal.

5 skills+2156
@noemuch@noemuch
Install Plugin

Questions about the hooks in naksha.

Which coding agents can use the hooks in naksha?
The hooks in naksha install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.