Socratic Prompt Generator Built as React Artifact Inside Claude

A developer has created a Socratic prompt generator that operates as a React artifact directly within Claude. Unlike typical prompt generators that simply rephrase input, this tool forces AI to engage in reasoning before execution.
How It Works
The generator scans user input and automatically detects several elements:
- Complexity
- Domain
- Audience
- Action verbs
Based on this analysis, it generates three prompt tiers:
- Light: Quick reframe of the input
- Medium: Adds role definition and audience psychology
- Heavy: Builds full prompt architecture with four reasoning phases, dynamic role definitions, operating rules, failure mode phase, cross-domain borrowing, and auto-generated north star
Key Features
The tool includes 13 specific features:
- Complexity auto-detection
- 3-tier variant system
- Socratic phase architecture
- Dynamic role definitions
- Context-aware operating rules
- Domain detection engine
- Action verb extraction
- Audience extraction
- Auto-generated north star
- Failure mode phase
- Cross-domain borrowing
- Persistent prompt library with timestamps
- Full copy/save/delete functionality
Notable Implementation Details
The failure mode phase is particularly significant—before the AI produces any output, it must identify what a lazy version would look like and what a smart critic would tear apart. According to the developer, this single feature dramatically changes output quality.
The tool is built as a React artifact that runs directly inside Claude with no installation required. It's free to use and was inspired by Usama's Socratic prompting framework on Facebook, which the developer systematized into an automated generator.
📖 Read the full source: r/ClaudeAI
👀 See Also

Context Gateway: An Open-Source Proxy for Compressing AI Agent Context
Context Gateway is an open-source proxy that sits between coding agents and LLMs, compressing tool outputs before they enter the context window. It uses small language models to detect signal in context, performs background compaction at 85% window capacity, and includes spending caps, a dashboard, and Slack notifications.

Homebutler: OpenClaw Skill for Homelab Management via Telegram
Homebutler is a single Go binary (~13MB, zero dependencies) that works as an OpenClaw skill to manage homelabs from Telegram chat. It monitors servers, restarts Docker containers, wakes machines, scans networks, and alerts on resource spikes without SSH sessions or dashboard logins.

git-prism v0.9.0: Give AI Coding Agents Structured Diffs via MCP
git-prism is an MCP server that replaces raw git diff text with structured JSON for AI coding agents. v0.9.0 intercepts git calls at the PATH layer, catching subprocess and gh commands.

Rival-Review: A Cross-Model Review Loop for AI Agent Plans
Rival-review is an MIT-licensed tool that uses a second AI model to audit plans from a primary AI coding agent before execution, catching issues like flawed rollback plans, security holes, and stale-state decisions.