grasshopper-mcp-workflow: Skill for Claude Code

.claude/skills/grasshopper-workflow/SKILL.md

grasshopper-workflow is a skill for Claude Code from AmemiyaLai/grasshopper-mcp-workflow. It costs 132 tokens per session (1,766 once invoked), scanned A, original, MIT.

A workflow for building and running parametric models in Grasshopper, a visual tool for creating adjustable 3D designs, through MCP.

In plain words
What is it for?
Use it to create and connect Grasshopper components, set parameters, group items, parse MMD files, generate placement data, and run modeling workflows.
Why use it?
It organizes component placement, connections, settings, groups, and execution so complex Grasshopper definitions can be automated.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is AmemiyaLai/grasshopper-mcp-workflow's own configuration. It tells Claude Code how to work on grasshopper-mcp-workflow 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 grasshopper-mcp-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AmemiyaLai/grasshopper-mcp-workflow. 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/AmemiyaLai/grasshopper-mcp-workflow/main/.claude/skills/grasshopper-workflow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AmemiyaLai/grasshopper-mcp-workflow

Made for: Claude Code.

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 grasshopper-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amemiyalai/grasshopper-mcp-workflow/grasshopper-workflow"><img src="https://agentmods.dev/badge/skills/amemiyalai/grasshopper-mcp-workflow/grasshopper-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,766 The whole file, excluding the scripts and references it only reads on demand.
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.00132 $0.01766
Opus 5 $0.00066 $0.00883
Sonnet 5 $0.00026 $0.00353
Haiku 4.5 $0.00013 $0.00177

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

Security

Grade A, and why

grasshopper-workflow 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 10d ago.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/cli.py, scripts/client.py, scripts/component_manager.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/grasshopper-workflow/SKILL.md · 169 lines

How it starts

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

Grasshopper Workflow Skill

概述

此技能提供完整的 Grasshopper 參數化建模工作流程,包括組件管理、連接管理、參數設置、群組管理和工作流程執行。整合了從需求分析到最終執行的完整流程。

核心功能

1. 組件管理

  • 創建、查詢、刪除組件
  • 並行創建多個組件
  • 組件 ID 映射管理
  • 組件 GUID 查詢

2. 連接管理

  • 建立組件之間的連接
  • 並行連接多個組件
  • 連接錯誤檢查和修正
  • 文檔錯誤診斷

3. 參數設置

  • 設置 Number Slider 屬性
  • 設置 Vector XYZ 組件
  • 批量參數設置
  • 自動範圍確定

4. 群組管理

  • 創建組件群組
  • 批量創建群組
  • 自定義群組顏色和名稱

5. 工作流程執行

  • 解析 MMD 文件(component_info.mmd, part_info.mmd)
  • 生成 placement_info.json
  • 執行完整建模流程
  • 自動化腳本執行

快速開始

基本使用

from scripts.client import GrasshopperClient
from scripts.component_manager import ComponentManager
from scripts.connection_manager import ConnectionManager
from scripts.parameter_setter import ParameterSetter
from scripts.group_manager import GroupManager

# 創建客戶端
client = GrasshopperClient(host="localhost", port=8080)

# 創建組件管理器
comp_mgr = ComponentManager(client)

# 創建組件
component_id = comp_mgr.add_component(
    guid="e2bb9b8d-0d80-44e7-aa2d-2e446f5c61da",
    x=100,
    y=200,
    component_id="SLIDER_WIDTH"
)

完整工作流程

from scripts.parser_utils import MMDParser, JSONGenerator
from scripts.placement_executor import PlacementExecutor

# 1. 解析 MMD 文件
parser = MMDParser()
components, connections = parser.parse_component_info_mmd("component_info.mmd")

# 2. 生成 placement_info.json
generator = JSONGenerator()
placement_info = generator.generate_placement_info(components, connections)
generator.save_placement_info(placement_info, "placement_info.json")

# 3. 執行
executor = PlacementExecutor()
result = executor.execute_placement_info("placement_info.json")

工作流程步驟

Grasshopper 建模工作流程包含 6 個主要步驟:

  1. 釐清設計需求與規格 - 參見 references/workflow_steps.md
  2. 拆分幾何物件創建 part_info.mmd - 參見 references/workflow_steps.md
  3. 規劃電池實際連接圖 component_info.mmd - 參見 references/workflow_steps.md
  4. 找出所需組件 GUID 並規劃位置 - 參見 references/workflow_steps.md
  5. 生成執行序列檔案 placement_info.json - 參見 references/workflow_steps.md
  6. 清理 GH_WIP 檔案 - 參見 references/workflow_steps.md

Read the full file on GitHub · 169 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. 10d ago First seen · 169 lines · 132 tokens per session scan A 621ff368617c

Subscribe to this mod's changes

grasshopper-workflow is a skill published in the GitHub repository AmemiyaLai/grasshopper-mcp-workflow (4 stars, last pushed 4d ago), licensed MIT. It adds 132 tokens to every session and 1,766 once invoked, about $0.0007 per session on Opus 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-08-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens