scripting-reference

scripting-reference is a skill for Claude Code from Abhinavbwj/Claude-skills-for-Computational-Designers. It costs 60 tokens per session (10,905 once invoked), scanned B, original, MIT.

A reference for writing code in architecture, engineering, and construction tools, including Python for Rhino, Grasshopper, and Revit, C# for Grasshopper, and JavaScript for web 3D.

In plain words
What is it for?
Use it to script geometry, build Grasshopper components, automate Revit, process data, call web APIs, and create Three.js 3D experiences.
Why use it?
It provides reusable coding patterns for tasks that become difficult to maintain, test, or automate with visual programming alone.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the Claude-skills-for-Computational-Designers plugin — 18 skills shipped together

Good fit Use it to script geometry, build Grasshopper components, automate Revit, process data, call web APIs, and create Three.js 3D experiences.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference
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 Abhinavbwj/Claude-skills-for-Computational-Designers --skill scripting-reference
Clone the repo
git clone --depth 1 https://github.com/Abhinavbwj/Claude-skills-for-Computational-Designers

Made for: Claude Code.

Or install Claude-skills-for-Computational-Designers, the plugin that ships this one along with the rest of its 18 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 scripting-reference

README.md
[![agentmods](https://agentmods.dev/badge/skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference/github.svg)](https://agentmods.dev/skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference)
Your own site
<a href="https://agentmods.dev/skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference"><img src="https://agentmods.dev/badge/skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference/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 scripting-reference

Your own site · 80×15
<a href="https://agentmods.dev/skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference"><img src="https://agentmods.dev/badge/skills/abhinavbwj/claude-skills-for-computational-designers/scripting-reference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,905 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00060 $0.10905
Opus 5 $0.00030 $0.05452
Sonnet 5 $0.00012 $0.02181
Haiku 4.5 $0.00006 $0.01090

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

Security

Grade B, and why

scripting-reference scanned grade B with 2 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 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

response = requests.post("https://speckle.xyz/api/streams",

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get("https://api.openweathermap.org/data/2.5/weather",
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/scripting-reference/SKILL.md · 1,434 lines

How it starts

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

Scripting Reference for AEC Computational Design

1. Scripting in AEC Computational Design

Why Code Beyond Visual Programming

Visual programming environments like Grasshopper, Dynamo, and Marionette have democratized computational design for architects and engineers. But they hit hard walls in practice:

  • Complexity ceiling: Definitions beyond ~200 nodes become unreadable spaghetti, impossible to maintain or hand off.
  • Control flow limitations: Try writing a recursive space-partitioning algorithm in pure Grasshopper. You cannot. Loops require plugins (Anemone, Hoopsnake) that add fragility.
  • Performance: Visual node evaluation carries overhead. A Python loop processing 50,000 mesh vertices runs 5-20x faster than equivalent wired-up components.
  • Data management: Parsing CSV, calling REST APIs, reading databases, writing Excel reports — all trivial in code, painful or impossible in visual programming.
  • Version control: A .gh file is a binary blob. A .py file is diffable, mergeable, reviewable text.
  • Reusability: Functions, classes, modules, packages — code is composable at every scale.
  • Testing: You can unit-test a Python function. You cannot unit-test a Grasshopper cluster.

The Scripting Spectrum

Level Tool Difficulty Use Case
Entry rhinoscriptsyntax (rs) Easy Quick automation, batch ops, simple geometry
Intermediate RhinoCommon (Python) Medium Complex geometry, intersections, analysis
Intermediate GhPython Medium Custom GH components, data tree manipulation
Advanced C# in GH Hard Performance-critical components, custom .gha
Advanced pyRevit / Dynamo Python Medium Revit automation, BIM scripting
Advanced Full .NET (C#/F#) Hard Production plugins, commercial tools
Specialist Three.js / WebGL Medium Web viewers, interactive presentations

Choosing the Right Language

Python — Use when:

  • Rapid prototyping and iteration matter most
  • You need quick automation scripts (Rhino or Revit)
  • Working with data (CSV, JSON, API calls)
  • Algorithmic design exploration in Grasshopper
  • Team includes non-programmers who need to read the code

Read the full file on GitHub · 1,434 lines

Files

What ships with it

3 files 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 · 1,434 lines · 60 tokens per session scan B 511a0d79e2e8

Subscribe to this mod's changes

scripting-reference is a skill published in the GitHub repository Abhinavbwj/Claude-skills-for-Computational-Designers (212 stars, last pushed 5mo ago), licensed MIT. It adds 60 tokens to every session and 10,905 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.