GAN Skill for Claude Code: Adversarial AI Tool for Idea Refinement

GAN Skill for Claude Code
A Claude Code skill called /gan implements an adversarial AI approach to idea refinement, using alternating Discriminator and Generator roles to critique and evolve concepts through multiple rounds of iteration.
How It Works
The system operates with two alternating roles:
- Discriminator (🔴): Steel-mans your idea first, then systematically attacks it
- Generator (🟢): Concedes valid hits, defends with substance, evolves the idea
Each round builds on all previous rounds with no repetition. The tool was developed through self-iteration where the creator used /gan to stress-test /gan itself, resulting in multiple feature improvements over 20+ rounds.
Features Developed Through Self-Iteration
- ✅ Added forced role selection (
/gan d,/gan g) - ✅ Added intensity modes (
hard= pre-mortem,soft= Socratic questions) - ✅ Added multi-language output (
:en,:ja,:ko) - ✅ Added Reconnaissance Mode (smarter first-round critique)
- ❌ Tried adding explicit "soft Generator" rules —
/ganrejected it (the old implicit behavior was actually better)
Every feature was either born from or survived adversarial pressure. The initial version was rough — just a Discriminator that attacks. When the creator ran /gan on its own design, the Discriminator found that "there's no defense, only attack." The Generator responded by adding itself — a role that absorbs the critique, concedes what's valid, and evolves the idea into something stronger.
Installation and Security
Installation takes approximately 30 seconds:
mkdir -p ~/.claude/skills/gan && curl -o ~/.claude/skills/gan/SKILL.md https://raw.githubusercontent.com/GAN-Thinking/gan-skill/main/SKILL.mdThe skill is contained in one SKILL.md file with zero permissions — no Bash, no file access, no internet. The creator notes they're not a native English speaker and used Claude to help write the original post, demonstrating the tool's purpose: to make AI work harder for you.
📖 Read the full source: r/ClaudeAI
👀 See Also

LLMs Leak Reasoning into Structured Output Despite Explicit Instructions
A developer building a tool that makes parallel API calls to Claude and parses structured output found that validation models intermittently output reasoning text before corrected content, despite explicit instructions to return only corrected text. The fix involved prompt tightening plus a defensive strip function that runs before parsing.

Telegram Bot to Manage Headless Claude Code Channels via tmux
A zero-dependency Python Telegram bot that launches, stops, and monitors Claude Code Channels sessions in tmux on a headless server, with watchdog auto-restart.

DIY OpenClaw Alternative Using Claude Code in Headless Mode
A developer built a Python server that sends prompts to Claude Code in headless mode, with Telegram bot access, Hammerspoon automation, and local markdown file storage for tasks, schedules, and notes.

Yavio: Open-Source Product Analytics SDK for MCP Apps
Yavio is an open-source product analytics SDK for MCP and MCP Apps that automatically captures tool calls, errors, and resource reads with one function call. The MIT-licensed project provides a dashboard with per-tool breakdowns, funnels, retention, and error tracking.