Skip to content

Comments

Add Jupyter notebook skill#8

Merged
xingyaoww merged 2 commits intomainfrom
add-jupyter-skill
Dec 30, 2025
Merged

Add Jupyter notebook skill#8
xingyaoww merged 2 commits intomainfrom
add-jupyter-skill

Conversation

@xingyaoww
Copy link
Contributor

Summary

Add a new knowledge skill for working with Jupyter notebooks, triggered by ipynb or jupyter keywords.

Changes

This PR adds skills/jupyter.md which provides guidance on:

  • Programmatic notebook modification - Loading, modifying, and saving .ipynb files using Python's JSON library
  • Creating new notebooks - Full template with cells, metadata, and kernel info
  • Executing notebooks - Using jupyter nbconvert with --execute --inplace
  • Converting to other formats - HTML, PDF, Python script, Markdown
  • Finding code in notebooks - Both grep-based and programmatic search
  • Installing Jupyter - pip commands for notebook and JupyterLab
  • Running Jupyter - Starting servers, including background mode
  • Common cell operations - Adding cells, deleting cells, clearing outputs

Testing

The skill follows the same YAML frontmatter format as other skills in the repository (type: knowledge, agent: CodeActAgent) and has been verified to match the structure of existing skills like docker.md and github.md.

@xingyaoww can click here to continue refining the PR

Add a new knowledge skill for working with Jupyter notebooks, triggered by
'ipynb' or 'jupyter' keywords.

Includes guidance on:
- Programmatic notebook modification using Python JSON
- Creating new notebooks with proper structure
- Executing notebooks with nbconvert
- Converting to various formats (HTML, PDF, Python, Markdown)
- Finding code in notebooks
- Installing and running Jupyter
- Common cell operations (add, delete, clear outputs)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
@xingyaoww xingyaoww requested a review from neubig December 30, 2025 18:06
@xingyaoww xingyaoww marked this pull request as ready for review December 30, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants