Agent UX

Install & MCP Registry Setup

1. Add the @sks namespace to components.json

{
  "registries": {
    "@sks": "https://sks-agent-ux.vercel.app/r/{name}.json"
  }
}

2. Optional: Enable shadcn MCP for AI coding agents

npx shadcn@latest mcp init

Once configured, agents can discover and install @sks/* components directly from your registry.

Pro Kit License Header (Polar key)

{
  "registries": {
    "@sks": {
      "url": "https://sks-agent-ux.vercel.app/r/{name}.json",
      "headers": {
        "x-license-key": "${SKS_LICENSE_KEY}"
      }
    }
  }
}

Tactile motion primitives for AI agents.Drop-in React & Motion components via @sks.

npx shadcn@latest add @sks/tool-call-pill

Thinking Shimmer

Free
@sks/thinking-shimmer

Multi-line reasoning shimmer with a live elapsed timer.

Thought
0.0s

Inspecting workspace routes and Polar license validation guard...

Tool Call Pill

Free
@sks/tool-call-pill

Spring-morphed pill across pending, running, and settled states.

search_registryqueued
verify_licensequeued

Streaming Text

Free
@sks/streaming-text

Token-by-token fade-in with inline caret and zero layout jitter.

Pro Kit ($29 One-Time)

9 Components · Polar License

One-time license unlocked via x-license-key in your components.json. Full TypeScript source, zero runtime lock-in.

Get Pro Access — $29

Reasoning Accordion

Pro
@sks/reasoning-accordion

Streaming Thought Process drawer with smooth auto-scroll and auto-collapse.

  1. Inspecting /r/[name] route handler and Polar license guard...
  2. Confirmed built artifacts resolve from registry-dist/ outside public/.
  3. Checking outputFileTracingIncludes so Vercel bundles registry-dist/**/*.
  4. Verified 401 Unauthorized response for Pro items without x-license-key.

Agent Timeline

Pro
@sks/agent-timeline

Vertical execution trace with status nodes, timings, and JSON drawers.

  1. 240ms
  2. 110ms
  3. 680ms
  4. 920ms

Approval Gate

Pro
@sks/approval-gate

Human-in-the-loop gate with risk level, arg editing, and ⌘↵ / Esc shortcuts.

drop_table
critical risk

Purges expired session rows prior to applying the v4 migration.

{
  "table": "tmp_sessions",
  "cascade": true,
  "rows_affected": 14280
}

Citation Hover Card

Pro
@sks/citation-hover-card

Inline numbered citations revealing spring-anchored source previews on hover.

Pro registry JSONs are served dynamically only after verifying the Polar license header and bundling registry-dist/ with the serverless route.

Hover or focus [1] and [2] to inspect sources.

Context Meter

Pro
@sks/context-meter

Token budget indicator with category breakdown and 80% warning shift.

Token Distribution85.2k free
  • System
    6.4k5%
  • Files
    18.2k14%
  • History
    11.6k9%
  • Tool Results
    6.6k5%

Artifact Split Pane

Pro
@sks/artifact-split-pane

Animated split view pairing agent chat with a collapsible live artifact.

Agent
Gate Pro items with Polar.
Updated guard.ts to verify x-license-key before serving JSON.
guard.tsts
export async function guard(key?: string) {  if (!key) return 401;  const ok = await verifyPolar(key);  return ok ? 200 : 401;}

Voice Waveform

Pro
@sks/voice-waveform

Low-latency reactive bar equalizer with optional live AudioContext mic mode.

Speaking
speaking

Prompt Command Bar

Pro
@sks/prompt-command-bar

Keyboard-first composer with @context pills, / slash menu, and model picker.

@route.ts

Diff Review Card

Pro
@sks/diff-review-card

Inline diff hunk inspector with spring-collapsed Accept and Revert actions.

app/r/[name]/route.ts
+2-2
@@ -89,2 +89,2 @@ read registry artifact
path.join(process.cwd(), "public", "r", file)path.join(process.cwd(), "registry-dist", file)
@@ -96,2 +96,2 @@ cache headers
"Cache-Control": "public, max-age=3600""Cache-Control": isFree ? "public, s-maxage=3600" : "private, no-store"