Claude Agent SDK Demo — Testing skill for Claude Code
Claude Agent SDK experiment for testing usage with Max Subscription.
How to install Claude Agent SDK Demo
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open bkdev98/claude-agent-sdk-demo and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Agent SDK Demo does
Claude Agent SDK experiment for testing usage with Max Subscription.
Alternatives in Testing
- Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
- Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
- Playwright — claude-plugins-official Browser automation, E2E testing, screenshots 29.4k ★
README
agent-sdk-demo
A small chat playground built on top of the [Claude Agent SDK for Python](https://github.com/anthropics/claude-agent-sdk-python). Streams responses from a locally-spawned `claude` CLI, exposes them through SSE to a Next.js + [prompt-kit](https://www.prompt-kit.com) UI, and lets you drive tools, system prompts and permissions via slash commands.

┌────────────┐ SSE ┌────────────┐ spawn ┌──────────┐
│ Next.js │ ───────────▶ │ FastAPI │ ────────────▶ │ claude │
│ (web/) │ /api/chat │ (server/) │ Agent SDK │ CLI │
└────────────┘ └────────────┘ └──────────┘
Why this exists
- Verify the Python Agent SDK end-to-end with a real UI.
- Authenticate only with the local CLI's stored login (
claude /login); the backend strips token env vars before spawning. - Show off prompt-kit components in a polished chat layout.
Quick start
# 1. Backend
uv sync
uv run uvicorn server.main:app --host 127.0.0.1 --port 8000
# 2. Frontend (in another shell)
cd web
npm install
npm run dev
# open http://localhost:3000
You need an existing `claude` CLI login on this machine. If you don't have one, run `claude /login` once.
Smoke-test with no UI:
uv run python demo.py
Slash commands
Type `/` in the composer to open a typeahead.
| Command | Effect |
|---|---|
/help |
List all commands |
/clear |
Reset conversation + session |
/cost |
Last turn's cost / latency |
/ping |
Quick PONG round-trip |
/joke |
Ask Claude for a programming joke |
/system |
Override the system prompt for next turns |
/model |
Pin a model (e.g. claude-sonnet-4-6) |
/tools |
Enable tools. demo exposes the in-process SDK MCP tools (roll_dice, flip_coin, now) defined in server/sdk_tools.py |
/deny |
D |
Related Skills
Agentic Experiment Designer
Best AI Research Agent GitHub 2026 - Automate Experimental Design Testing Refinement
Claude Code Mastra
Claude Code SDK integration for Mastra Framework - TypeScript Agent implementation with comprehensive testing
Factory Tick
Run one Agent Factory tick — poll Linear, claim ready units, drive code→test→doc via subagents in worktrees, g
Claude Codepro
by Max Ritter - Professional development environment for Claude Code with spec-driven workflow, TDD enforcemen
Code Max
Agent skill that makes a coding agent verify before it claims done — no stubs, no fabricated test results, evi
Frontend Product From Zero
用 AI 编码助手从 0 打造纯前端(mock 数据演示、不接后端)、商业级且顶级审美的 Web 应用的一条 vibe coding 流水线 skill。把 ui-ux-pro-max、frontend-design、a
Related Agents
Spgr Agent Billing
Owns the SaaS revenue model: Stripe integration, subscription lifecycle, usage metering, dunning, plan entitle
Arvr Engineer
Use this agent when the user types /arvr or asks for ar/vr engineer work — e.g., build a Quest passthrough dem
Claude Agent SDK 命令行对话 Demo
License: MIT Node.js Version