Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

add-tutorial

Skill by applied-material-modeling

Writes new NEML2 tutorial pages as self-contained, Colab-runnable Jupyter notebooks under doc/content/tutorials/. Aimed at NEML2 contributors who need a runnable, notebook-style doc page instead of a static reference page.

  • Score 56
  • 51 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-tutorial

Built from the published package, never by AI.

git clone --depth 1 https://github.com/applied-material-modeling/neml2 /tmp/neml2 && mkdir -p ~/.claude/skills && cp -r /tmp/neml2/.claude/skills/add-tutorial ~/.claude/skills/add-tutorial

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-tutorial in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The add-tutorial skill guides an AI assistant in writing a new NEML2 tutorial page under doc/content/tutorials/. Each tutorial is a single self-contained main.ipynb notebook with executable code cells. The notebook installs NEML2 when run in Google Colab, writes its own input files with %%writefile, and gets an Open in Colab badge injected automatically from the page path.

The skill also sets the writing style: open with what the reader will accomplish, lead with running code, keep one concept per tutorial, and avoid implementation jargon. It provides a body template, cross-reference label conventions, and a command to test the notebook in an empty directory before committing. It is meant for contributors to the NEML2 documentation who want a notebook-style page. Static reference pages without code cells are handled by the add-doc skill.

Written from the project's SKILL.md and checked against it.

What it can do

  • Self-contained notebook layoutCreates one main.ipynb per tutorial with no sibling files or external includes.
  • Colab bootstrap cellAdds a hidden first cell that installs NEML2 only when running in Google Colab.
  • In-notebook input filesWrites input files inside the notebook using the %%writefile cell magic.
  • Tutorial body templateProvides an ordered structure of prose and code cells for a tutorial page.
  • Writing voice rulesGuides tone toward user-facing, concrete prose with minimal jargon and one concept per page.
  • Notebook metadata setupSets the kernelspec metadata and leaves execution mode to the global docs config.
  • Cross-reference labelsShows the MyST label patterns for linking tutorials, syntax catalog entries and top-level pages.
  • Pre-commit verificationGives a command to execute the notebook in an empty temp directory to confirm it is self-contained.
  • Toctree wiringExplains adding the new notebook to the matching index.md toctree.

What you need

  • A checkout of the NEML2 repository with the doc/ directory
  • Python 3 with Jupyter (nbconvert) to run the pre-verification command
  • Sphinx docs build to render the page (optional)

Try asking

  • Add a tutorial for running a linear elasticity model
  • Write a tutorial about evaluating a model on strain inputs
  • I need a notebook-style doc page demonstrating model loading

Good to know

  • Tutorials must not rely on sibling files or {literalinclude}, since the directive does not render in Colab.
  • Static reference pages without executable cells should use the add-doc skill instead.
  • Notebooks are committed without outputs, except two optimization notebooks committed pre-executed.
  • The Colab badge is injected automatically and should not be added by hand.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/add-tutorial/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to add-tutorial

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

add-tutorial: common questions

What is the difference between a tutorial and a static doc page?

Tutorials are notebooks with executable code cells that run at build time. Static reference pages without executable cells are written with the add-doc skill instead.

Do tutorials need extra files next to the notebook?

No. The notebook creates its input files in-notebook with %%writefile, so nothing needs to sit beside main.ipynb for Colab.

Is the Open in Colab badge added by hand?

No. The doc/_ext/colab_button.py extension injects the badge automatically from the notebook path.

How do I install add-tutorial?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is add-tutorial free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is add-tutorial safe to use?

It scores 56 of 100. Grades: maintenance A, licence F, quality B. 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 add-tutorial?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

add-tutorial Install

Add to stack

Loading.