orkcore-math

orkcore-math is a skill for Claude Code, Codex from tweakoz/orkid. It costs 72 tokens per session (1,554 once invoked), scanned A, original, MIT.

Answer questions about orkid's math types including fvec2/3/4, fmtx3/4, fquat, DecompTransform, TransformNode, MultiCurve1D, color utilities, and Klein geometric algebra integration. Use when the user asks about vectors, matrices, quaternions, transforms, or math operations.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/tweakoz/orkid/orkcore-math
Any agent
npx skills add tweakoz/orkid --skill orkcore-math
Clone the repo
git clone --depth 1 https://github.com/tweakoz/orkid

Made for: Claude Code, Codex.

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 orkcore-math

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-math.svg)](https://agentmods.dev/skills/tweakoz/orkid/orkcore-math)
Your own site
<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-math"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-math.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00072 $0.01554
Opus 5 $0.00036 $0.00777
Sonnet 5 $0.00014 $0.00311
Haiku 4.5 $0.00007 $0.00155

Measured 2d ago against content hash ea06efc07e01, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orkcore-math 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 2d 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.

.claude/skills/orkcore-math/SKILL.md · 164 lines

How it starts

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

Orkid Math Types Reference

When answering questions about math types in orkid, consult these files. All under ork.core/.

Key Files

Component Header
fvec2/dvec2 inc/ork/math/cvector2.h
fvec3/dvec3 inc/ork/math/cvector3.h
fvec4/dvec4 inc/ork/math/cvector4.h
fmtx3/dmtx3 inc/ork/math/cmatrix3.h
fmtx4/dmtx4 inc/ork/math/cmatrix4.h
fquat/dquat inc/ork/math/quaternion.h
TransformNode inc/ork/math/TransformNode.h
DecompTransform inc/ork/math/TransformNode.h (same file)
MultiCurve1D inc/ork/math/multicurve.h
Color Math inc/ork/math/colormath.inl
Misc Utils inc/ork/math/misc_math.h
Python Bindings inc/ork/python/common_bindings/pyext_math_la.inl

Quick Constructor Reference

# Vectors
fvec2(x, y)
fvec3(x, y, z)        # or fvec3(scalar) for all same
fvec4(x, y, z, w)     # or fvec4(fvec3, w=1.0)

# Matrices
fmtx3()               # Identity
fmtx4()               # Identity
fmtx4(fquat)          # From quaternion

# Quaternions
fquat()               # Identity (0,0,0,1)
fquat(x, y, z, w)
fquat(axis_fvec3, angle_radians)
fquat(fmtx4)          # From matrix

Vector Methods (fvec3 example)

v = fvec3(1, 2, 3)
v.x, v.y, v.z         # Component access
v.length               # Magnitude (read-only property)
v.normalized           # Normalized copy (read-only property)
v.normalize()          # In-place normalize
v.dot(other)           # Dot product
v.cross(other)         # Cross product
v.angle(other)         # Angle in radians
v.lerp(a, b, t)        # Linear interpolation
v.clamped(min, max)    # Clamp all components
v.saturated()          # Clamp to [0,1]
v.reflect(normal)      # Reflect around normal
v.transform(fmtx4)    # Transform by matrix → fvec4
v.xy                   # Swizzle to fvec2

Color methods on fvec3:

v.setHSV(h, s, v)     # Set RGB from HSV
v.convertRgbToHsv()   # RGB → HSV
fvec3.Black(), fvec3.Red(), fvec3.Green(), fvec3.Blue(), fvec3.White()  # Constants

Read the full file on GitHub · 164 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. 2d ago First seen · 164 lines · 72 tokens per session scan A ea06efc07e01

Subscribe to this mod's changes

orkcore-math is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 22d ago), licensed MIT. It adds 72 tokens to every session and 1,554 once invoked, about $0.0004 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-09-01.

Related

Other skills, from other repositories

luban-dev

Luban 游戏配置全栈工具,支持枚举/Bean/数据表的增删改查、代码生成、TEngine 集成。触发场景:(1) 编辑游戏配置数据(配置表/数据表/道具表/技能表/奖励表/活动表),(2) 新增/修改/删除配置表结构,(3) 定义枚举/Bean/字段,(4) 导表/生成配置代码,(5) 编写 luban.conf 或 Schema 定义,(6) Luban 类型系统/校验器问题。即使用户未明确说"Luban",只要是编辑游戏配置数据,也应使用此技能。.

Alex-Rachel/TEngine · 149 tokens

html-to-ugui

HTML 原型转 Unity UGUI 智能 Prefab 生成管线。通过 AI 生成符合 UI-DSL 的 HTML,用 Playwright/浏览器烘焙 JSON v2 坐标、图片和适配意图,再导入 Unity 由 HtmlToUGUIBaker 生成可维护、多终端适配的 UGUI Prefab。触发场景:(1) 需要从自然语言生成 Unity UGUI 界面 (2) 需要从 HTML 原型烘焙 UGUI (3) UI 中包含图片并希望一键导入/绑定 Sprite (4) 需要 PC/mobile/pad 多终端适配 Prefab。.

Alex-Rachel/TEngine · 150 tokens

host-pattern

Use when adding a new domain to Nuclear's plugin system, or implementing a host. Covers the host pattern (how player functionality is exposed to plugins), the host interface and API class structure, how hosts are implemented in the player, error handling conventions, and what files to create and modify. Trigger…

nukeop/nuclear · 86 tokens

creating-components

Use when creating new UI components in packages/ui. Covers component structure, tests, stories, and what to avoid.

nukeop/nuclear · 26 tokens

tengine-dev

TEngine Unity 游戏框架开发指导。触发词:TEngine, UIWindow, UIWidget, GameEvent, AddUIEvent, LoadAssetAsync, SetSprite, HybridCLR, YooAsset, Luban, GameModule, 热更, 资源加载, UI开发, 事件系统, 配置表.

Alex-Rachel/TEngine · 68 tokens

writing-docs

Use when writing or editing documentation in packages/docs. Covers Gitbook markdown syntax, special blocks, page structure, and the SUMMARY.md table of contents. Trigger phrases include "write docs", "add documentation", "docs page", "gitbook", "user manual".

nukeop/nuclear · 57 tokens