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

Codesight: AI Context Engine Cuts 30K-60K Tokens from Claude Code Sessions
Codesight is an open-source tool that analyzes codebases to provide AI coding agents with structured context, reducing token waste. A developer collaborated with the maintainer to add AST parsing for Next.js and Prisma, an eval suite, token telemetry, and profiles for Claude Code and Cursor.

Jan-Code-4B: A Lightweight Code-Tuned Model for Local Development
The Jan team released Jan-Code-4B, a 4B parameter code-tuned model based on Jan-v3-4B-base-instruct. It's designed as a drop-in replacement for Haiku in Claude Code, offering improved coding assistance while running locally.

NEXUS: An Open Source Agent Coordination Layer for OpenClaw
NEXUS is a coordination layer built on OpenClaw that enables AI agents to discover each other, delegate tasks, and handle micro-payments. It includes an agent registry, capability-based discovery, trust scores, and uses Google's A2A protocol and Anthropic's MCP.

Memento Vault: Local Tool for Persistent Context in Claude Code Sessions
Memento Vault is a set of hooks that automatically captures session transcripts, scores them, and stores atomic notes in a local git repo. It provides zero-cost retrieval via BM25 + vector search with 472ms average latency and injects relevant context at session start, on every prompt, and on file reads.