wigglystuff: Instructions file for Codex

AGENTS.md

wigglystuff AGENTS.md is an instructions file for Codex, OpenCode from koaning/wigglystuff. It costs 6,646 tokens per session, scanned A, original, MIT.

A repository guide for a Python package release. It covers version changes, changelog entries, and updating documentation and navigation for new widgets.

In plain words
What is it for?
Use it to prepare a wigglystuff release, including version bumps, changelog updates, reference pages, navigation, galleries, and the README.
Why use it?
It provides a checklist for release work so package metadata, change notes, and widget documentation stay aligned.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is koaning/wigglystuff's own configuration. It tells Codex and OpenCode how to work on wigglystuff itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wigglystuff configures →

Reuse

Borrowing it

Nothing to install: this file belongs to koaning/wigglystuff. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/koaning/wigglystuff/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/koaning/wigglystuff

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wigglystuff AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/koaning/wigglystuff/agents-md/github.svg)](https://agentmods.dev/instructions/koaning/wigglystuff/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/koaning/wigglystuff/agents-md"><img src="https://agentmods.dev/badge/instructions/koaning/wigglystuff/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wigglystuff AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/koaning/wigglystuff/agents-md"><img src="https://agentmods.dev/badge/instructions/koaning/wigglystuff/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,646 This file is loaded in full into every session.
When invoked 6,646 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.06646 $0.06646
Opus 5.5 $0.02658 $0.02658
Sonnet 5.5 $0.01329 $0.01329
Haiku 4.5 $0.00665 $0.00665

Measured 7d ago against content hash ba34485251a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wigglystuff AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup

This repo ships setup scripts for both Conductor (.conductor/settings.toml) and Termic (.termic.yaml). Both run make install automatically when a workspace/task is created. That installs all dependencies so the environment is ready to use immediately.

Agents

wigglystuff ships a small roster of AnyWidget "agents" that surface different input modalities (sliders, speech, paint, etc.) across notebook runtimes. This page is a quick lookup so you can see what exists and which traitlets each agent syncs back to Python.

Quick reference

Agent Module/Class Core traitlets One-liner
AltairWidget wigglystuff.altair_widget.AltairWidget spec, width, height Flicker-free Altair chart with smooth data updates
ScatterLog wigglystuff.scatter_log.ScatterLog spec, width, height Accumulate reactive values into a live, optionally multi-series scatter plot
shape_display wigglystuff.shape_display.shape_display labels, name, .set_name(), .value (not an AnyWidget — returns a numpy.ndarray subclass) marimo-only shape display for 2D/3D NumPy arrays (plain NumPy repr elsewhere): empty matrix brackets (stacked sheets of paper for 3D) with a caption like n × 2; all NumPy operations keep working, an axis keeps its label only while it keeps its size (so X @ W/reshape captions stay truthful) and labels permute across transpose/rot90; name adds a serif title (plain text, or TeX via marimo's built-in KaTeX) that sticks to views, is inferred for @ and transposes (X @ W → XW, X.T → Xᵀ) (.set_name() returns a renamed view); picklable; needs numpy only when used; torch/TF/JAX/any .shape object gets a display-only ShapeOnlyDisplay wrapper (same glyph, .value is the original, no ops, None sizes show ?)
AnnotationWidget wigglystuff.annotation.AnnotationWidget action, action_timestamp, note, listening, actions, keyboard_mapping, gamepad_mapping, debounce_ms, width Annotation input surface with buttons, keyboard, gamepad, and speech-to-text
ApiDoc wigglystuff.api_doc.ApiDoc doc, width, show_private Renders API docs for Python classes/functions
Slider2D wigglystuff.slider2d.Slider2D x, y, x_bounds, y_bounds, width, height 2D pointer for coupled parameters
Knob wigglystuff.knob.Knob value, min_value, max_value, step, start_angle, end_angle, ticks, steps, size, label, show_value, color, midi, midi_cc, midi_channel, midi_device, midi_key, midi_scope Audio-panel rotary knob with configurable sweep, detents, and Web MIDI learn
Fader wigglystuff.fader.Fader value, min_value, max_value, step, ticks, steps, orientation, length, label, show_value, color, midi, midi_cc, midi_channel, midi_device, midi_key, midi_scope Mixing-console fader with a configurable tick scale, detents, and Web MIDI learn
MidiButton wigglystuff.midi_button.MidiButton value, press_timestamp, velocity, label, icon, mode, size, color, midi, midi_note, midi_channel, midi_device, midi_key, midi_scope Momentary/toggle pad with icon or text faces and Web MIDI note learn
Pip wigglystuff.pip.Pip child, width, height, floating Wraps a widget and floats it in a picture-in-picture window above other windows
FloatingPanel wigglystuff.floating_panel.FloatingPanel child, corner, width, collapsed, title (not an AnyWidget — a marimo display helper) Pins any marimo content in a draggable in-page panel that stays visible while the notebook scrolls and minimizes to its header; portals to document.body to beat cell hover z-index; works in iframes/molab unlike Pip
BezierCurve wigglystuff.bezier_curve.BezierCurve points, samples, x, y, t, closed, playing, loop, interval_ms, duration_ms, sync_throttle_ms, show_axes, n_samples, x_bounds, y_bounds, width, height Arbitrary-degree Bezier curve editor with draggable control points, playback, and optional axis ticks
CurveEditor wigglystuff.curve_editor.CurveEditor points, samples, x, y, t, curve, closed, playing, loop, tension, alpha, selected_index, show_axes, n_samples, x_bounds, y_bounds, width, height Chart-space curve editor with D3 line interpolators, path progress, and optional axis ticks
ChartPuck wigglystuff.chart_puck.ChartPuck x, y, x_bounds, y_bounds, axes_pixel_bounds, width, height, chart_base64, puck_radius, puck_color, throttle Draggable puck overlay for matplotlib charts
ChartMultiSelect wigglystuff.chart_multi_select.ChartMultiSelect selections, active_class, n_classes, selected_index, mode, modes, x_bounds, y_bounds, axes_pixel_bounds, width, height, chart_base64, selection_opacity Multi-region class-labeled selection on matplotlib charts
ChartSelect wigglystuff.chart_select.ChartSelect mode, selection, has_selection, x_bounds, y_bounds, axes_pixel_bounds, width, height, chart_base64, selection_color, selection_opacity Box/lasso selection on matplotlib charts
Matrix wigglystuff.matrix.Matrix matrix, rows, cols, min_value, max_value, step, mirror Spreadsheet-like numeric editor
TangleSlider wigglystuff.tangle.TangleSlider amount, committed_amount, dragging, min_value, max_value, step, steps, pixels_per_step Inline slider ala Bret Victor; committed_amount keeps the pre-drag value until release
TangleChoice wigglystuff.tangle.TangleChoice choice, choices Inline toggle among labels
TangleSelect wigglystuff.tangle.TangleSelect choice, choices Dropdown version of the above; choices can be swapped on a live widget
TangleLatex wigglystuff.tangle_latex.TangleLatex latex, parameters, notes, values, committed_values, dragging, hovered, display_mode, editor, reveal_all_on_drag, theme, error LaTeX formula with draggable \tangle{name} numbers/symbols; \note{name}{...} parts get a plain-language note with an arrow, and hover/drag fades the other notes; committed_values keeps the pre-drag values until release
TangleDistribution wigglystuff.tangle.TangleDistribution distribution, params, live_params, dragging, bounds, steps, pixels_per_step, template, digits, sync_throttle_ms Inline tangle number holding a whole distribution: drag ↔/↕ for its two scipy-named parameters with a floating shape preview; 14 families (norm, lognorm, gamma, expon, weibull_min, uniform, laplace, logistic, beta, poisson, binom, nbinom, geom, randint); built-in cdf/ppf/pdf/pmf/sample (maths in wigglystuff/_distributions.py, no scipy)
TangleFunction wigglystuff.tangle_function.TangleFunction fn_name, parameters, param_order, values, committed_values, dragging, theme, width, error Introspects a typed function into an editable call expression: drag numbers, click-cycle Literal/Enum/bool, edit strings; reads annotated_types/pydantic Field bounds; unbounded scrubbers by default; syncs values to splat into the function; committed_values keeps the pre-drag values until release
FormulaDAG wigglystuff.formula_dag.FormulaDAG formulas, layers, routes, parameters, notes, values, committed_values, dragging, hovered, legend, outputs, committed_outputs, output_errors, selected, theme, error LaTeX formulas as a DAG wired by \use{name}; arrows land on each use; shared \tangle/\note like TangleLatex; per-formula fn computes live outputs, and dragging a number swaps dependent symbols for their values; upstream/downstream/edges helpers; to_html()/save() static HTML export
FormulaAnimation wigglystuff.formula_animation.FormulaAnimation steps, title, spotlight, step, height, theme, error Step through a LaTeX derivation one line at a time (prev/next buttons, opt-in arrow keys, reactive step); KaTeX-rendered with an optional final spotlight frame
SortableList wigglystuff.sortable_list.SortableList value, addable, removable, editable, label Drag-and-drop ordering with optional CRUD
CopyToClipboard wigglystuff.copy_to_clipboard.CopyToClipboard text_to_copy Copies the payload into the OS clipboard
ColorPicker wigglystuff.color_picker.ColorPicker color Native color input with rgb helper
EdgeDraw wigglystuff.edge_draw.EdgeDraw names, links, directed, width, height Sketch node/link diagrams and query adjacency
GridDraw wigglystuff.grid_draw.GridDraw dots, lines, rows, cols, line_width, dot_radius, theme, width, height Draw dots on grid intersections and orthogonal line segments between them
HeatmapSelect wigglystuff.heatmap_select.HeatmapSelect pinned_cell, pinned_row, pinned_col, hover_cell, hover_row, hover_col, image_base64, n_rows, n_cols, x_range, y_range, cell_width, cell_height, row_color, col_color, throttle Bret Victor style parameter-space grid; pin a cell plus a whole row/column off either axis
GraphWidget wigglystuff.graph_widget.GraphWidget nodes, edges, directed, width, height, selected_nodes, selected_edges Programmatic force-directed graph visualization
Paint wigglystuff.paint.Paint base64, width, height, store_background, rainbow_brush, brush, marker, eraser, color_picker, color MS-Paint-style canvas with PIL helpers and a configurable toolbar
Excalidraw wigglystuff.excalidraw.Excalidraw scene, image_base64, theme, height, sync_throttle_ms Embedded Excalidraw whiteboard (loads from CDN); get_pil/save/from_file helpers (save() remembers the path)
PairPlot wigglystuff.pair_plot.PairPlot selection, selected_count, filters, mode, layout, columns, categories, palette, cell_size, point_size, max_marks, status, error Scatterplot matrix for 1M+ row NumPy arrays or pandas/polars DataFrames: binary float32 to a Web Worker, regl/WebGL points with a global mark budget, exact diagonal histograms; categorical color; draggable box or lasso selection (or a range dragged across a diagonal histogram) evaluated against every row (live while dragging, synced on release); HiPlot-style keep()/exclude()/reset() filters (replayable filters list) that animate the axes; get_mask/get_indices/selected_data/get_active_mask/active_data
ParallelCoordinates wigglystuff.parallel_coords.ParallelCoordinates data, color_by, height, filtered_indices, selected_indices, brush_extents, selections HiPlot-powered parallel coordinates with brush filtering and axis reordering
ThreeWidget wigglystuff.three_widget.ThreeWidget data, width, height, show_grid, show_axes, dark_mode, axis_labels, animate_updates, animation_duration_ms 3D scatter plot for point clouds
WebcamCapture wigglystuff.webcam_capture.WebcamCapture image_base64, capturing, interval_ms, facing_mode Webcam preview with snapshot capture
GamepadWidget wigglystuff.gamepad.GamepadWidget axes, current_button_press, dpad_*, current_timestamp Streams browser Gamepad API events
HoverZoom wigglystuff.hover_zoom.HoverZoom image, zoom_factor, width, height, _crop Image hover zoom with magnified side panel
KeystrokeWidget wigglystuff.keystroke.KeystrokeWidget last_key Captures the latest keypress w/ modifiers
LiveEdit wigglystuff.live_edit.LiveEdit code, trace, annotations, error, editable, theme, width, height, float_precision, visible_columns Source-linked loop trace for inspecting one Python function run; click numeric column headers to chart them
StateViewer wigglystuff.state_viewer.StateViewer code, lines, steps, views, variables, step, playing, interval_ms, loop, timeline_label, sync_throttle_ms, returned, error, truncated, height, show_code Animates one run of a function (e.g. a backtracking or BFS search): an optional view_func draws the state at each executed line (its parameter names pick the locals), next to the source (show_code=False hides it), an optional variables table (variables=[...], hidden by default), and a scrubbable timeline of call depth or a timeline_func value (e.g. frontier size); state exposes real local values so other widgets can draw it; max_steps caps the recording
ManimWeb wigglystuff.manim_web.ManimWeb code, width, height, version, error Runs a manim-web (browser Manim) scene from a JS string, local file, or URL
ObservablePlot wigglystuff.observable_plot.ObservablePlot code, variables, width, height, version, error Runs Observable Plot JS from a string, local file, or URL, injecting Python variables by name
EsmWidget wigglystuff.esm_widget.EsmWidget code, css, data, width, height, error Renders an inline ES module (any CDN library, e.g. motion.dev or Observable Plot) with a two-way data bridge; change:data fires without re-running render
AsyncFlow wigglystuff.async_flow.AsyncFlow events, now_ms, running, width Live swimlane timeline of one async run (await AsyncFlow.trace(main())); one lane per task, running vs suspended-at-await, nested by parent; needs Python 3.12+
FitProgress wigglystuff.fit_progress.FitProgress tasks, candidates, scores, color, status, started_ms, now_ms, sync_throttle_ms Live scikit-learn 1.9+ fit progress via its callback API: progress.fit(search, X, y) returns the fitted search and shows a candidates × folds grid (iterations while running, live test scores via a temporarily wrapped scorer, row means, best row, max_iter warnings, refit); Pipelines show steps; terminal ProgressBar fallback outside notebooks; needs the sklearn extra
TraceView wigglystuff.trace_view.TraceView spans, trace_id, show_latest, selected_span_id, cursor_ms, collapsed, title, height, now_ms OpenTelemetry trace waterfall: indented span tree with state/timeline/duration, replay scrubber, details panel; live via span_processor() (needs opentelemetry-sdk, the otel extra) or from_otlp/from_spans; W&B Weave via with view.capture_weave(): (the weave extra) or from_weave
WebkitSpeechToTextWidget wigglystuff.talk.WebkitSpeechToTextWidget transcript, listening, trigger_listen WebKit speech recognition bridge
DriverTour wigglystuff.driver_tour.DriverTour steps, auto_start, show_progress, active, current_step Guided product tours via Driver.js
CellTour wigglystuff.cell_tour.CellTour steps, auto_start, show_progress, active, current_step Simplified cell-based tours for marimo
TextCompare wigglystuff.text_compare.TextCompare text_a, text_b, matches, selected_match, min_match_words Side-by-side text diff with match highlighting
EnvConfig wigglystuff.env_config.EnvConfig variables, all_valid Environment variable config with validation
ModuleTreeWidget wigglystuff.module_tree.ModuleTreeWidget tree, initial_expand_depth Interactive tree viewer for PyTorch nn.Module
Neo4jWidget wigglystuff.neo4j_widget.Neo4jWidget nodes, relationships, schema, error, query_running, selected_nodes, selected_relationships, width, height Interactive Neo4j graph explorer with Cypher query input
SplineDraw wigglystuff.spline_draw.SplineDraw data, curve, curve_error, brushsize, n_classes, width, height Draw scatter points with Python-computed spline curve fitting
ScatterWidget re-exported from drawdata data, brushsize, width, height, n_classes Paint multi-class 2D scatter data with brush
PlaySlider wigglystuff.play_slider.PlaySlider value, min_value, max_value, step, interval_ms, playing, loop, width Slider with play/pause button for auto-advancing values
FramePlayer wigglystuff.frame_player.FramePlayer frames, value, interval_ms, playing, loop, width, show_index Play a sequence of images (PIL/paths/URLs/figures) as an inline looping "video"
CircularSlider wigglystuff.circular_slider.CircularSlider value, start, stop, step, size, thickness, show_value, color, label Circular dial slider for picking a single value
CircularRangeSlider wigglystuff.circular_slider.CircularRangeSlider value ((low, high)), start, stop, step, size, thickness, show_value, color, label Circular dial slider for picking a span of values (wraps the seam)
HoverSlider wigglystuff.hover_slider.HoverSlider value, hover_value, hovering, start, stop, step, steps, sync_throttle_ms, show_value, label, color, width Slider that emits both the committed value and the live value under the pointer
RidgelineChart wigglystuff.ridgeline_chart.RidgelineChart data, x_values, width, height, overlap, stroke_width, fill_opacity, peak_scale, x_label, y_label, selected_index, selected_row Stacked waveform "Joy Division" visualization with clickable rows
Treemap wigglystuff.treemap.Treemap data, width, height, max_depth, value_col, selected_path, clicked_path, hovered_path Zoomable hierarchical treemap with breadcrumbs
WidgetDAG wigglystuff.widget_dag.WidgetDAG nodes, edges, layout (not an AnyWidget — a marimo display helper) Arrange live widgets/images as a DAG (columns by edge-depth) and draw the connecting arrows; WidgetDAG.from_widgets([...]) derives the edges from marimo's dataflow graph (one node per cell)
WidgetFlow wigglystuff.widget_flow.WidgetFlow nodes, edges, direction, notes, ports, labels, layers, beside, align, collapsible, collapsed, groups, theme (not an AnyWidget — a marimo display helper) Live widgets as a layered DAG in FormulaDAG style: edges between the objects themselves (or WidgetFlow.from_widgets([...]) from marimo's dataflow graph), labelled/coloured/dashed arrows with exit/enter ports routed around widgets, notes, beside/layers/align placement; collapsible widgets fold to a pill on a hover button and groups fold a whole stretch into one pill (arrows re-aimed, nothing re-laid out, widgets keep state); upstream/downstream helpers
Hint wigglystuff.hint.Hint target, note, side, color, gap (not an AnyWidget — a marimo display helper) Wrap a widget and curve an arrow from an explanatory note to its edge; the note is any marimo content, and hints compose into stacks, WidgetDAG nodes, and each other

Read the full file on GitHub · 177 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +21 tokens per session ba34485251a4
  2. 10d ago Changed · +44 tokens per session d84dc3dc349a
  3. 13d ago Changed · +1 lines · +192 tokens per session 344ee3d3f65d
  4. 17d ago Changed · +3 lines · +519 tokens per session cd26ba19ed8a
  5. 18d ago Changed · +1 lines · +44 tokens per session c7dff841c5c5
  6. 19d ago Changed · +1 lines · +252 tokens per session 0c0735335867
  7. 1mo ago Changed · +2 lines · +294 tokens per session ed75e58e62d8
  8. 1mo ago First seen · 169 lines · 5,280 tokens per session scan A 55236df1ea61

Subscribe to this mod's changes

wigglystuff AGENTS.md is an instructions file published in the GitHub repository koaning/wigglystuff (511 stars, last pushed 4d ago), licensed MIT. It adds 6,646 tokens to every session, about $0.0266 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.

Related

wigglystuff AGENTS.md compared with instructions from other repositories

wigglystuff AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wigglystuff AGENTS.mdkoaning/wigglystuffInstructions file5114d agoMITA6,646Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode