rhinocommon-setup

rhinocommon-setup is a skill for Claude Code from bcshih/rhino-dev-skills. It costs 141 tokens per session (2,456 once invoked), scanned C, original, MIT.

A guide for creating Rhino and Grasshopper plug-ins with RhinoCommon, Rhino’s .NET software interface. It covers project setup, debugging, building, and packaging plug-in files.

In plain words
What is it for?
Use it to start a Rhino command plug-in, a Grasshopper component plug-in, or a project that supports both.
Why use it?
It explains how to configure the project and references correctly so the plug-in can build and load in Rhino or Grasshopper.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rhino-dev-skills plugin — 5 skills shipped together

Good fit Use it to start a Rhino command plug-in, a Grasshopper component plug-in, or a project that supports both.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bcshih/rhino-dev-skills/rhinocommon-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bcshih/rhino-dev-skills --skill rhinocommon-setup
Clone the repo
git clone --depth 1 https://github.com/bcshih/rhino-dev-skills

Made for: Claude Code.

Or install rhino-dev-skills, the plugin that ships this one along with the rest of its 5 skills.

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 rhinocommon-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/bcshih/rhino-dev-skills/rhinocommon-setup/github.svg)](https://agentmods.dev/skills/bcshih/rhino-dev-skills/rhinocommon-setup)
Your own site
<a href="https://agentmods.dev/skills/bcshih/rhino-dev-skills/rhinocommon-setup"><img src="https://agentmods.dev/badge/skills/bcshih/rhino-dev-skills/rhinocommon-setup/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 rhinocommon-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/bcshih/rhino-dev-skills/rhinocommon-setup"><img src="https://agentmods.dev/badge/skills/bcshih/rhino-dev-skills/rhinocommon-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,456 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00141 $0.02456
Opus 5 $0.00071 $0.01228
Sonnet 5 $0.00028 $0.00491
Haiku 4.5 $0.00014 $0.00246

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

Security

Grade C, and why

rhinocommon-setup scanned grade C with 1 finding 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 10d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Post-build: rename .dll → .rhp so Rhino recognizes it as a plugin -->
skills/rhinocommon-setup/SKILL.md · 283 lines

How it starts

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

RhinoCommon Plugin Setup

Project Types

Type Output Description
RhinoCommon Plugin .rhp Adds Commands to Rhino
Grasshopper Plugin .gha Adds Components to Grasshopper
Combined .rhp + .gha Both (separate projects, shared library)

.csproj Configuration

Rhino Plugin (.rhp) — Windows-only, no Visual Studio required

For Windows-only plugins (Rhino 8, net48), reference Rhino DLLs directly via HintPath — no NuGet needed since the DLLs ship with Rhino:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net48</TargetFramework>
    <AssemblyName>MyPlugin</AssemblyName>
    <RootNamespace>MyPlugin</RootNamespace>
    <LangVersion>9.0</LangVersion>
    <Nullable>disable</Nullable>
    <Platforms>AnyCPU</Platforms>
    <OutputPath>bin\$(Configuration)\</OutputPath>
  </PropertyGroup>

  <ItemGroup>
    <!-- Rhino SDK — reference directly, never copy to output -->
    <Reference Include="RhinoCommon">
      <HintPath>C:\Program Files\Rhino 8\System\RhinoCommon.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Eto">
      <HintPath>C:\Program Files\Rhino 8\System\Eto.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Rhino.UI">
      <HintPath>C:\Program Files\Rhino 8\System\Rhino.UI.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="Newtonsoft.Json">
      <HintPath>C:\Program Files\Rhino 8\System\Newtonsoft.Json.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <!-- These BCL assemblies must be listed explicitly for net48 SDK-style projects -->
    <Reference Include="System.Security" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Drawing" />
  </ItemGroup>

  <!-- Post-build: rename .dll → .rhp so Rhino recognizes it as a plugin -->
  <!-- ONLY rename in output dir — do NOT auto-copy to AppData while Rhino may be running -->
  <Target Name="PostBuild" AfterTargets="PostBuildEvent">
    <Copy SourceFiles="$(OutputPath)$(AssemblyName).dll"
          DestinationFiles="$(OutputPath)$(AssemblyName).rhp" />
  </Target>
</Project>

Read the full file on GitHub · 283 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 283 lines · 141 tokens per session scan C 5e8dc3c92a0f

Subscribe to this mod's changes

rhinocommon-setup is a skill published in the GitHub repository bcshih/rhino-dev-skills (1 stars, last pushed 2mo ago), licensed MIT. It adds 141 tokens to every session and 2,456 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

opengis-skills

Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise for 75 open-source projects. One-stop skill index with tag-based search and on-demand loading for GDAL, GeoServer, QGIS, PostGIS, JTS, CesiumJS, FreeCAD, OpenSCAD, OCCT, NPOI, SqlSugar, Furion, Dify, SuperSplat, Go and more.

znlgis/opengis-skills · 96 tokens

dotnet-review

Use when the user asks to review C#/.NET code, check a PR/diff, look for naming or styling issues, assess performance or concurrency, find dead code/duplication, review XML documentation, check test coverage, or do a security review. ALSO use it for a convention or consistency audit across existing code — "are all our…

Attemainio/dotnet-toolkit · 218 tokens

dotnet-explore

Use before changing C#/.NET code when the set of symbols the task touches is not already known — surveying an unfamiliar subsystem, assessing how a new feature lands in the existing codebase, or finding out what a change would break. Delegates the wide searchindex/getreferences sweep to the plugin's dotnet-explore…

Attemainio/dotnet-toolkit · 104 tokens

rider-search

Routing rules for code search in JetBrains Rider projects — use the Rider MCP symbol/reference/file tools instead of Bash grep. Use whenever searching for a symbol, definition, function, variable, type, or finding usages/references in a C#/.NET or Unreal C++ codebase open in Rider.

JSungMin/rider-mcp-enforcer · 60 tokens

autocad-dotnet

Comprehensive AutoCAD .NET API reference for plugin development. Use when writing AutoCAD .NET plugins, working with ObjectARX managed wrappers, creating commands, manipulating entities, or needing exact API signatures. Covers AutoCAD 2025 and 2026 (both net8.0) with patterns, gotchas, and full API index. TRIGGER…

joseguiaCES/autocad-dotnet-claude-skill · 115 tokens

dotnet-analyzer-code-intelligence

Navigate and understand C# code through symbol queries, type hierarchies, call graphs, and semantic analysis using Roslyn-powered MCP tools. Use when the user asks to find references, go to definition, understand type inheritance, explore call hierarchies, get symbol info, analyze code metrics, or traverse syntax…

CartapenaBark/DotNetAnalyzer · 226 tokens