Agent skill · software engineering · github

rhino3d-scripts

Authoring and debugging scripts for Rhinoceros 3D (Rhino 8 and later). Use when asked to write RhinoScript (VBScript / .rvb / .vbs), RhinoPython, or RhinoCommon-based scripts; automate Rhino modeling tasks; build command macros; manipulate Rhino geometry, layers, blocks, or document objects; pick objects from the viewport; control redraw and undo; or load and run scripts from the Rhino Script Editor. Covers `rhinoscriptsyntax`, `scriptcontext`, the `Rhino.*` RhinoCommon namespaces (`Rhino.Geometry`, `Rhino.DocObjects`, `Rhino.Input`, `Rhino.UI`, `Rhino.Display`, `Rhino.FileIO`), and the Rhino 8 unified Script Editor.

Why this skill is useful

Adds specific Rhino scripting patterns and commands that the AI wouldn't reliably generate on its own.

What it needs

Requires rhino installed locally. About 7k tokens when loaded. Last updated 2026-08-07. 37,534 stars on the source repository.

What this skill does

Rhino 3D Scripting Skill Write production-quality scripts for Rhinoceros 3D. Covers the three scripting surfaces (RhinoScript/VBScript, RhinoPython, direct RhinoCommon .NET) and the Rhino 8+ Script Editor. When to Use This Skill User asks to write, edit, or debug a .rvb, .vbs, or .py Rhino script User wants a Rhino command macro or wants to automate a sequence of Rhino commands User wants to manipulate geometry, layers, blocks, materials, viewports, or annotations from code User mentions rhinoscriptsyntax, scriptcontext, RhinoCommon, Rhino.Geometry, RhinoDoc, or the Script Editor User wants to pick objects, prompt for input, or build a small UI inside Rhino User asks how to load, run, or distribute a script (startup scripts, aliases, toolbar buttons) Choosing a Scripting Surface Pick the surface based on the task, not preference. Recommend Python by default for new work. Surface When to choose File ext --- --- --- RhinoPython (rhinoscriptsyntax + RhinoCommon) Default for new scripts. Best ecosystem, readable, full RhinoCommon access. .py RhinoScript (VBScript) Maintaining legacy .rvb/.vbs files; integrating with VBA/COM. .rvb, .vbs RhinoCommon (C#/.NET) via Script Editor Performance-critical loops, complex geometry, leveraging .NET libraries. .cs Command macro Pure sequence of existing Rhino commands; no logic. toolbar/alias A macro is not a script — it is a string of command-line input (e.g. ! -Line 0,0,0 10,0,0 Enter). Use a script the moment you need a variable, loop, or conditional. Prerequisites Rhino 7 or later (Rhino 8 strongly recommended — unified Script Editor supports Python 3, VB, and C# in one window). Script Editor: type ScriptEditor (Rhino 8) or EditPythonScript / EditScript (older). Run a saved file from the command line with -RunPythonScript or LoadScript + RunScript. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills github/rhino3d-scripts

View the source on GitHub

Browse the @skills marketplace