Add a molab notebook badge with AI
Give readers a direct route from a README, article or website to the matching marimo notebook. Request badge markup or replace an existing badge in place.
Add a molab notebook badge with AI when a tutorial asks readers to try an example themselves. Placing the badge beside the relevant paragraph saves them from searching a project for a Python file whose name they may never have seen.
The add-molab-badge skill combines the repository, branch and notebook path into the destination. It can return a snippet for an editor or update the selected document. When replacing an older browser-based marimo link, it preserves that behaviour in the new destination.
What it does
- Generate Markdown for a project README
- Prepare accessible HTML markup for an article
- Replace an older badge while preserving nearby text
- Identify candidate marimo notebooks in a repository
- Keep browser execution when migrating an existing link
Install and use
- Install the skill in an agent and give it the location of a marimo notebook on GitHub that you can share. Building the badge does not require running the notebook.
- Ask, “Give me HTML for the costs example on the tutorials branch. Leave my article alone and show me the markup.”
- Preview the result and check the file opens as intended for a reader. If you also want a rendered session preview, use a trusted notebook and inspect its outputs before making that snapshot available.
FAQ
Source
Made by marimo. Original skill: add-molab-badge, published on GitHub under the Apache-2.0 licence.
View on GitHub