Goal

SkillFiles & storage

Remove all the dead code in a Jupyter notebook and in the paired utility file

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Goal skill

What this skill tells your AI

The instructions your AI receives, as published by causify-ai/helpers in .claude/skills/notebook.delete_dead_code/SKILL.md and read by ahel’s review.

Given a Jupyter notebook, remove the dead code from the notebook and the paired utility file

Workflow

Step 1

  • Read and follow .claude/skills/notebook.rules.md

Step 2

  • Find the functions in the notebook and in the paired utility file *_utils.py that are not used in the notebook
  • Print a summary of the found unused functions

Step 3

  • Remove the code of the unused functions from the notebook and from the paired utility file
  • Remove the unit tests associated to those unused functions, if any

Step 4

  • At the end, sync the paired .py file with Jupytext following the conventions in # Setup and Initialization## Utilities vs. Notebook Responsibilities in .claude/skills/notebook.rules.md

Signals

GitHub stars
145
Forks
159
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
notebook-delete-dead-code
Source
github.com/causify-ai/helpers