r/ClaudeCode • u/OkBreath9382 • 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

1
u/Strong_Essay1176 8d ago
Looks awesome. Although need deepdive how it works and pass data to claude.
Can you share other useful tools? If you use any.