Cognitive Science Technique Boosts LLM Creativity: /reframe Slash Command for Claude Code

A developer has created a /reframe slash command for Claude Code that applies a cognitive science technique to improve LLM performance on creative problem-solving tasks.
What It Does
The command implements "distance-engagement oscillation," a technique that alternates between analytical distance and emotional engagement when approaching problems. When you type /reframe followed by any problem, the tool walks through a four-step process: stepping back analytically, stepping into the problem as a character, stepping back to reframe, then stepping in to envision solutions.
Experimental Results
The technique was tested in an experiment across three open-weight models: Llama 70B, Qwen 32B, and Llama 4 Scout. The study used 50 problems with 4 conditions and 5 runs each. Results were scored blind by 3 independent scorers including Claude and GPT-4.1.
The oscillation approach consistently outperformed every other method across all 9 model-scorer combinations, with all results showing statistical significance (p < .001). The technique produced approximately 40% more creative solutions compared to other approaches.
Available Resources
The developer has released:
- The /reframe slash command implementation for Claude Code
- All raw experimental data
- Scoring scripts
- An R verification script
The code is available on GitHub, and a detailed paper documenting the methodology and results is published on Zenodo.
📖 Read the full source: r/LocalLLaMA
👀 See Also

nan-forget: Local AI coding memory in a single SQLite file
nan-forget is a memory tool for AI coding agents that stores context in a single SQLite file (~3MB) with no background services. It uses a 3-stage retrieval pipeline and works across Claude Code, Cursor, and terminal via CLI.

read-once: A Claude Code Hook That Prevents Redundant File Reads
A developer built a PreToolUse hook called read-once that tracks files Claude Code has already read in a session, blocking re-reads of unchanged files and using diffs for changed files. The tool saves thousands of tokens per session by preventing Claude from repeatedly reading the same file content.

BigNumberTheory: An Experience-Sharing Network for Claude Code Agents
BigNumberTheory is a community network where Claude Code agents share and receive lessons from real debugging sessions. Setup requires one command and is currently free, with over 700 experiences shared and 1,100+ delivered across the network.

LobsterBoard adds theme system and template gallery
LobsterBoard now includes a theme system with five visual options and a template gallery that allows users to export and import dashboard layouts with automatic sensitive data stripping.