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

OpenLobster: Self-Hosted AI Agent in Go with 30MB RAM Footprint
OpenLobster is a self-hosted AI assistant written in Go that runs as a single binary with 30MB RAM usage and 200ms cold start. It supports multiple LLM providers including Ollama, OpenRouter, and any OpenAI-compatible endpoint, with memory stored in a graph database.
Lovelace: Project Management for Claude Code That Lives in Your Repo
A desktop app where tickets, docs, and session records are Markdown files inside your repo. The app renders a kanban board from the files, and Claude works the same files through 8 MCP tools. Free, no account needed.

Piast Gate: Open-Source API Proxy for LLM Data Anonymization
Piast Gate is an open-source API proxy that anonymizes sensitive data before sending requests to LLMs and restores original data in responses. The current MVP supports Google Gemini API, Polish language, local execution, and can anonymize text or Word documents without LLM processing.

Cortex: A Local Memory Layer for OpenClaw Agents with Ebbinghaus Decay
Cortex is an open-source memory tool built to solve context compaction issues in OpenClaw agents. It implements Ebbinghaus forgetting curves for fact decay, imports from files first, and runs as a single 19MB Go binary with SQLite.