kernel-notebook-editing
Skill by AnswerDotAI
Lets an AI assistant use persistent Python kernels to inspect Python APIs and find, view, and safely edit Jupyter notebooks and aidialog dialogs. Written for developers who work with notebooks and kernel-based Python tools.
Install kernel-notebook-editing
Built from the published package, never by AI.
git clone --depth 1 https://github.com/AnswerDotAI/aai-coding /tmp/aai-coding && mkdir -p ~/.claude/skills && cp -r /tmp/aai-coding/skills/clikernel ~/.claude/skills/kernel-notebook-editingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install kernel-notebook-editing in Claude Code
git clone --depth 1 https://github.com/AnswerDotAI/aai-coding /tmp/aai-coding && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aai-coding/skills/clikernel ~/.gemini/antigravity-cli/skills/kernel-notebook-editingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install kernel-notebook-editing in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The kernel-notebook-editing skill from AnswerDotAI tells an AI assistant to use kernel MCP tools as its main Python workbench. It covers inspecting Python APIs and finding, viewing, and editing Jupyter notebooks and aidialog dialogs. Structural cell operations such as adding, deleting, moving, and running cells go through aidialog, while exhash handles verified text edits inside cells.
The skill works with the rustygate gateway, which owns kernels on one machine and is reached through the clikernel stdio router. Each new kernel runs the user's startup.py, and the skill asks the assistant to read bootstrap documentation before first use. It also asks the assistant to report mismatches instead of working around them with shell scripts.
Written from the project's SKILL.md and checked against it.
What it can do
- execRuns code in the current kernel while keeping state across calls.
- list_kernelsShows kernel ids, state, connection counts, dialog bindings, and the current kernel.
- createCreates or selects a Python kernel, optionally bound to a dialog.
- use_kernelSelects an existing kernel as current by id or unique prefix.
- restartRestarts the current kernel.
- interruptStops the current execution in the kernel.
- delete_kernelPermanently ends a kernel that is no longer needed.
- cell_exhashMakes verified text edits inside notebook cells using hash-addressed views.
- lnhashview_fileProvides fresh hash-addressed views of a file on a remote host for editing.
- file_exhashApplies verified edits to files on a remote kernel host.
What you need
- Python kernel support
- rustygate gateway service for remote machines
- clikernel MCP router
Try asking
- Inspect the API of this Python library in my running kernel.
- Edit the code in cell 3 of this notebook and verify the change.
- Add a new cell after cell 5 in my notebook and run it.
Good to know
- apply_patch cannot reach files on a remote kernel host.
- Kernels created through direct HTTP bypass the router and have no startup.py.
- Do not repeat the bootstrap after restarting a kernel or reconnecting the MCP server.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/clikernel/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to kernel-notebook-editing
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
kernel-notebook-editing: common questions
Can it edit notebooks on another machine?
Yes. The host argument on the kernel tools reaches named machines through rustygate, and the skill says to use exhash for remote file edits.
Why does the skill ask the assistant to read documentation first?
The source says to read the bootstrap docs before first using the kernel in a context, and to repeat them after context compaction because the detailed documentation may no longer be present.
Does it delete kernels automatically?
No. The skill says never to delete or stop kernels as cleanup, unless the kernel tools report that no kernel is available.
How do I install kernel-notebook-editing?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is kernel-notebook-editing free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is kernel-notebook-editing safe to use?
It scores 55 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to kernel-notebook-editing?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
