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

Claudius: Open-Source Embeddable AI Chat Widget for Claude
Claudius is an open-source, self-hosted chat widget powered by Claude that can be embedded on any website with one script tag. It runs on Cloudflare Workers with a React frontend and includes features like custom system prompts, rate limiting, and accessibility compliance.

Layered Defense Framework for Claude Code Rule Enforcement
An IT operations professional built an 8-layer defense framework to enforce Claude Code rules after discovering that both CLAUDE.md prompts and blocking hooks could be bypassed. The approach adapts the Swiss cheese model from accident investigation to prevent workarounds.

Free MCP Lets Claude Analyze Google Search Console Data Automatically
A free MCP (Model Context Protocol) server lets Claude directly query Google Search Console data for any site you have access to. Ask about queries, pages, clicks, impressions, CTR, and position without manual CSV exports.

Scrapling integrated as OpenClaw's scraping backbone
Scrapling, an open-source library that learns page structure and adapts to changes, has been integrated into OpenClaw as its core scraping engine. It's 774x faster than BeautifulSoup with Lxml and supports multiple selector types with async sessions.