annotate-notebook-for-ci
Skill by ROCm
Prepares a ROCm tutorial notebook under docs/notebooks so CI can run it unattended. It is for contributors adding a tutorial or fixing a notebook that fails or is blocked in regression runs.
Install annotate-notebook-for-ci
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ROCm/gpuaidev /tmp/gpuaidev && mkdir -p ~/.claude/skills && cp -r /tmp/gpuaidev/.claude/skills/annotate-notebook-for-ci ~/.claude/skills/annotate-notebook-for-ciRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install annotate-notebook-for-ci in Claude Code
git clone --depth 1 https://github.com/ROCm/gpuaidev /tmp/gpuaidev && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gpuaidev/.claude/skills/annotate-notebook-for-ci ~/.gemini/antigravity-cli/skills/annotate-notebook-for-ciAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install annotate-notebook-for-ci in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through preparing a tutorial notebook under docs/notebooks so CI can run it unattended. It covers reading the notebook, declaring the metadata.ci requirements, and starting servers from code cells instead of terminal steps. It also covers making setup failures visible, adding assertions, and adding CI parameters for shorter runs with fewer GPUs.
CI runs each notebook top to bottom with papermill in the declared container and judges the result as pass, fail, or blocked. The skill points to .github/CI_METADATA.md as the reference for keys and conventions, and it ends with a metadata check script. It is written for contributors adding a new tutorial or fixing a notebook that fails or is blocked in the regression runs.
Written from the project's SKILL.md and checked against it.
What it can do
- Declare metadata.ciAdds the ci object with hardware, GPU count, image, system packages and requirements.
- Start servers from cellsReplaces terminal steps with code cells that start, poll and stop servers in the notebook's image.
- Make failures visibleUses set -e bash cells and assertions so broken stages fail instead of passing silently.
- Add CI parametersMoves GPU counts and run sizes into a parameters cell with smaller CI values.
- Pin git clonesRequires release tags rather than moving branches for third-party clones in the cells.
- Keep cells readableSplits, merges and introduces code cells so the one-click render still reads well.
- Run the metadata checkRuns check_ci_metadata.py to confirm the metadata is well formed and hardware names are valid.
What you need
- Python 3 to run the metadata check script
- A repository with docs/notebooks and .github/CI_METADATA.md
- Docker for the container the notebook declares
Try asking
- Annotate this tutorial notebook so CI can run it unattended
- Add a metadata.ci block with the minimum GPU count for this notebook
- Replace the terminal server step with a code cell that starts it
Good to know
- Written for the ROCm tutorial repository layout and its CI conventions
- Relies on .github/CI_METADATA.md, which is referenced but not included in the source
- Tags cells ci-skip only when a person or browser is genuinely needed
Security check
C- Downloads a script from the internet and runs itIn
.claude/skills/annotate-notebook-for-ci/SKILL.md:curl | sh
Checked automatically: .claude/skills/annotate-notebook-for-ci/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to annotate-notebook-for-ci
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
annotate-notebook-for-ci: common questions
When should I use this skill on a notebook?
The source says to use it when adding a new tutorial, when a notebook fails or is blocked in regression runs, or when asked to annotate or make a notebook CI-ready or runnable.
How does CI decide whether a notebook passes?
CI judges the executed notebook: pass if every code cell ran without error, fail if one raised, and blocked if it could not run or stopped part-way.
Why must git clones be pinned to tags?
A moving branch can change under the tutorial when upstream updates, so a notebook that passed before can fail or produce different results with no change of its own.
How do I install annotate-notebook-for-ci?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is annotate-notebook-for-ci free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is annotate-notebook-for-ci safe to use?
It scores 67 of 100. Grades: maintenance A, licence F, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to annotate-notebook-for-ci?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
