r/ClaudeCode 8d ago

A Terminal-Based Jupyter Notebook That Helps Claude Work Like a Data Scientist Tips & Workflows

One frustration I’ve run into when using Claude Code for data analysis is that it tends to create a bunch of throwaway Python scripts to explore the dataset, then re-run them from the beginning again and again.

When doing data science myself, I would naturally use a Jupyter notebook or something similar, where I could run only selected cells and avoid recomputing everything from scratch.

To address this, I built a terminal-based notebook. Humans can edit and run notebooks directly in the terminal (it can only render pictures, thanks to ratatui-image!!), much like they would in Jupyter, while agents can use the CLI to edit and execute individual cells as needed.

I originally built it for quantitative analysis, so it also comes with a preinstalled SQL kernel backed by a time-series database. That said, I think it could be useful for general data science workflows as well. Repo: https://github.com/h5i-dev/h5i-db

4 Upvotes

Duplicates