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.
npx skills add grasscaograss/AwesomeWeldoneSkills --skill weld-seam-normal-vectorsgit clone --depth 1 https://github.com/grasscaograss/AwesomeWeldoneSkillsWrote 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.
[](https://agentmods.dev/skills/grasscaograss/awesomeweldoneskills/weld-seam-normal-vectors)<a href="https://agentmods.dev/skills/grasscaograss/awesomeweldoneskills/weld-seam-normal-vectors"><img src="https://agentmods.dev/badge/skills/grasscaograss/awesomeweldoneskills/weld-seam-normal-vectors/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.
<a href="https://agentmods.dev/skills/grasscaograss/awesomeweldoneskills/weld-seam-normal-vectors"><img src="https://agentmods.dev/badge/skills/grasscaograss/awesomeweldoneskills/weld-seam-normal-vectors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00204 | $0.01209 |
| Opus 5 | $0.00102 | $0.00605 |
| Sonnet 5 | $0.00041 | $0.00242 |
| Haiku 4.5 | $0.00020 | $0.00121 |
Grade A, and why
weld-seam-normal-vectors 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 11d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
焊缝法向量领域知识
核心概念
焊接坐标系由两个板面法向量 + 焊接方向定义:
Z 轴 = MasterPlateNormal (主板法向量,应指向工作面外侧)
X 轴 = 焊接方向 (起点到终点)
Y 轴 = Cross(Z, X) 符号由 SidePlateNormal 修正,确保 Y 朝子板一侧
这个坐标系是焊枪姿态、多层多道偏移、精定位校正矩阵的基础。
数据结构
WeldSeamVertex
├── Point (3D 位置)
├── MasterPlateNormal (主板法向量 → Z 轴)
├── SidePlateNormal (子板法向量 → Y 轴方向修正)
└── PointType
WeldSeam
├── MasterPlate (WeldPlate: BodyIndex, PlateIndex, FaceIndex)
├── SidePlate (WeldPlate?)
└── WeldSeamVertices[]
法向量来源
H-Beam / Flex-Beam(视觉模型工件)
C++ 算法解析 STEP/STL → 提取 PlateFaceSetsInOneWp(面片数据),AssignWsgDirection 从面片的 OriIn3D 矩阵第三行提取法向量,按 MasterPlate/SidePlate 的 (BodyIndex, PlateIndex, FaceIndex) 索引查表赋值。
DoublePlate(重磅板)
解析计算:MasterPlateNormal = plane.ZAxis,SidePlateNormal = 圆心到顶点方向。
C++ 层 Master/Side 分配(不可修改)
ParseIntermidiateILs 中硬编码:BodyPlateFaceIdxs[0:2] → SidePlate,[3:5] → MasterPlate。这个映射由 C++ 算法决定。
平焊缝 Master/SidePlate 自动校正(Swap)
背景
护圈等特殊工件中,C++ 分配的 MasterPlate 法向量与工作面垂直(非同向),而 SidePlateNormal 才与工作面同向。导致 Z 轴方向错误。
实现位置
WorkpieceManagerBase.SwapMasterSidePlateForFlatWelds() — 在 AssignWsgDirection 之后、数据写入 Workpiece 之前调用(仅 FlexBeam)。
判定条件
仅对 Direction == Horizontal 的焊缝组:
|SidePlateNormal · workFaceNormal| > |MasterPlateNormal · workFaceNormal|
取绝对值比较,因为法向量可能朝内或朝外。
Swap 操作
同时交换 WeldPlate 对象和法向量:
(ws.SidePlate, ws.MasterPlate) = (ws.MasterPlate, ws.SidePlate);
(vertex.SidePlateNormal, vertex.MasterPlateNormal) = (vertex.MasterPlateNormal, vertex.SidePlateNormal);
为什么源头 Swap 安全
所有下游通过 WeldPlate 的 (BodyIndex, PlateIndex, FaceIndex) 引用 MasterPlate。Swap 后索引互换,VCM 匹配等逻辑自动获取正确的平面。无需修改下游。
安全边界
- 仅影响平焊缝(Horizontal),立焊缝不触发
- 包角逻辑在 swap 之前已完成,不受影响
BuildWeld2ModelForV的隐式 swap 仅处理立焊缝,互不干扰DoublePlateWeldPoseSolverManager的MasterPlateNormal * -1仅 DoublePlate 走此路径
关键调用链
已有 Workaround(未移除)
| 位置 | 逻辑 | 适用范围 |
|---|---|---|
WeldPoseSolverManager.BuildWeld2ModelForV |
行列式 < 0 时 swap Master/Side 法向量 | 仅立焊缝 |
DoublePlateWeldPoseSolverManager |
axisZ = MasterPlateNormal * -1 |
仅重磅板 |
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.
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.
- 11d ago First seen · 107 lines · 204 tokens per session scan A 428f23e4f3e8
weld-seam-normal-vectors is a skill published in the GitHub repository grasscaograss/AwesomeWeldoneSkills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 204 tokens to every session and 1,209 once invoked, about $0.0010 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.
Other skills, from other repositories
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
jetson-diagnostic
Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.
doca-socket-relay
Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…
offensive-z-wave
Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…
hsb-flash
Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…
jetson-validate-image
Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.