rhino-setup
Skill445 starsChanged 2 months agoMITView on GitHub
Connect and verify Rhino 9 for the rhino cluster, from its AI panel or a connected agent: detect Rhino's tools, confirm an open document and its units, and run a one-object smoke test. Use when the user asks to connect Rhino, or when another rhino skill finds the Rhino tools missing. Guides the user; never installs or registers anything.
In this repository69 other files it gives its agents.
- skills/project/templates/AGENTS.mdAGENTS.md
- skills/project/templates/CLAUDE.mdCLAUDE.md
- agreementSkill
- architecture-knowledgeSkill
- color-palette-generatorSkill
- csv-to-sifSkill
- demographics-analysisSkill
- drawing-quantity-extractSkill
- environmental-analysisSkill
- epd-compareSkill
- epd-parserSkill
- epd-researchSkill
- epd-to-specSkill
- ffe-spec-bookSkill
- invoiceSkill
- learnSkill
- lighting-report-extractSkill
- master-scheduleSkill
- meeting-minutesSkill
- mobility-analysisSkill
- nyc-acrisSkill
- nyc-bsaSkill
- nyc-dob-permitsSkill
- nyc-dob-violationsSkill
- nyc-hpdSkill
- nyc-landmarksSkill
- nyc-property-reportSkill
- occupancy-calculatorSkill
- product-auditSkill
- product-cut-sheetSkill
- product-data-cleanupSkill
- product-data-importSkill
- product-enrichSkill
- product-image-processorSkill
- product-librarySkill
- product-matchSkill
- product-pairSkill
- product-researchSkill
- product-spec-bulk-fetchSkill
- product-spec-pdf-parserSkill
- product-url-clipSkill
- projectSkill
- proposalSkill
- receiveSkill
- resize-imagesSkill
- rhino-agent-teamSkill
- rhino-axonSkill
- rhino-batch-image-exportSkill
- rhino-bomSkill
- rhino-modelSkill
- rhino-thinlineSkill
- schedule-quantity-reconcileSkill
- sif-to-csvSkill
- site-historySkill
- site-visit-reportSkill
- skill-makerSkill
- slide-deck-generatorSkill
- spec-writerSkill
- startSkill
- studio-feedbackSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Before acting, read the host contract, this component's declaration (skill:rhino-setup) and the mode profiles it references in the shared …
- Distinctive: line 11
Use the host adapter for native invocation.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/as:rhino-setup
Before acting, read the host contract, this component's declaration (skill:rhino-setup) and the mode profiles it references in the shared catalog. Declarations are requirements, not proof of access or permission.
<!-- architecture-studio:harness-compatibility -->Use the host adapter for native invocation.
Outcome
A confirmed working connection (tools present, a document open, units known, a script round-trip proven) or the exact user action that is missing.
Procedure
- Tools. Look for Rhino's tools (
run_python,get_context), from the AI panel or a connected agent. If absent, stop and give the user this action: "Open a document in Rhino 9 and make this request in its AI panel. To use an agent outside Rhino, such as Claude Code in a terminal, runMCPConnectonce in Rhino 9 and install it for your agent, then runMCPStarton the open model and start a new agent session." Arch Studio never installs, registers or configures anything. Also note whether the hosted Arch Studio MCP is connected too: its workflow tools are namedas_*and come from an MCP server other than Rhino's (in Claude Code,mcp__<server>__as_...). Only the tool list says this; do not call those tools and do not compare versions. - Document.
get_contextmust answer with the open document. Then onerun_pythonscript reads__rhino_doc__,Rhino.RhinoApp.Versionandsys.platform: Rhino version, operating system (darwinis macOS,win32is Windows), units, name, path, live object count, top-level layers. If the version is below 9, report that the skills are written for Rhino 9. These values hold for this turn only; a later turn reads them again. - Smoke test only when the user asked to verify: add one named point on a layer
Rhino Setup Check, read it back, delete it and the layer, and report both steps. Never touch other objects. Run this script as written in onerun_pythoncall; it is tested in Rhino 9 and keeps aRhino Setup Checklayer that existed before. Layer calls with one string argument (Layer(name),Layers.Add(name),Layers.FindByFullPath(name)) fail there with "No overload".
import Rhino
d = __rhino_doc__
NAME = "Rhino Setup Check"
made = d.Layers.FindByFullPath(NAME, -1) < 0
if made:
layer = Rhino.DocObjects.Layer()
layer.Name = NAME
d.Layers.Add(layer)
index = d.Layers.FindByFullPath(NAME, -1)
attr = Rhino.DocObjects.ObjectAttributes()
attr.LayerIndex = index
attr.Name = "rhino-setup check point"
gid = d.Objects.AddPoint(Rhino.Geometry.Point3d(0, 0, 0), attr)
obj = d.Objects.FindId(gid)
print("added:", obj is not None and obj.Attributes.Name == attr.Name and obj.Attributes.LayerIndex == index)
print("point deleted:", d.Objects.Delete(gid, True))
print("layer deleted:" if made else "layer kept, it existed before:", d.Layers.Delete(index, True) if made else NAME)Report
Tools found or not, Rhino version and operating system, document name or "untitled", units, object count, smoke-test result, and the next user action if anything is missing. On Windows, only when your context has no Arch Studio startup line (the line naming as-rhino-index.md and the lessons folder), tell the user to install Git for Windows and start a new panel session: Claude Code runs the plugin's startup hook in Git Bash. When that line is there, the hook ran: say nothing about Git for Windows, the startup line or pointing to the index. Complete under the completion contract. If the hosted Arch Studio MCP is also connected, add this line: "The hosted Arch Studio MCP is also connected; use the Arch Studio plugin or the MCP, not both (README, Two editions)."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

