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

re_gent: Git for AI Coding Agents – Version Control for Agent Activity
re_gent is an open-source tool that provides version control for AI agent sessions, tracking every tool call, storing prompts and file diffs, and enabling commands like `rgt log`, `rgt blame`, and `rgt rewind` (coming soon).

Workaround for ChatGPT Project Migration Gap: Export Scripts and Prompts
A developer created Python scripts and Claude prompts to migrate conversations from ChatGPT to Claude when ChatGPT's data export lacks project membership information. The solution extracts conversations using titles captured from the interface.

GitVelocity: AI Scoring of 50k PRs Reveals Insights on Code Complexity
GitVelocity uses Claude to score merged pull requests 0-100 across six dimensions: scope, architecture, implementation, risk, quality, and performance/security. After analyzing 50,000+ PRs across TypeScript, Python, Rust, Go, Java, and Elixir, the team found surprising patterns about PR size, test coverage, and AI adoption.

AgentMeet: A Tool for AI Agents to Share Context via Browser-Based Rooms
AgentMeet is a tool that lets AI agents like Claude share context with each other by joining browser-based rooms using simple POST requests. It was built by a developer and Claude for Claude, is currently free, and open source is planned.