Skip to content

Add Kaggle notebook editor domain skill#437

Open
santidelcastillo03 wants to merge 2 commits into
browser-use:mainfrom
santidelcastillo03:kaggle-notebook-editor-skill
Open

Add Kaggle notebook editor domain skill#437
santidelcastillo03 wants to merge 2 commits into
browser-use:mainfrom
santidelcastillo03:kaggle-notebook-editor-skill

Conversation

@santidelcastillo03

@santidelcastillo03 santidelcastillo03 commented Jun 12, 2026

Copy link
Copy Markdown

Adds domain-skills/kaggle/notebook-editor.md with field-tested mechanics for driving the Kaggle notebook editor:

  • Private notebooks 404 over plain HTTP and even authenticated in-page fetch only returns an SPA shell — the editor DOM is the data source.
  • Replacing a draft with a local .ipynb via File → Import Notebook, using the input[data-testid="file-uploader-input"] selector (the page also has a decoy image-upload input).
  • Committing with Save & Run All, including the version-name field that ignores CDP Input.insertText (it's optional — skip it).
  • Polling commit status from the Active Events widget text (Version #N ... Running: Xm).
  • Reading a committed version's cell outputs from the kaggleusercontent.com/kf/... iframe via iframe_target().

Learned while uploading and running a training notebook end-to-end on a private, collaborator-owned notebook.

🤖 Generated with Claude Code


Summary by cubic

Adds a Kaggle notebook editor domain skill with reliable steps to import a local .ipynb, commit with Save & Run All, poll run status, and read outputs from the editor DOM for private notebooks. Includes notes on traps like draft ConcurrencyViolation and version lag.

  • New Features
    • Import local .ipynb via File → Import using input[data-testid="file-uploader-input"] (avoid the decoy image input).
    • Commit runs with “Save & Run All”; version name is optional and ignores CDP text; confirm GPU/Internet in Session options.
    • Poll run status via the Active Events widget text (e.g., “Version #N … Running”).
    • Read committed outputs from the kaggleusercontent.com/kf/... iframe; prefer printed values over HTML tables.
    • Traps: editor may open in “Viewing Version N” (use back arrow); queued commits show no duration; draft ConcurrencyViolation can roll back the last import (reload, re-import, save); the viewer’s default version can lag—select the version explicitly.

Written for commit 10ffa15. Summary will update on new commits.

Review in cubic

Covers private-notebook URL behavior, draft replacement via File > Import
Notebook, Save & Run All commits, run-status polling through the Active
Events widget, and reading committed outputs from the kaggleusercontent
iframe.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@browser-harness-review

browser-harness-review Bot commented Jun 12, 2026

Copy link
Copy Markdown

✅ Skill review passed

Reviewed 1 file(s) — no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant