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

Pilot: A Browser Automation Tool Built Entirely with Claude Code
A non-developer used Claude Code to build Pilot, a Chrome automation tool that lets AI control browsers via accessibility tree navigation. The tool assigns numbers to clickable elements so Claude can issue commands like 'click 5' instead of guessing screen positions.

OpenClaw Janitor Skill for Automated System Management and Security Hardening
A developer created a skill that uses Claude Code to SSH into OpenClaw machines and harden configurations, including sandboxing, OS hygiene, and channel security, while maintaining a project folder with audit instructions in CLAUDE.md.

PaperclipAI: Open-source orchestration for zero-human companies
PaperclipAI is an open-source orchestration framework designed for fully automated companies. The project gained 14,000 GitHub stars in its first week of existence.

Developer shares hybrid AI coding workflow: Claude for planning, local models for execution
A developer built a pipeline using Claude 3.5 Sonnet for task planning and local Qwen2.5-Coder models via Ollama for code generation, achieving 85% token reduction compared to using Claude alone.