Home
cd ../playbooks
Academic ResearchBeginner

Research Exploration Sandbox

Create a structured explorations/ folder for experimental work. Fast-track experiments without full rigor, then graduate successful ones to production code.

5 minutes
By communitySource
#research#exploration#experiments#sandbox#prototyping#workflow

Your experiments are scattered across 15 Jupyter notebooks with names like 'test_v3_final_FINAL.ipynb.' When something works, you can't remember which notebook had the good version. A structured exploration sandbox lets you experiment freely while keeping a clear path from prototype to production code.

Who it's for: research scientists managing multiple concurrent experiments, PhD students organizing exploratory analysis alongside thesis code, data scientists prototyping models before production deployment, ML engineers separating experimental from production code, lab managers establishing reproducible research workflows for their teams

Example

"Set up a research sandbox for my deep learning experiments" → Structured workspace: explorations/ folder with timestamped experiment directories, standard template for each experiment (hypothesis, setup, results, conclusions), auto-logging of parameters and outcomes, graduation criteria for promoting experiments to main codebase, and a experiment index for quick reference

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add research-exploration-sandbox
# Exploration Protocol

## The Problem

Without structure, experimental code scatters across the repository:
- Test scripts in `scripts/`
- One-off files in root
- "Temporary" code that lives forever
- No one knows which version was the good one

## The Solution: Exploration Folder

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

This playbook creates a structured sandbox for experimental work. Instead of scattering test scripts and experiments across your codebase, all exploratory work goes into explorations/ first. You can work fast without full rigor, then graduate successful experiments to production or archive failures with documentation.

Prerequisites

  • Claude Code installed and configured
  • A project where you do experimental/research work explorations/ ├── [active-project]/ │ ├── README.md # Goal, hypothesis, status │ ├── code/ # Iterations (_v1, v2, v3) │ ├── data/ # Test data, inputs │ └── output/ # Results, generated files └── ARCHIVE/ ├── completed[name]/ # Graduated to production └── abandoned[name]/ # Documented why stopped

## Starting an Exploration

Before coding, create the structure:

mkdir -p explorations/[project-name]/{code,data,output}


Create `explorations/[project-name]/README.md`:
```markdown
# Exploration: [Name]

## Goal
[What are you trying to learn or build?]

## Hypothesis
[What do you expect to happen?]

## Status
[ ] In progress / [x] Completed / [ ] Abandoned

## Notes
[Running notes as you work]

## Outcome
[What did you learn? Did hypothesis hold?]

Fast-Track vs Plan-First

Question Answer Workflow
"Will this ship?" YES Plan-First (80/100 quality)
"Am I testing an idea?" YES Fast-Track (60/100 quality)
"Does this improve the project?" NO Don't build it

Fast-Track Rules (for explorations only)

  • Skip formal planning
  • 60/100 quality threshold (vs 80 for production)
  • No PR required
  • Document as you go, not after
  • Can abandon anytime with brief note

Research Value Check (2 minutes)

Before starting ANY exploration:

  1. "Does this improve the paper/product/analysis?"

    • Yes → Explore
    • Maybe → Explore (quick test)
    • No → Skip
  2. "Is this the smallest experiment that could validate the idea?"

    • If no, scope down first

Lifecycle

Research value check (2 min)
        ↓
Create explorations/[project]/ (5 min)
        ↓
Code without overhead (60/100 quality)
        ↓
Decision point (1-2 hours):
├── Graduate → Move to src/, upgrade to 80/100
├── Keep exploring → Stay in explorations/
└── Abandon → Move to ARCHIVE/ with explanation

Graduation Process

When exploration succeeds:

  1. Document what worked in the README
  2. Refactor code to production standards (80/100)
  3. Move to appropriate production location
  4. Update imports, tests, documentation
  5. Move exploration folder to ARCHIVE/completed_[name]/

Abandonment Process

When exploration fails or isn't worth continuing:

  1. Document WHY in the README (so future-you doesn't retry)
  2. Note any partial learnings
  3. Move to ARCHIVE/abandoned_[name]/
  4. No shame — failed experiments are valuable data

Kill Switch

At any point, you can stop:

  • Archive with one-paragraph explanation
  • No sunk cost guilt
  • Move on to next idea

## Step-by-Step Setup

### Step 1: Create the explorations structure

```bash
mkdir -p explorations/ARCHIVE

Step 2: Add to your CLAUDE.md

Add the exploration protocol to your project's CLAUDE.md.

Step 3: Start your first exploration

mkdir -p explorations/test-new-api/{code,data,output}

Create the README:

# Exploration: Test New API

