/manimble:manimble-slidesfrom manimble
Edits Manimble slide decks: adds slides, animations, text, formulas, plots, icons, speaker notes; reorders or hides slides; applies global style changes. Works inside Manimble's terminal or any terminal.
Ships in manimble. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A Manimble deck is a folder of Python files whose Slide classes (from
manim-slides) are the slides. The
user edits the same code by hand on Manimble's canvas, so the code you write
must be code Manimble can follow. Everything below applies whether or not the
app is open.
$MANIMBLE_DECK is set. Edit only there (it
is the working copy); never write to $MANIMBLE_ORIGINAL_DECK. The user saves
with File ▸ Save to Original. Don't run manim or manim-slides: Manimble
re-renders each slide within seconds of a save and shows errors on the slide.
python -m py_compile FILE is enough to check syntax. Subfolders of the
working copy, and ../assets, are links into the user's real project, so
writes there skip Save/Revert; prefer the top-level files.order.txt, common.py and the slide .py files; in a project it is usually
Project/deck/ with pictures in Project/assets/). If the deck is in git,
check git status first so your changes can be told apart from theirs. To
see the result, use the manimble-check skill, which renders each slide's
last frame to PNG without writing into the deck.CLAUDE.md/AGENTS.md, follow it too.Read the files before changing them: common.py (the Deck base class, the
theme constants THEME, BACKGROUND, FONT, TEXT_COLOR, MUTED_COLOR,
ACCENT, and helpers such as label(...)), order.txt, and two or three
existing slides, then write new slides in the same style with the same helpers.
construct(self) method, usually deriving from
Deck in common.py. Its class name is the slide's name.order.txt lists class names (spaces or new lines) in show order. A new
slide appears in the show only once its name is in order.txt. Without an
order.txt, every class is a slide, in file order. Don't delete a slide the
user didn't ask to delete: take it out of order.txt or hide it.# manimble hidden is a hidden slide (kept, skipped in
the show).self.next_slide() separates builds; the presenter clicks once per build.self.play(...) and self.wait(...) record frames. Something added with
self.add(...) after a build's last play/wait shows one click late, so add
before them. A slide or build that only adds objects should end with
self.wait(0.1), as Manimble's own builds do.self.next_slide(notes="...") as the first statement of
construct holds the slide's notes; self.next_slide(notes="...") between
builds holds that build's notes. Write each as one literal string, with \n\n
between paragraphs, so Manimble can show and edit it.# manimble page number pos=... start=...
is Manimble's slide number (Format ▸ Slide Numbers). Copy it unchanged onto a
new slide. Manimble renumbers every slide when slides are added or moved in
the app, but not when you edit order.txt: then update each slide's
"X / total" yourself, leaving the first slide without one when the mark
says skip=1. Never clear a slide with self.clear() or
FadeOut(*self.mobjects), which also removes the number; remove the objects
you added by name.present.json, if present, holds the presenter's chapter jumps
("sections") and link regions ("links") as 0-based positions in
order.txt. Nothing renumbers them: after inserting, deleting or moving a
slide in order.txt, shift the positions after it.Slide with next_slide(), start_loop() and
end_loop(), nothing more: no ThreeDSlide, wipe, zoom or canvas
methods. A slide that uses them renders with manim-slides but shows an error
in Manimble.str(__import__("pathlib").Path(__file__).resolve().parent / "name.png"),
and to one in the project's assets folder as ASSETS / "name.png" when
common.py defines ASSETS (Manimble's themes do), otherwise
.parent.parent / "assets" / "name.png".Manimble moves, resizes, retypes and recolours objects by rewriting the statement that made each one. So:
title = Text("Results", font=FONT, font_size=44, color=TEXT_COLOR).move_to((0, 3.2, 0)).move_to((x, y, 0)) for anything the user might
drag. next_to, arrange and to_edge are fine for things that move as a
unit (a bullet list made as one VGroup, a label tied to its arrow).dots = VGroup(*[Dot(p) for p in pts]), and Manimble moves
and scales it as a whole. Text built with f-strings or in a loop can't be
retyped on the canvas; write wording used on several slides as a constant in
common.py.Text must accept and pass on **kwargs: Manimble stores
bold, italic and colour on part of a text as t2w, t2s and t2c.FONT, TEXT_COLOR, ACCENT, ...) rather than
repeating literal colours and font names, so a theme change reaches your text.# manimble ... comment marks, manimble_helpers.py, the
helper functions Manimble appends to a file (such as underline_chars),
manimble_decoration attributes, alt_text = "..." lines and
.set(manimble_link=...). Don't edit feedback.json, script.json,
present.json or *.plot.json unless asked.Arrow(box_a.get_right(), box_b.get_left(), buff=0.15), rather than at typed
coordinates that stop matching when a box moves.Axes(...).set_color(TEXT_COLOR).font_size=24). Pale accents (yellow, amber, sky blue) are for
fills and lines with dark labels, not for text on white.Text and bullets:
heading = Text("Why it matters", font=FONT, font_size=40, color=TEXT_COLOR).move_to((-6.2, 3.1, 0), aligned_edge=LEFT)
point1 = Text("• Structure predicts function", font=FONT, font_size=30, color=TEXT_COLOR).move_to((-5.8, 1.4, 0), aligned_edge=LEFT)
point2 = Text("• Experiments are slow", font=FONT, font_size=30, color=TEXT_COLOR).move_to((-5.8, 0.6, 0), aligned_edge=LEFT)
.move_to(point) places the object's centre there; aligned_edge=LEFT (or UL,
RIGHT, ...) places that edge instead, which is how left-aligned text lines up.
Manimble writes positions the same way.
Wide text: keep a line under about 45 characters at font_size=30 across the
full width, or break it with \n. Measure with the manimble-check skill when
unsure.
Builds, one point per click:
self.play(FadeIn(heading), FadeIn(point1))
self.next_slide()
self.play(FadeIn(point2))
Formulas: MathTex(r"e^{i\pi} + 1 = 0", font_size=72, color=TEXT_COLOR).move_to((0, 0.5, 0)).
For a step-by-step derivation use one MathTex per step and
TransformMatchingTex(step1, step2) between builds. LaTeX packages beyond
Manim's defaults may be missing; on Manim's error, tell the user which package
(tlmgr install <name>).
Pictures: copy the file into the deck folder (or the project's assets), then
ImageMobject(path).set(width=5).move_to((3.5, 0, 0)). SVG artwork:
SVGMobject(path).set(height=3).move_to(...).
Scientific icons: if the biocartoon command is installed (it comes with
Manimble), biocartoon search "mitochondrion" --icons --limit 8 finds icons,
biocartoon get ID gives the license and credit line, and
biocartoon fetch ID --out DECK_DIR downloads the SVG (or PNG). Place it as
above and put the credit in a small caption or the speaker notes when its
license asks for attribution.
Plots from data: read the data file in construct (relative to the deck
folder) and build Axes(...) plus axes.plot_line_graph(...) or BarChart(...);
or render a Matplotlib figure to a PNG in the deck folder and insert that. Keep
the axes and title as separate, positioned statements.
When a manim object misbehaves (text wider than expected, tick labels showing
2.00, a bar chart upside down, part of a formula that won't colour, Code
arguments, a slow LaggedStart), read references/manim-pitfalls.md.
Deck-wide changes (a footer on every slide, a title style): put the shared part
in common.py (a helper or a method on Deck) and call it from each slide,
rather than pasting the code into every slide. A literal on each slide is
better only when the user will want to adjust it per slide.
python -m py_compile on each file you edited.order.txt.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/manimble-checkRender every slide (or chosen slides) of a Manimble deck to PNG without touching the deck, report the slides that fail to render (with the file and line) and the objects that run off the edge of the slide, look at the pictures, and fix what is wrong. Use it to see what a slide looks like when Manimble is not showing it, before saying a slide is finished, or when asked to check a deck. Triggers: "check my deck", "which slides are broken", "find text that runs off the slide", "render the slides so you can see them", "fix the slide that shows an error", "manimble-check"./manimble-exportTurn a Manimble deck or a .manimble package into something people without Manimble can open: an MP4 movie of the animated show, a PDF handout, a self-contained HTML presentation, or a PowerPoint with the animations as videos; also check, inspect and unpack .manimble packages, and pick slides out ("slides 1-3 and Results"). Runs from the command line, with no app window. Triggers: "export my deck to PDF/MP4/HTML", "make a movie of my talk", "convert this .manimble", "what's in this .manimble file", "unpack the .manimble", "make a handout", "manimble-export"./manimble-importConvert a PowerPoint (.pptx), Keynote (.key, macOS) or Beamer (.tex) presentation into a new, editable Manimble deck from the command line, with Manimble's own importer, then check the result and, if asked, add what the importer can't bring over (animations, charts, builds). Also turns an existing Manim Slides project into a Manimble deck. Triggers: "import my PowerPoint into Manimble", "convert this .pptx/.key/Beamer talk to Manim", "make a Manimble deck from my slides", "animate my old PowerPoint", "manimble-import"./manimble-new-deckCreate a new Manimble presentation (a Manim Slides deck Manimble opens and edits) from an outline, notes, a paper, a README or a plain description: makes the project folder with a theme, plans the slides, writes them with builds and animations, renders them to check, and tells the user how to open it. Triggers: "make a deck about X", "turn my outline/paper/notes into slides", "start a new Manimble presentation", "create a talk from this PDF", "new deck", "manimble-new-deck".npx claudepluginhub pachterlab/manimble --plugin manimbleOther plugins' skills for the same job