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

OpenClaw-Mem0 Plugin Adds Persistent Memory Outside Context Window
The openclaw-mem0 plugin moves memory storage completely outside OpenClaw's context window, preventing loss from compaction or session restarts. It provides automatic recall and capture with both cloud and local setup options.

Local AI VS Code extension blocks insecure code generation during saves
A developer built a VS Code extension that runs llama3.1:8b-instruct-q4 locally to intercept saves, map source-to-sink execution flows, and block AI-generated insecure code like CWE-117 Log Injection vulnerabilities.

ai-codex: Pre-index your codebase to save Claude tokens
ai-codex is a tool that generates compact markdown indexes of your codebase, allowing Claude Code to skip the initial exploration phase that typically consumes 30-50K tokens per conversation. It creates five files covering routes, pages, libraries, schemas, and components.

ExposureGuard MCP Server Adds Domain Security Scanning to Claude Desktop
A developer built an MCP server for domain security scanning using Claude Code, exposing four tools that check SPF, DMARC, SSL, security headers, DNSSEC, open ports, MX, and HTTPS. The server is available via pip install exposureguard-mcp with a free tier of 100 API calls per day.