Reframe slash command for Claude Code applies cognitive science technique to problem-solving

A developer has created a /reframe slash command for Claude Code that applies a cognitive science technique called distance-engagement oscillation to problem-solving. The technique involves oscillating between analytical distance and emotional engagement to improve how LLMs handle creative problem-solving.
Experimental validation
The approach 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 technique follows a four-step oscillation pattern:
- Step back analytically
- Step into the problem as a character
- Step back to reframe
- Step in to envision
This approach consistently beat every other method tested across all 9 model-scorer combinations, with all results showing statistical significance (p < .001).
Implementation details
The /reframe slash command works by typing /reframe followed by any problem description. The command then walks through the four-step oscillation process automatically.
The developer has released all raw data, scoring scripts, and an R verification script for reproducibility. The repository contains the implementation and documentation for using the slash command.
For developers working with Claude Code who want to experiment with structured problem-solving approaches, this tool provides a research-backed method that has shown measurable improvements in creative problem-solving tasks.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code v2.1.144: Background Sessions, /model Scoping, and 15s Startup Timeout
Claude Code v2.1.144 adds /resume for background sessions, scopes /model to current session only, and fixes a 75s startup hang when api.anthropic.com is unreachable with a 15s timeout.

Jean-Claude: A Satirical LLM Frontend Mocking EU AI Regulation, with 412 Cookie Partners and VAT Invoices Every 5 Messages
Jean-Claude is a satirical LLM frontend that applies extreme EU-style bureaucracy to AI usage: 412 cookie partners, four-eyes principle requiring co-signature, per-token CO₂ tracking with mandatory €offset, VAT invoices every 5 messages, and a compliance center with fake GDPR/AI Act metrics.

Legal MCP Server for Claude Provides Access to 4M+ US Court Opinions
A free, open-source MCP server built with Claude Code gives Claude AI access to 4M+ real US court opinions, providing 18 tools for case law search, citation tracing, Bluebook parsing, Clio practice management, and PACER federal filings without hallucinations.

Exploring the Claude Code Guidelines: A Minimalist Approach in 65 Lines
The Claude Code extension encapsulates essential AI coding principles in just 65 lines of Markdown, emphasizing 'Think Before Coding'. Despite its simplicity, it has gained notable traction among developers.