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

Building a voice-controlled multi-agent system on top of Claude Code
A developer built a wake-word-activated voice loop for Claude Code that spawns sub-agents, parallelizes work, and auto-QAs results. Full technical breakdown including speaker verification and PID watcher.

Oh-My-Mermaid: Claude Code Skill for Auto-Generating Architecture Diagrams
Oh-My-Mermaid is a Claude Code skill that analyzes codebases and automatically generates Mermaid architecture diagrams and documentation. It's installed via npm and used with the /omm-scan command in Claude Code.

SkyClaw: An Open Agent Runtime Written in Rust
SkyClaw is an open-source agent runtime written in Rust with 34 new features across 7 development phases. It includes task checkpointing, SQLite-backed persistent queues, parallel tool execution, and multi-tenancy support.

Managing Multiple AI Agent Tasks with Kanban Boards
A developer shares their experience running multiple Claude AI agents in terminal tabs and identifies three key workflow challenges: lack of progress visibility, context loss when switching between tasks, and rate limit interruptions. Their solution involves treating AI tasks like work items on a Kanban board.