statico

Kidcode β€” AI skill for Claude Code

AI community

πŸ§’ A kid-friendly web app that wraps Claude Code CLI to let kids build things with AI through a chat interface.

How to install Kidcode

This entry records only its repository, not the path inside it, so there is no exact command to give. Open statico/kidcode and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Kidcode does

πŸ§’ A kid-friendly web app that wraps Claude Code CLI to let kids build things with AI through a chat interface.

Alternatives in AI

  • Cursor Tools β€” by eastlondoner - Creates a versatile AI command interface supporting multiple providers and models with flexi 4.7k β˜…
  • Proxypal β€” A desktop app that lets you use your AI subscriptions (Claude, ChatGPT, Gemini, GitHub Copilot) with any codin 1.2k β˜…
  • Dataverse Skills β€” Microsoft Dataverse skills for AI coding agents 209 β˜…

README

KidCode

A kid-friendly web app that wraps the [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) to let kids build things with AI through a chat interface. Think of it as Claude Desktop for kids β€” type what you want to build, and watch it come to life in a split-view preview.

Image

[!WARNING] **Intended for local use only.** KidCode runs Claude Code with `--dangerously-skip-permissions`, meaning Claude can read, write, and execute anything on the host without confirmation. Do not expose this to the internet. Consider running it inside a sandbox, VM, or container.

How it works

KidCode is a Next.js app with a three-panel layout:

  • Sidebar β€” project list with create/delete (deleted projects are archived, not destroyed)
  • Chat β€” conversation with Claude, streamed in real-time
  • Preview β€” live iframe showing whatever Claude builds (HTML games, tools, pages)
  • Undo β€” every iteration snapshots project files, so kids can undo mistakes with one click

When you send a message, KidCode spawns `claude -p` as a child process in the project's subdirectory. Claude's streaming JSON output is parsed and forwarded to the browser via Server-Sent Events. When Claude creates or edits HTML files, the preview pane automatically opens and refreshes.

Each project gets a UUID and its own directory under `public/projects/`. Files Claude creates (HTML, CSS, JS, images) are served via an API route and rendered in the iframe.

A hardcoded system prompt keeps everything G-rated and kid-friendly, and instructs Claude to build things as self-contained HTML files.

Requirements

  • Node.js 18+
  • Claude Code CLI installed and authenticated (uses your Claude Max subscription β€” no API key needed)

Setup

npm install
npm run dev

The app runs at `http://localhost:300