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

Self-Maintaining Documentation System Using Fenced Blocks for Zero Drift
A developer built a bash script that extracts structured data directly from source files and injects it into CLAUDE.md through fenced HTML comment blocks, ensuring documentation stays in sync with code without manual maintenance.

cortex-engine MCP server adds persistent memory and multi-agent support
cortex-engine v0.4.0 is an open-source MCP server that gives AI agents persistent long-term memory with tools like observe(), query(), believe(), and dream(). It now supports multiple agents with isolated memory namespaces.

Vektori's Memory Architecture: Principles from Claude's Leaked System
Vektori implements a three-layer hierarchical sentence graph for AI memory, inspired by leaked principles from Claude's architecture. The system uses strict quality filters, skeptical retrieval with a 0.3 minimum score, and maintains correction history across sessions.

CLI Tools with AI Agent Compatibility: Skills Directory Approach
A Reddit user shares a method for making CLI tools work with AI coding agents like Claude Code by creating SKILL.md files that teach agents installation, authentication, and usage. The approach addresses common issues like interactive prompts, JSON output, and authentication methods.