## Goal
Evaluate whether the new Stripe API v3 simplifies our checkout flow

## Hypothesis
v3 should reduce checkout code by 30% and eliminate the webhook complexity

## Status
[ ] In progress

## Notes
- Starting exploration 2024-01-15

Example Usage

User:

"I want to experiment with using DuckDB instead of SQLite for analytics queries"

Claude:

Starting exploration for DuckDB evaluation.

Created structure:

explorations/duckdb-analytics/
├── README.md
├── code/
├── data/
└── output/

README.md:

# Exploration: DuckDB for Analytics

## Goal
Evaluate if DuckDB improves analytics query performance over SQLite

## Hypothesis
DuckDB's columnar storage should make aggregate queries 5-10x faster

## Status
[ ] In progress

## Test Plan
1. Import sample data (1M rows)
2. Run benchmark queries in both DBs
3. Compare query times
4. Assess integration complexity

Ready to start coding. Should I begin with the data import script?

Later - Graduation:

"The exploration succeeded. DuckDB is 8x faster. Graduate to production."

Claude:

Graduating DuckDB exploration:

  1. Refactoring explorations/duckdb-analytics/code/queries.py to production standards
  2. Moving to src/analytics/duckdb_queries.py
  3. Adding tests in tests/analytics/
  4. Updating README with integration notes
  5. Moving exploration to explorations/ARCHIVE/completed_duckdb-analytics/

Done. DuckDB is now production-ready in src/analytics/.

Tips

  • Default to explorations/: When unsure if something will ship, start in explorations. Easier to graduate than to extract.
  • Version your iterations: Use _v1, _v2, _v3 suffixes. Don't delete old versions until exploration completes.
  • Document as you go: "I'll document later" means never. Quick notes now > detailed docs never.
  • Abandon freely: Knowing what doesn't work is valuable. Archive with notes and move on.

Troubleshooting

Problem: Explorations never get graduated

Solution: Set time limits. "If not graduated in 2 weeks, either complete or archive."

Problem: explorations/ folder is cluttered

Solution: Archive aggressively. Anything older than a month should be graduated or archived.

Problem: Exploration code quality is too low even for experiments

Solution: Even fast-track code should run. 60/100 means "works but not polished," not "broken."

$Related Playbooks

Academic Research

Research Ideation Generator

Generate research questions, hypotheses, and empirical strategies. Brainstorm ideas systematically with structured prompts that push beyond obvious approaches.

5 minutes
Beginner
Academic Research

Plan-First Workflow

Get Claude to plan before executing complex tasks. Prevents wasted effort by getting user approval on approach before writing code or making changes.

5 minutes
Beginner
Academic Research

Scientific Manuscript Editor

Five focused editing passes for scientific manuscripts: verb tense conventions by section, topic-sentence structure, line-by-line grammar, substantive clarity editing, and a pre-submission compliance check.

10 minutes
Intermediate
Academic Research

Scientific Matchms

Spectral similarity and compound identification for metabolomics. Use for comparing mass spectra, computing similarity scores (cosine, modified cosine), and identifying unknown compounds from spectral libraries. Best for metabolite identification,...

10 minutes
Intermediate
Academic Research

Scientific Medchem

Medicinal chemistry filters. Apply drug-likeness rules (Lipinski, Veber), PAINS filters, structural alerts, complexity metrics, for compound prioritization and library filtering.

10 minutes
Intermediate
Academic Research

Scientific Metabolomics Workbench Database

Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.

5 minutes
Beginner
Academic Research

Scientific Molecular Dynamics

Run and analyze molecular dynamics simulations with OpenMM and MDAnalysis. Set up protein/small molecule systems, define force fields, run energy minimization and production MD, analyze trajectories (RMSD, RMSF, contact maps, free energy surfaces)...

15 minutes
Advanced
Academic Research

Scientific Molfeat

Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.

10 minutes
Intermediate
Academic Research

Scientific Monarch Database

Query the Monarch Initiative knowledge graph for disease-gene-phenotype associations across species. Integrates OMIM, ORPHANET, HPO, ClinVar, and model organism databases. Use for rare disease gene discovery, phenotype-to-gene mapping, cross-speci...

5 minutes
Beginner
Academic Research

Scientific Neurokit2

Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patter...

10 minutes
Intermediate
Academic Research

Scientific Neuropixels Analysis

Neuropixels neural recording analysis. Load SpikeGLX/OpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen/IBL curation, AI-assisted visual analysis, for Neuropixels 1.0/2.0 extracellular electrophysiology....

15 minutes
Advanced
Academic Research

Scientific Omero Integration

Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.

10 minutes
Intermediate

Browse all Academic Research playbooks →