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
GLiGuard: Open-Source 300M Parameter Safety Moderation Model Claims 16x Speedup Over LLM Guardrails
Fastino Labs releases GLiGuard, a 300M parameter encoder-based model that performs multiple safety tasks in a single pass, matching or exceeding models 23–90x larger while running up to 16x faster.

Claude Code Logs Every Session to Disk — Here's How to Index and Recall Them
Claude Code writes every session turn to ~/.claude/projects/ as JSONL. One user indexed 1026 sessions (57MB, 76K turns) into SQLite+FTS5 with an MCP server for search and thread recall across sessions.

Zora: Offline-First AI Agent with Default-Deny Security and Local Memory
Zora is an AI agent that runs fully offline via Ollama by default, starts with zero access permissions, and maintains persistent memory across sessions. It addresses security and cost issues seen in other agents.

Local MCP Server Connects Claude to Mac Apps Without Cloud or Tokens
Local MCP is a native macOS MCP server that gives Claude Desktop, Cursor, Windsurf, and VS Code access to Mail, Calendar, Teams, and OneDrive data on your Mac without cloud processing or API tokens.