[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MNZ3SXJFDQ3KM805Q2X3KN":3,"skill-same:01M6MNZ3SXJFDQ3KM805Q2X3KN":56},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":24,"frontMatter":25,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M6MNZ3SXJFDQ3KM805Q2X3KN","math-unicode",null,"hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvladimirrott\u002Fclaude-math\u002Fskills\u002Fmath-unicode\u002FSKILL.md",[],[18,19,20],"math","Unicode","math unicode","2026-11-10 10:12:30",false,"---\nname: math-unicode\ndescription: Use when a response needs mathematical notation (equations, filters, set-builder notation, statistics, calculus, linear algebra, logic, ratios, drops, counts) and the output goes to a terminal or TUI that cannot render LaTeX: Claude Code, Codex CLI, SSH and tmux sessions, CI logs. Load it before composing, including when the user explicitly mentions math-unicode. Emit Unicode glyphs inline, never raw LaTeX delimiters or commands. Do not use when the host renders math natively, such as ChatGPT or Codex on desktop and web, notebooks, or a KaTeX\u002FMathJax target, and do not use when the user asked for LaTeX or a .tex file.\ndisable-model-invocation: false\n---\n\n# math-unicode\n\nWhen emitting mathematical notation in a terminal coding agent (Claude Code, Codex CLI, or similar), **always use Unicode glyphs inline** — never wrap math in `$…$`, `\\(...\\)`, or `$$...$$`. These terminals do not render LaTeX; raw delimiters appear as plain dollar signs and reduce readability.\n\n## When this skill applies\n\nTwo conditions, both required: the response carries mathematical notation, and\nthe surface it lands on does not render LaTeX.\n\nSurfaces that do not render LaTeX (apply the skill):\n- Claude Code, Codex CLI, and other terminal or TUI coding agents\n- Anything read through SSH, tmux, a pager, or a CI log\n\nSurfaces that render math natively (do not apply the skill):\n- ChatGPT and Codex on desktop and web, where math already renders\n- Notebooks, and any target consumed by KaTeX or MathJax\n\nNo host exposes a per-surface predicate to a skill today, so this boundary is a\njudgement the model makes from its own context. If you cannot tell, and the\nsession is a terminal coding agent, apply the skill.\n\nTriggers (use Unicode math):\n- Equations, formulas, derivations\n- Filter conditions, set-builder notation\n- Statistics: probabilities, expectations, distributions\n- Calculus, linear algebra, logic\n- Counts, ratios, fractions, drops where precision matters\n\nSkip (do not transform):\n- The user explicitly asks for LaTeX or a `.tex` file\n- Math inside fenced code blocks (preserve source syntax)\n- Strings being passed to a system that consumes LaTeX (KaTeX MCP, etc.)\n\n## Glyph cheatsheet\n\n### Greek\n\n```\nlowercase   α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω\nuppercase   Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω\nvariants    ϵ ϑ ϕ ϖ ϱ ς\n```\n\n### Operators\n\n```\narithmetic     + − × ÷ ± ∓ · ∗ ⋅ ∘ ⊕ ⊖ ⊗ ⊘ ⊙\nbig            ∑ ∏ ∐ ∫ ∬ ∭\nroots          √ ∛ ∜\ncalculus       ∂ ∇ Δ ∆\nconstants      ∞ ∅\n```\n\n### Relations\n\n```\nequality       =  ≠  ≈  ≅  ≡  ≜  ≝  ≐  ∝  ∼  ≃  ≢\norder          \u003C  >  ≤  ≥  ⊴  ⊵\nset            ∈ ∉ ∋ ∌  ⊂ ⊃ ⊆ ⊇ ⊊ ⊋  ⊏ ⊐ ⊑ ⊒\nset ops        ∪ ∩ ⊎ ⊔ ⊓        (set difference: A \\ B)\n```\n\n### Logic & arrows\n\n```\nlogic          ∧ ∨ ¬ ⊕   ⊢ ⊥ ⊤\nquantifiers    ∀ ∃ ∄ ∴ ∵\narrows         → ← ↔ ⇒ ⇐ ⇔ ↦ ↪ ↩ ↑ ↓ ⇑ ⇓ ⟶ ⟵ ⟷ ⊸\n```\n\n### Number sets & brackets\n\n```\nsets           ℕ ℤ ℚ ℝ ℂ ℙ ℍ\nbrackets       ⟨ ⟩  ⌈ ⌉  ⌊ ⌋  ‖ ‖\n```\n\n### Sub\u002Fsuperscript glyph blocks\n\n```\nsuperscript    ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹  ⁺ ⁻ ⁼ ⁽ ⁾  ⁱ ⁿ ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ʲ ᵏ ˡ ᵐ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ\nsup (capital)  ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ\nsup (Greek)    ᶿ                    (θ only; the rest are opt-in)\nsubscript      ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉  ₊ ₋ ₌ ₍ ₎  ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ\n```\n\n**Do not invent or approximate a missing glyph.** A whitelist on its own is not\na membership test; these are the exact gaps that make the bare `^x` \u002F `_x`\nfallbacks in Rules 3, 4 and 5 fire. Two separate causes, same outcome.\n\nNo Unicode code point exists at all:\n\n```\nsubscript letters      b c d f g q w y z    → x_b, x_c, x_d\nsubscript capitals     all 26               → A_B, M_N  (Unicode has no\n                                              subscript capital, 0\u002F26)\nsuperscript capitals   X Y Z                → A^X, M^Y, A^Z\nsuperscript ∞          none                 → never ^∞ as a glyph; use ∫[a..∞]\nGreek sub\u002Fsuperscript  μ ν σ and most rest  → I_ν, ∂_μ, x^ν (Rules 3, 4, 8)\n```\n\nA code point exists, but no monospace font in the measured set ships it, so\ntreat it as absent:\n\n```\nsuperscript S          U+A7F1, Unicode 17.0 → A^S\nsuperscript C F Q      U+A7F2..U+A7F4       → A^C, A^F, A^Q\nsuperscript q          U+107A5, outside BMP → x^q\nGreek subscripts       ᵦ ᵧ ᵨ ᵩ ᵪ            → x_β, I_ρ, x_γ\nGreek superscripts     ᵝ ᵞ ᵟ ᵠ ᵡ            → x^β, x^φ\n```\n\nTwo Greek exceptions worth knowing, because the older wording here got them\nwrong. `ᶿ` (superscript θ, U+1DBF) renders as widely as the Latin blocks below\nand is a normal part of the portable set, so write `xᶿ`, not `x^θ`. And `ρ` does\nhave a subscript, `ᵨ` U+1D68; it is missing from most terminal fonts rather than\nfrom Unicode, which is why `I_ρ` stays the recommendation.\n\nMeasured coverage of the portable set: **17\u002F26** lowercase subscripts, **0\u002F26**\nsubscript capitals, and **19\u002F26** superscript capitals with a code point that\nsome monospace font ships. The `∞` gap is why big-operator bounds use a\nbracketed range rather than stacked scripts: `∫₀^∞` would render one bound as a\nglyph and the other as a caret in the same operator. When unsure, the bare `^` \u002F\n`_` form is always acceptable; a wrong or missing glyph is not.\n\nIf your terminal font does carry the Greek scripts or the rarer capitals, see\n`references\u002Fextended-glyphs.md` for the opt-in set.\n\n## Font coverage\n\nUnicode says a code point exists. Whether a terminal draws it is a property of\nthe font. These counts come from reading the `cmap` table of twelve monospace\nfonts: the six most widely installed programming fonts (JetBrains Mono, Fira\nCode, Cascadia Code, Hack, Source Code Pro, IBM Plex Mono) and six system fonts\n(DejaVu Sans Mono, Liberation Mono, Ubuntu Mono, Ubuntu Sans Mono, Noto Mono,\nCousine). `scripts\u002Fmeasure-font-coverage.mjs` regenerates them and the test\nsuite asserts every number below against the result.\n\n| what | glyphs | fonts |\n|---|---|---|\n| core operators and relations | ∑ ∏ ∫ √ ∂ ∞ ± × ÷ · ≈ ≠ ≤ ≥ ¬ − ² ³ | 12\u002F12 |\n| Greek letters | α β γ δ θ λ μ π σ φ ω Γ Δ Θ Λ Σ Φ Ω | 11-12\u002F12 |\n| sub\u002Fsuperscript digits | ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ | 9-12\u002F12 |\n| arrows, single | → ← ↔ ↑ ↓ | 9\u002F12 |\n| set and logic symbols | ∈ ∉ ∪ ∩ ⊂ ⊆ ∧ ∨ ∀ ∃ ∅ ∇ | 4-8\u002F12 |\n| superscript letters, lowercase | ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ʲ ᵏ ˡ ᵐ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ | 4-5\u002F12 |\n| superscript i and n | ⁱ ⁿ | 2-7\u002F12 |\n| superscript theta | ᶿ | 4\u002F12 |\n| superscript signs and parens | ⁺ ⁻ ⁼ ⁽ ⁾ | 3-4\u002F12 |\n| subscript signs and parens | ₊ ₋ ₌ ₍ ₎ | 3-4\u002F12 |\n| superscript letters, capital | ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ | 1-3\u002F12 |\n| subscript letters, wider half | ₐ ₑ ᵢ ₒ ᵣ ᵤ ᵥ ₓ | 3\u002F12 |\n| subscript letters, thin half | ₕ ₖ ₗ ₘ ₙ ₚ ₛ ₜ ⱼ | 1\u002F12 |\n| number sets | ℕ ℤ ℚ ℝ ℂ ℙ ℍ | 3\u002F12 |\n| arrows, double | ⇒ ⇐ ⇔ ⇑ ⇓ | 4\u002F12 |\n| multiline brackets | ⎡ ⎣ ⎤ ⎦ ⎧ ⎩ ⟨ ⟩ | 4\u002F12 |\n\nRead that table as a ranking, not a verdict. A glyph the primary font lacks is\nusually supplied by fontconfig from another installed font, so it still draws,\nbut at a different advance width, which is what breaks column alignment in\naligned derivations and matrices. Only a glyph no installed font carries shows\nas tofu.\n\nTwo consequences worth acting on:\n\n- The operators, Greek letters and digit scripts survive everywhere. Prefer them,\n  and they carry most of the load in ordinary output.\n- The letter sub\u002Fsuperscripts are DejaVu-class. JetBrains Mono, Fira Code, Hack\n  and IBM Plex Mono ship none of them, so `xᵢ` and `xᵀ` arrive through fallback\n  there. That is the reason Rules 3 and 4 keep `x_i` and `x^T` as first-class\n  alternatives rather than last resorts.\n- `ⱼ` and `ⱽ` are the two thinnest glyphs in the portable blocks, carried by one\n  font each. They sit in the ranges above rather than in *Glyphs to avoid*\n  because their fallback, `x_j` and `A^V`, is already what Rules 3 and 4 say to\n  write when in doubt.\n\n### Common LaTeX → Unicode\n\n| LaTeX | Unicode | LaTeX | Unicode | LaTeX | Unicode |\n|---|---|---|---|---|---|\n| `\\alpha` | α | `\\sum` | ∑ | `\\in` | ∈ |\n| `\\beta` | β | `\\prod` | ∏ | `\\notin` | ∉ |\n| `\\gamma` | γ | `\\int` | ∫ | `\\subset` | ⊂ |\n| `\\delta` | δ | `\\partial` | ∂ | `\\subseteq` | ⊆ |\n| `\\epsilon` | ε | `\\nabla` | ∇ | `\\cup` | ∪ |\n| `\\theta` | θ | `\\infty` | ∞ | `\\cap` | ∩ |\n| `\\lambda` | λ | `\\emptyset` | ∅ | `\\setminus` | `\\` |\n| `\\mu` | μ | `\\leq` | ≤ | `\\wedge` | ∧ |\n| `\\pi` | π | `\\geq` | ≥ | `\\vee` | ∨ |\n| `\\sigma` | σ | `\\neq` | ≠ | `\\neg` | ¬ |\n| `\\phi` | φ | `\\approx` | ≈ | `\\Rightarrow` | ⇒ |\n| `\\omega` | ω | `\\equiv` | ≡ | `\\Leftrightarrow` | ⇔ |\n| `\\sqrt` | √ | `\\propto` | ∝ | `\\forall` | ∀ |\n| `\\pm` | ± | `\\cdot` | · | `\\exists` | ∃ |\n| `\\times` | × | `\\to` | → | `\\mathbb{R}` | ℝ |\n\n## Style rules\n\n### Rule 1 — Inline math: Unicode, no delimiters\n\nBad:  `The filter $f(T; m) = \\{(s,r) : n_{s,r} \\geq m\\}$ produces the cohort.`\nGood: `The filter f(T; m) = { (s,r) : n_{s,r} ≥ m } produces the cohort.`\n\n### Rule 2 — Block math: own line(s), still no delimiters\n\nBad:\n\n    $$|Q| \u002F |T| = 5238 \u002F 31075 \\approx 16.9\\%$$\n\nGood:\n\n    |Q| \u002F |T|  =  5 238 \u002F 31 075  ≈  16.9 %\n\n### Rule 3 — Subscripts\n\n- Single Unicode-renderable index: prefer the glyph (x₁, x₂, xᵢ, xⱼ, xₙ).\n  `ⱼ` is the thinnest-supported glyph in this block, so `x_j` is equally fine.\n- Single index with no subscript glyph: use a bare underscore — `I_ν`, `∂_μ`,\n  and `x_c` \u002F `x_b` \u002F `x_d`, which have no subscript form at all. Check the\n  gap list under *Sub\u002Fsuperscript glyph blocks* before reaching for a glyph.\n- Multi-character or grouped subscript: use `_{...}` syntax — the underscore\n  reads unambiguously as a subscript and stays more legible than bracket-style\n  indexing:\n  - `n_{s,r}` ← (s,r) has no Unicode subscript form\n  - `x_max`, `σ_obs` ← multi-letter\n- Never mix: don't write `x_₁` or `x_{1}` when `x₁` works.\n\n### Rule 4 — Superscripts (powers)\n\n- Simple \u002F Unicode-mappable exponent: prefer the glyph — x², x³, xⁿ, eˣ, A⁻¹,\n  and the transpose xᵀ \u002F vᵀ.\n- Single exponent with no glyph: use a bare caret — `x^ν`, `(z\u002F2)^a`, and\n  `A^X` \u002F `A^Y` \u002F `A^Z`, which have no capital superscript code point, plus\n  `A^S`, which has one (U+A7F1, Unicode 17.0) that no terminal font ships.\n  `Aᵀ` is fine, and so is `xᶿ`; see the gap list under *Sub\u002Fsuperscript glyph\n  blocks*.\n- Multi-character or expression exponent: use **caret + parentheses**, never\n  `^{...}` — `x^(k+1)`, `x^(i)`, `e^(iπ)`. A bare `x^{T}` \u002F `x^{(i)}` leaks\n  LaTeX source; write `xᵀ` (single glyph) or `x^(i)` (parenthesized).\n\n### Rule 5 — Big operators with selectors\n\nUnicode operator + a **bracketed inline selector** — never `_{...}^{...}`. Use\n`..` for a numeric\u002Fexpression range, `∈` for set membership, `→` for a limit\ntarget, and an equation\u002Fcondition when that is the natural selector:\n\n```\n∑[i=1..n] aᵢ            ∏[k ∈ K] pₖ            ∫[a..b] f(x) dx\n∫[−∞..∞] e^(−x²) dx     ⋃[i=1..n] Aᵢ           lim[x→0] f(x)\n∑[m₁+...+mₙ=N] c_m      ∫[C] f(z) dz           Res[z=z₀] f(z)\n```\n\nWrite a contour integral as `∫[C]`. The dedicated contour glyph is in no\nmonospace font measured here, and the bracketed selector already says the path\nis C. See *Glyphs to avoid*.\n\nUse ordinary letters for named functions: `Γ`, `B`, `erf`, `det`, `tr`, `Re`,\n`Im`, `exp`, `log`, `sin`, `cos`, `argmin`. Do not emit `\\operatorname`.\nFor a left-scripted named function, use available glyphs such as `₂F₁(a,b;c;z)`;\nwhen an index cannot be expressed as one glyph, use readable ASCII notation such\nas `_{p}F_q` rather than inventing a substitute.\n\n### Rule 6 — Fractions\n\n- Inline: `a\u002Fb`, `(a + b) \u002F (c + d)`\n- Block (only when it aids clarity):\n\n```\n       a + b\n   ─────────────\n     c² + d²\n```\n\n### Rule 7 — Matrices \u002F vectors\n\nASCII art with corner glyphs:\n\n```\nA  =  ⎡ a  b ⎤        v  =  ( v₁ , v₂ , v₃ )ᵀ\n      ⎣ c  d ⎦\n```\n\nDeclare variable types in prose instead of faking bold or italic: “Here z and n\nare vectors, and Ω is a matrix.”\n\n### Rule 8 — Tensor indices\n\nTensor indices are indices, not powers. Keep non-mappable tensor indices in\nbare ASCII form and group only when the index has multiple characters:\n\n```\nR^ρ_{σμν}        ∂_μ        Γ^ρ_{νσ}\n```\n\n### Rule 9 — Piecewise forms and aligned derivations\n\nUse the box-drawing brace glyphs for a short piecewise definition; keep equals\nsigns in the same column for a derivation. If those brace glyphs are absent in a\nreader's font, use a semicolon-separated sentence instead.\n\n```\nf(x) =\n  ⎧ x²    if x ≥ 0\n  ⎩ −x    if x \u003C 0\n\naₙ = bₙ + cₙ\n    = dₙ\n```\n\n### Rule 10 — Sets and conditions\n\nPrefer set-builder with `|` or `:`:\n\n```\nQ  =  { (s,r) ∈ T  :  n_{s,r} ≥ 18  ∧  p⁰_{s,r} \u003C 0.9 }\n```\n\n### Rule 11 — Numbers\n\n- Thousands: thin space (` `, U+2009) — `5 238`, `34 601` — not commas (locale ambiguous).\n- Decimal: dot — `16.9 %`.\n- Percent: space before `%` — `16.9 %` (typographic convention; readable).\n- Approximations: ≈, ∼. Order of magnitude: ~. Confidence: `x = 5.2 ± 0.3`.\n\n### Rule 12 — When Unicode hurts, fall back explicitly\n\nIf a glyph chain becomes denser than the LaTeX it replaces, switch to readable ASCII pseudo-LaTeX and annotate it. Example:\n\n```\nH(p) = − ∑[x ∈ X] p(x) · log p(x)        (∑ = sum over the support X)\n```\n\nThe reader's comprehension is the only metric. Prefer common, well-supported\nglyphs. Do not use combining marks or obscure modifier letters just to force a\nsuper- or subscript; use readable bare `^x` \u002F `_x` notation instead. Choose\nwhichever form is clearest, then stay consistent within a passage.\n\n### Rule 13 — Plain letters for variables; never style with math-alphanumeric codepoints\n\nWrite variable names and identifiers with ordinary letters (x, A, Var, RSS). Do **not** reach into the Unicode *Mathematical Alphanumeric Symbols* block (U+1D400 onward: bold, italic, script and styled double-struck letters) to *style* ordinary letters. Those code points garble on copy\u002Fpaste, terminal search, and screen readers — the same failure Claude Code hit in issue #61558. They are also the least renderable characters in the block table: see *Glyphs to avoid*.\n\nException: the standard blackboard-bold number sets are correct notation rather than styling, and they live in the Letterlike Symbols block, which terminal fonts do carry. Keep using ℕ ℤ ℚ ℝ ℂ ℙ ℍ.\n\nThe exception stops there. Double-struck F and double-struck E sit in the Mathematical Alphanumeric Symbols block this rule bans, and they measure worse than anything else the skill emitted before: one monospace font out of twelve. Write a general field as `F` and an expectation as `E[X]`. Everything the rule says about copy, search and screen readers applies to them too.\n\n## Quick reference — common forms\n\n```\nMean \u002F std        μ ± σ                        x̄ ± s\nProbability       P(A | B)                     ℙ(A ∩ B) = ℙ(A) · ℙ(B | A)\nExpectation       E[X] = ∫ x · f(x) dx\nVariance          Var(X) = E[X²] − E[X]²\nGradient          ∇f = ( ∂f\u002F∂x₁ , ... , ∂f\u002F∂xₙ )\nNorm              ‖x‖₂ = √(∑[i=1..n] xᵢ²)\nBig-O             T(n) = O(n log n)\nLimit             lim[n → ∞] aₙ = L\nSum bounds        ∑[i=1..n] i  =  n(n+1)\u002F2\nQuantile          q_α = inf{ x : F(x) ≥ α }\n```\n\n## Golden corpus — difficult terminal-native forms\n\nThese examples are deliberately chosen to exercise non-mappable indices,\nconstrained sums, tensors, special functions, contours, and multiline output.\nThey are normalized terminal forms of standard formulas (including DLMF\n§10.32.E2, §15.6.E1, §19.19.E1, and §21.2.E1).\n\n```\nI_ν(z) = (z\u002F2)^ν \u002F (√π Γ(ν+½)) ∫[0..π] e^(±z cos θ)(sin θ)^(2ν) dθ\n\nF(a,b;c;z) = 1 \u002F (Γ(b)Γ(c−b)) ∫[0..1] t^(b−1)(1−t)^(c−b−1) \u002F (1−zt)^a dt\n\nT_N(b,z) = ∑[m₁+...+mₙ=N] ((b₁)_{m₁} ··· (bₙ)_{mₙ}) \u002F (m₁! ··· mₙ!) · z₁^(m₁) ··· zₙ^(mₙ)\n\nθ(z | Ω) = ∑[n ∈ ℤ^g] exp(2π i(½ n · Ω · n + n · z))\n  Here z and n are vectors, and Ω is a matrix.\n\nR^ρ_{σμν} = ∂_μ Γ^ρ_{νσ} − ∂_ν Γ^ρ_{μσ} + Γ^ρ_{μλ} Γ^λ_{νσ} − Γ^ρ_{νλ} Γ^λ_{μσ}\n\nf^(n)(z₀) = n! \u002F (2π i) ∫[C] f(z) \u002F (z−z₀)^(n+1) dz\n\n∂u\u002F∂t + (u · ∇)u = −∇p + νΔu + f,  ∇·u = 0\n\np(x) = exp(−½ (x−μ)ᵀΣ⁻¹(x−μ)) \u002F √((2π)ᵈ det Σ)\n\nF(ω) = ∫[−∞..∞] f(t)e^(−iωt) dt\n\nf(x) =\n  ⎧ x²    if x ≥ 0\n  ⎩ −x    if x \u003C 0\n```\n\n## Glyphs to avoid\n\nEvery glyph below has a code point and looks correct in a proportional editor.\nNone of them is carried by more than one of the twelve monospace fonts measured\nin *Font coverage*, so in a terminal each one either draws from a fallback at the\nwrong width or shows as tofu. Write the replacement instead. Counts are\n`fonts carrying the glyph \u002F fonts measured`.\n\n| avoid | code point | fonts | write instead |\n|---|---|---|---|\n| ∮ | U+222E | 0\u002F12 | `∫[C] f(z) dz` |\n| ⅆ | U+2146 | 0\u002F12 | `d` |\n| ⅇ | U+2147 | 0\u002F12 | `e` |\n| ∖ | U+2216 | 0\u002F12 | `A \\ B` |\n| ℵ | U+2135 | 0\u002F12 | `aleph_0` |\n| ℶ | U+2136 | 0\u002F12 | `beth_0` |\n| ⋘ | U+22D8 | 0\u002F12 | `\u003C\u003C` |\n| ⋙ | U+22D9 | 0\u002F12 | `>>` |\n| ⨁ | U+2A01 | 0\u002F12 | `⊕[i=1..n]` |\n| ⨂ | U+2A02 | 0\u002F12 | `⊗[i=1..n]` |\n| 〈 | U+3008 | 0\u002F12 | `⟨` (U+3008 is a full-width CJK bracket) |\n| 〉 | U+3009 | 0\u002F12 | `⟩` |\n| ≪ | U+226A | 1\u002F12 | `\u003C\u003C` |\n| ≫ | U+226B | 1\u002F12 | `>>` |\n| ⊨ | U+22A8 | 1\u002F12 | `\\|=` |\n| ⊻ | U+22BB | 1\u002F12 | `xor`, or `⊕` in a boolean-ring context |\n| ⊼ | U+22BC | 1\u002F12 | `nand` |\n| ⊽ | U+22BD | 1\u002F12 | `nor` |\n| ⟸ | U+27F8 | 1\u002F12 | `⇐` |\n| ⟹ | U+27F9 | 1\u002F12 | `⇒` |\n| ⟺ | U+27FA | 1\u002F12 | `⇔` |\n| ⨅ | U+2A05 | 1\u002F12 | `⊓[i=1..n]` |\n| ⨆ | U+2A06 | 1\u002F12 | `⊔[i=1..n]` |\n| ? | U+1D53C | 1\u002F12 | `E[X]` (also banned by Rule 13) |\n| ? | U+1D53D | 1\u002F12 | `F` (also banned by Rule 13) |\n| ? | U+1D538 | 1\u002F12 | `A`, or `ℕ ℤ ℚ ℝ ℂ` when a specific set is meant |\n\n## Anti-patterns — never emit these in the terminal (Claude Code \u002F Codex)\n\n```\n✗   $f(x) = \\sum_{i=1}^{n} x_i$\n✗   \\( a^2 + b^2 = c^2 \\)\n✗   $$\\int_0^\\infty e^{-x^2} dx = \\frac{\\sqrt{\\pi}}{2}$$\n✗   \\[ |Q|\u002F|T| \\approx 16.9\\% \\]\n✗   ∑_{i=1}^{n}  or  ∫_a^b  or  x^{T}   (stacked bounds \u002F brace exponent leak source even without $…$ — write ∑[i=1..n], ∫[a..b], xᵀ)\n✗   Let ??? = …   or   matrix ? = …   (math-alphanumeric styling; garbles on copy\u002Fsearch — write Var, A)\n```\n\nIf asked to produce raw LaTeX (e.g. for a `.tex` file or a KaTeX-rendering tool downstream), do so — and call it out explicitly: *\"Raw LaTeX as requested; this will not render in the terminal.\"*\n","# math-unicode\n\nWhen emitting mathematical notation in a terminal coding agent (Claude Code, Codex CLI, or similar), **always use Unicode glyphs inline** — never wrap math in `$…$`, `\\(...\\)`, or `$$...$$`. These terminals do not render LaTeX; raw delimiters appear as plain dollar signs and reduce readability.\n\n## When this skill applies\n\nTwo conditions, both required: the response carries mathematical notation, and\nthe surface it lands on does not render LaTeX.\n\nSurfaces that do not render LaTeX (apply the skill):\n- Claude Code, Codex CLI, and other terminal or TUI coding agents\n- Anything read through SSH, tmux, a pager, or a CI log\n\nSurfaces that render math natively (do not apply the skill):\n- ChatGPT and Codex on desktop and web, where math already renders\n- Notebooks, and any target consumed by KaTeX or MathJax\n\nNo host exposes a per-surface predicate to a skill today, so this boundary is a\njudgement the model makes from its own context. If you cannot tell, and the\nsession is a terminal coding agent, apply the skill.\n\nTriggers (use Unicode math):\n- Equations, formulas, derivations\n- Filter conditions, set-builder notation\n- Statistics: probabilities, expectations, distributions\n- Calculus, linear algebra, logic\n- Counts, ratios, fractions, drops where precision matters\n\nSkip (do not transform):\n- The user explicitly asks for LaTeX or a `.tex` file\n- Math inside fenced code blocks (preserve source syntax)\n- Strings being passed to a system that consumes LaTeX (KaTeX MCP, etc.)\n\n## Glyph cheatsheet\n\n### Greek\n\n```\nlowercase   α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω\nuppercase   Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω\nvariants    ϵ ϑ ϕ ϖ ϱ ς\n```\n\n### Operators\n\n```\narithmetic     + − × ÷ ± ∓ · ∗ ⋅ ∘ ⊕ ⊖ ⊗ ⊘ ⊙\nbig            ∑ ∏ ∐ ∫ ∬ ∭\nroots          √ ∛ ∜\ncalculus       ∂ ∇ Δ ∆\nconstants      ∞ ∅\n```\n\n### Relations\n\n```\nequality       =  ≠  ≈  ≅  ≡  ≜  ≝  ≐  ∝  ∼  ≃  ≢\norder          \u003C  >  ≤  ≥  ⊴  ⊵\nset            ∈ ∉ ∋ ∌  ⊂ ⊃ ⊆ ⊇ ⊊ ⊋  ⊏ ⊐ ⊑ ⊒\nset ops        ∪ ∩ ⊎ ⊔ ⊓        (set difference: A \\ B)\n```\n\n### Logic & arrows\n\n```\nlogic          ∧ ∨ ¬ ⊕   ⊢ ⊥ ⊤\nquantifiers    ∀ ∃ ∄ ∴ ∵\narrows         → ← ↔ ⇒ ⇐ ⇔ ↦ ↪ ↩ ↑ ↓ ⇑ ⇓ ⟶ ⟵ ⟷ ⊸\n```\n\n### Number sets & brackets\n\n```\nsets           ℕ ℤ ℚ ℝ ℂ ℙ ℍ\nbrackets       ⟨ ⟩  ⌈ ⌉  ⌊ ⌋  ‖ ‖\n```\n\n### Sub\u002Fsuperscript glyph blocks\n\n```\nsuperscript    ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹  ⁺ ⁻ ⁼ ⁽ ⁾  ⁱ ⁿ ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ʲ ᵏ ˡ ᵐ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ\nsup (capital)  ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ\nsup (Greek)    ᶿ                    (θ only; the rest are opt-in)\nsubscript      ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉  ₊ ₋ ₌ ₍ ₎  ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ\n```\n\n**Do not invent or approximate a missing glyph.** A whitelist on its own is not\na membership test; these are the exact gaps that make the bare `^x` \u002F `_x`\nfallbacks in Rules 3, 4 and 5 fire. Two separate causes, same outcome.\n\nNo Unicode code point exists at all:\n\n```\nsubscript letters      b c d f g q w y z    → x_b, x_c, x_d\nsubscript capitals     all 26               → A_B, M_N  (Unicode has no\n                                              subscript capital, 0\u002F26)\nsuperscript capitals   X Y Z                → A^X, M^Y, A^Z\nsuperscript ∞          none                 → never ^∞ as a glyph; use ∫[a..∞]\nGreek sub\u002Fsuperscript  μ ν σ and most rest  → I_ν, ∂_μ, x^ν (Rules 3, 4, 8)\n```\n\nA code point exists, but no monospace font in the measured set ships it, so\ntreat it as absent:\n\n```\nsuperscript S          U+A7F1, Unicode 17.0 → A^S\nsuperscript C F Q      U+A7F2..U+A7F4       → A^C, A^F, A^Q\nsuperscript q          U+107A5, outside BMP → x^q\nGreek subscripts       ᵦ ᵧ ᵨ ᵩ ᵪ            → x_β, I_ρ, x_γ\nGreek superscripts     ᵝ ᵞ ᵟ ᵠ ᵡ            → x^β, x^φ\n```\n\nTwo Greek exceptions worth knowing, because the older wording here got them\nwrong. `ᶿ` (superscript θ, U+1DBF) renders as widely as the Latin blocks below\nand is a normal part of the portable set, so write `xᶿ`, not `x^θ`. And `ρ` does\nhave a subscript, `ᵨ` U+1D68; it is missing from most terminal fonts rather than\nfrom Unicode, which is why `I_ρ` stays the recommendation.\n\nMeasured coverage of the portable set: **17\u002F26** lowercase subscripts, **0\u002F26**\nsubscript capitals, and **19\u002F26** superscript capitals with a code point that\nsome monospace font ships. The `∞` gap is why big-operator bounds use a\nbracketed range rather than stacked scripts: `∫₀^∞` would render one bound as a\nglyph and the other as a caret in the same operator. When unsure, the bare `^` \u002F\n`_` form is always acceptable; a wrong or missing glyph is not.\n\nIf your terminal font does carry the Greek scripts or the rarer capitals, see\n`references\u002Fextended-glyphs.md` for the opt-in set.\n\n## Font coverage\n\nUnicode says a code point exists. Whether a terminal draws it is a property of\nthe font. These counts come from reading the `cmap` table of twelve monospace\nfonts: the six most widely installed programming fonts (JetBrains Mono, Fira\nCode, Cascadia Code, Hack, Source Code Pro, IBM Plex Mono) and six system fonts\n(DejaVu Sans Mono, Liberation Mono, Ubuntu Mono, Ubuntu Sans Mono, Noto Mono,\nCousine). `scripts\u002Fmeasure-font-coverage.mjs` regenerates them and the test\nsuite asserts every number below against the result.\n\n| what | glyphs | fonts |\n|---|---|---|\n| core operators and relations | ∑ ∏ ∫ √ ∂ ∞ ± × ÷ · ≈ ≠ ≤ ≥ ¬ − ² ³ | 12\u002F12 |\n| Greek letters | α β γ δ θ λ μ π σ φ ω Γ Δ Θ Λ Σ Φ Ω | 11-12\u002F12 |\n| sub\u002Fsuperscript digits | ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ | 9-12\u002F12 |\n| arrows, single | → ← ↔ ↑ ↓ | 9\u002F12 |\n| set and logic symbols | ∈ ∉ ∪ ∩ ⊂ ⊆ ∧ ∨ ∀ ∃ ∅ ∇ | 4-8\u002F12 |\n| superscript letters, lowercase | ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ʲ ᵏ ˡ ᵐ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ | 4-5\u002F12 |\n| superscript i and n | ⁱ ⁿ | 2-7\u002F12 |\n| superscript theta | ᶿ | 4\u002F12 |\n| superscript signs and parens | ⁺ ⁻ ⁼ ⁽ ⁾ | 3-4\u002F12 |\n| subscript signs and parens | ₊ ₋ ₌ ₍ ₎ | 3-4\u002F12 |\n| superscript letters, capital | ᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ⱽ ᵂ | 1-3\u002F12 |\n| subscript letters, wider half | ₐ ₑ ᵢ ₒ ᵣ ᵤ ᵥ ₓ | 3\u002F12 |\n| subscript letters, thin half | ₕ ₖ ₗ ₘ ₙ ₚ ₛ ₜ ⱼ | 1\u002F12 |\n| number sets | ℕ ℤ ℚ ℝ ℂ ℙ ℍ | 3\u002F12 |\n| arrows, double | ⇒ ⇐ ⇔ ⇑ ⇓ | 4\u002F12 |\n| multiline brackets | ⎡ ⎣ ⎤ ⎦ ⎧ ⎩ ⟨ ⟩ | 4\u002F12 |\n\nRead that table as a ranking, not a verdict. A glyph the primary font lacks is\nusually supplied by fontconfig from another installed font, so it still draws,\nbut at a different advance width, which is what breaks column alignment in\naligned derivations and matrices. Only a glyph no installed font carries shows\nas tofu.\n\nTwo consequences worth acting on:\n\n- The operators, Greek letters and digit scripts survive everywhere. Prefer them,\n  and they carry most of the load in ordinary output.\n- The letter sub\u002Fsuperscripts are DejaVu-class. JetBrains Mono, Fira Code, Hack\n  and IBM Plex Mono ship none of them, so `xᵢ` and `xᵀ` arrive through fallback\n  there. That is the reason Rules 3 and 4 keep `x_i` and `x^T` as first-class\n  alternatives rather than last resorts.\n- `ⱼ` and `ⱽ` are the two thinnest glyphs in the portable blocks, carried by one\n  font each. They sit in the ranges above rather than in *Glyphs to avoid*\n  because their fallback, `x_j` and `A^V`, is already what Rules 3 and 4 say to\n  write when in doubt.\n\n### Common LaTeX → Unicode\n\n| LaTeX | Unicode | LaTeX | Unicode | LaTeX | Unicode |\n|---|---|---|---|---|---|\n| `\\alpha` | α | `\\sum` | ∑ | `\\in` | ∈ |\n| `\\beta` | β | `\\prod` | ∏ | `\\notin` | ∉ |\n| `\\gamma` | γ | `\\int` | ∫ | `\\subset` | ⊂ |\n| `\\delta` | δ | `\\partial` | ∂ | `\\subseteq` | ⊆ |\n| `\\epsilon` | ε | `\\nabla` | ∇ | `\\cup` | ∪ |\n| `\\theta` | θ | `\\infty` | ∞ | `\\cap` | ∩ |\n| `\\lambda` | λ | `\\emptyset` | ∅ | `\\setminus` | `\\` |\n| `\\mu` | μ | `\\leq` | ≤ | `\\wedge` | ∧ |\n| `\\pi` | π | `\\geq` | ≥ | `\\vee` | ∨ |\n| `\\sigma` | σ | `\\neq` | ≠ | `\\neg` | ¬ |\n| `\\phi` | φ | `\\approx` | ≈ | `\\Rightarrow` | ⇒ |\n| `\\omega` | ω | `\\equiv` | ≡ | `\\Leftrightarrow` | ⇔ |\n| `\\sqrt` | √ | `\\propto` | ∝ | `\\forall` | ∀ |\n| `\\pm` | ± | `\\cdot` | · | `\\exists` | ∃ |\n| `\\times` | × | `\\to` | → | `\\mathbb{R}` | ℝ |\n\n## Style rules\n\n### Rule 1 — Inline math: Unicode, no delimiters\n\nBad:  `The filter $f(T; m) = \\{(s,r) : n_{s,r} \\geq m\\}$ produces the cohort.`\nGood: `The filter f(T; m) = { (s,r) : n_{s,r} ≥ m } produces the cohort.`\n\n### Rule 2 — Block math: own line(s), still no delimiters\n\nBad:\n\n    $$|Q| \u002F |T| = 5238 \u002F 31075 \\approx 16.9\\%$$\n\nGood:\n\n    |Q| \u002F |T|  =  5 238 \u002F 31 075  ≈  16.9 %\n\n### Rule 3 — Subscripts\n\n- Single Unicode-renderable index: prefer the glyph (x₁, x₂, xᵢ, xⱼ, xₙ).\n  `ⱼ` is the thinnest-supported glyph in this block, so `x_j` is equally fine.\n- Single index with no subscript glyph: use a bare underscore — `I_ν`, `∂_μ`,\n  and `x_c` \u002F `x_b` \u002F `x_d`, which have no subscript form at all. Check the\n  gap list under *Sub\u002Fsuperscript glyph blocks* before reaching for a glyph.\n- Multi-character or grouped subscript: use `_{...}` syntax — the underscore\n  reads unambiguously as a subscript and stays more legible than bracket-style\n  indexing:\n  - `n_{s,r}` ← (s,r) has no Unicode subscript form\n  - `x_max`, `σ_obs` ← multi-letter\n- Never mix: don't write `x_₁` or `x_{1}` when `x₁` works.\n\n### Rule 4 — Superscripts (powers)\n\n- Simple \u002F Unicode-mappable exponent: prefer the glyph — x², x³, xⁿ, eˣ, A⁻¹,\n  and the transpose xᵀ \u002F vᵀ.\n- Single exponent with no glyph: use a bare caret — `x^ν`, `(z\u002F2)^a`, and\n  `A^X` \u002F `A^Y` \u002F `A^Z`, which have no capital superscript code point, plus\n  `A^S`, which has one (U+A7F1, Unicode 17.0) that no terminal font ships.\n  `Aᵀ` is fine, and so is `xᶿ`; see the gap list under *Sub\u002Fsuperscript glyph\n  blocks*.\n- Multi-character or expression exponent: use **caret + parentheses**, never\n  `^{...}` — `x^(k+1)`, `x^(i)`, `e^(iπ)`. A bare `x^{T}` \u002F `x^{(i)}` leaks\n  LaTeX source; write `xᵀ` (single glyph) or `x^(i)` (parenthesized).\n\n### Rule 5 — Big operators with selectors\n\nUnicode operator + a **bracketed inline selector** — never `_{...}^{...}`. Use\n`..` for a numeric\u002Fexpression range, `∈` for set membership, `→` for a limit\ntarget, and an equation\u002Fcondition when that is the natural selector:\n\n```\n∑[i=1..n] aᵢ            ∏[k ∈ K] pₖ            ∫[a..b] f(x) dx\n∫[−∞..∞] e^(−x²) dx     ⋃[i=1..n] Aᵢ           lim[x→0] f(x)\n∑[m₁+...+mₙ=N] c_m      ∫[C] f(z) dz           Res[z=z₀] f(z)\n```\n\nWrite a contour integral as `∫[C]`. The dedicated contour glyph is in no\nmonospace font measured here, and the bracketed selector already says the path\nis C. See *Glyphs to avoid*.\n\nUse ordinary letters for named functions: `Γ`, `B`, `erf`, `det`, `tr`, `Re`,\n`Im`, `exp`, `log`, `sin`, `cos`, `argmin`. Do not emit `\\operatorname`.\nFor a left-scripted named function, use available glyphs such as `₂F₁(a,b;c;z)`;\nwhen an index cannot be expressed as one glyph, use readable ASCII notation such\nas `_{p}F_q` rather than inventing a substitute.\n\n### Rule 6 — Fractions\n\n- Inline: `a\u002Fb`, `(a + b) \u002F (c + d)`\n- Block (only when it aids clarity):\n\n```\n       a + b\n   ─────────────\n     c² + d²\n```\n\n### Rule 7 — Matrices \u002F vectors\n\nASCII art with corner glyphs:\n\n```\nA  =  ⎡ a  b ⎤        v  =  ( v₁ , v₂ , v₃ )ᵀ\n      ⎣ c  d ⎦\n```\n\nDeclare variable types in prose instead of faking bold or italic: “Here z and n\nare vectors, and Ω is a matrix.”\n\n### Rule 8 — Tensor indices\n\nTensor indices are indices, not powers. Keep non-mappable tensor indices in\nbare ASCII form and group only when the index has multiple characters:\n\n```\nR^ρ_{σμν}        ∂_μ        Γ^ρ_{νσ}\n```\n\n### Rule 9 — Piecewise forms and aligned derivations\n\nUse the box-drawing brace glyphs for a short piecewise definition; keep equals\nsigns in the same column for a derivation. If those brace glyphs are absent in a\nreader's font, use a semicolon-separated sentence instead.\n\n```\nf(x) =\n  ⎧ x²    if x ≥ 0\n  ⎩ −x    if x \u003C 0\n\naₙ = bₙ + cₙ\n    = dₙ\n```\n\n### Rule 10 — Sets and conditions\n\nPrefer set-builder with `|` or `:`:\n\n```\nQ  =  { (s,r) ∈ T  :  n_{s,r} ≥ 18  ∧  p⁰_{s,r} \u003C 0.9 }\n```\n\n### Rule 11 — Numbers\n\n- Thousands: thin space (` `, U+2009) — `5 238`, `34 601` — not commas (locale ambiguous).\n- Decimal: dot — `16.9 %`.\n- Percent: space before `%` — `16.9 %` (typographic convention; readable).\n- Approximations: ≈, ∼. Order of magnitude: ~. Confidence: `x = 5.2 ± 0.3`.\n\n### Rule 12 — When Unicode hurts, fall back explicitly\n\nIf a glyph chain becomes denser than the LaTeX it replaces, switch to readable ASCII pseudo-LaTeX and annotate it. Example:\n\n```\nH(p) = − ∑[x ∈ X] p(x) · log p(x)        (∑ = sum over the support X)\n```\n\nThe reader's comprehension is the only metric. Prefer common, well-supported\nglyphs. Do not use combining marks or obscure modifier letters just to force a\nsuper- or subscript; use readable bare `^x` \u002F `_x` notation instead. Choose\nwhichever form is clearest, then stay consistent within a passage.\n\n### Rule 13 — Plain letters for variables; never style with math-alphanumeric codepoints\n\nWrite variable names and identifiers with ordinary letters (x, A, Var, RSS). Do **not** reach into the Unicode *Mathematical Alphanumeric Symbols* block (U+1D400 onward: bold, italic, script and styled double-struck letters) to *style* ordinary letters. Those code points garble on copy\u002Fpaste, terminal search, and screen readers — the same failure Claude Code hit in issue #61558. They are also the least renderable characters in the block table: see *Glyphs to avoid*.\n\nException: the standard blackboard-bold number sets are correct notation rather than styling, and they live in the Letterlike Symbols block, which terminal fonts do carry. Keep using ℕ ℤ ℚ ℝ ℂ ℙ ℍ.\n\nThe exception stops there. Double-struck F and double-struck E sit in the Mathematical Alphanumeric Symbols block this rule bans, and they measure worse than anything else the skill emitted before: one monospace font out of twelve. Write a general field as `F` and an expectation as `E[X]`. Everything the rule says about copy, search and screen readers applies to them too.\n\n## Quick reference — common forms\n\n```\nMean \u002F std        μ ± σ                        x̄ ± s\nProbability       P(A | B)                     ℙ(A ∩ B) = ℙ(A) · ℙ(B | A)\nExpectation       E[X] = ∫ x · f(x) dx\nVariance          Var(X) = E[X²] − E[X]²\nGradient          ∇f = ( ∂f\u002F∂x₁ , ... , ∂f\u002F∂xₙ )\nNorm              ‖x‖₂ = √(∑[i=1..n] xᵢ²)\nBig-O             T(n) = O(n log n)\nLimit             lim[n → ∞] aₙ = L\nSum bounds        ∑[i=1..n] i  =  n(n+1)\u002F2\nQuantile          q_α = inf{ x : F(x) ≥ α }\n```\n\n## Golden corpus — difficult terminal-native forms\n\nThese examples are deliberately chosen to exercise non-mappable indices,\nconstrained sums, tensors, special functions, contours, and multiline output.\nThey are normalized terminal forms of standard formulas (including DLMF\n§10.32.E2, §15.6.E1, §19.19.E1, and §21.2.E1).\n\n```\nI_ν(z) = (z\u002F2)^ν \u002F (√π Γ(ν+½)) ∫[0..π] e^(±z cos θ)(sin θ)^(2ν) dθ\n\nF(a,b;c;z) = 1 \u002F (Γ(b)Γ(c−b)) ∫[0..1] t^(b−1)(1−t)^(c−b−1) \u002F (1−zt)^a dt\n\nT_N(b,z) = ∑[m₁+...+mₙ=N] ((b₁)_{m₁} ··· (bₙ)_{mₙ}) \u002F (m₁! ··· mₙ!) · z₁^(m₁) ··· zₙ^(mₙ)\n\nθ(z | Ω) = ∑[n ∈ ℤ^g] exp(2π i(½ n · Ω · n + n · z))\n  Here z and n are vectors, and Ω is a matrix.\n\nR^ρ_{σμν} = ∂_μ Γ^ρ_{νσ} − ∂_ν Γ^ρ_{μσ} + Γ^ρ_{μλ} Γ^λ_{νσ} − Γ^ρ_{νλ} Γ^λ_{μσ}\n\nf^(n)(z₀) = n! \u002F (2π i) ∫[C] f(z) \u002F (z−z₀)^(n+1) dz\n\n∂u\u002F∂t + (u · ∇)u = −∇p + νΔu + f,  ∇·u = 0\n\np(x) = exp(−½ (x−μ)ᵀΣ⁻¹(x−μ)) \u002F √((2π)ᵈ det Σ)\n\nF(ω) = ∫[−∞..∞] f(t)e^(−iωt) dt\n\nf(x) =\n  ⎧ x²    if x ≥ 0\n  ⎩ −x    if x \u003C 0\n```\n\n## Glyphs to avoid\n\nEvery glyph below has a code point and looks correct in a proportional editor.\nNone of them is carried by more than one of the twelve monospace fonts measured\nin *Font coverage*, so in a terminal each one either draws from a fallback at the\nwrong width or shows as tofu. Write the replacement instead. Counts are\n`fonts carrying the glyph \u002F fonts measured`.\n\n| avoid | code point | fonts | write instead |\n|---|---|---|---|\n| ∮ | U+222E | 0\u002F12 | `∫[C] f(z) dz` |\n| ⅆ | U+2146 | 0\u002F12 | `d` |\n| ⅇ | U+2147 | 0\u002F12 | `e` |\n| ∖ | U+2216 | 0\u002F12 | `A \\ B` |\n| ℵ | U+2135 | 0\u002F12 | `aleph_0` |\n| ℶ | U+2136 | 0\u002F12 | `beth_0` |\n| ⋘ | U+22D8 | 0\u002F12 | `\u003C\u003C` |\n| ⋙ | U+22D9 | 0\u002F12 | `>>` |\n| ⨁ | U+2A01 | 0\u002F12 | `⊕[i=1..n]` |\n| ⨂ | U+2A02 | 0\u002F12 | `⊗[i=1..n]` |\n| 〈 | U+3008 | 0\u002F12 | `⟨` (U+3008 is a full-width CJK bracket) |\n| 〉 | U+3009 | 0\u002F12 | `⟩` |\n| ≪ | U+226A | 1\u002F12 | `\u003C\u003C` |\n| ≫ | U+226B | 1\u002F12 | `>>` |\n| ⊨ | U+22A8 | 1\u002F12 | `\\|=` |\n| ⊻ | U+22BB | 1\u002F12 | `xor`, or `⊕` in a boolean-ring context |\n| ⊼ | U+22BC | 1\u002F12 | `nand` |\n| ⊽ | U+22BD | 1\u002F12 | `nor` |\n| ⟸ | U+27F8 | 1\u002F12 | `⇐` |\n| ⟹ | U+27F9 | 1\u002F12 | `⇒` |\n| ⟺ | U+27FA | 1\u002F12 | `⇔` |\n| ⨅ | U+2A05 | 1\u002F12 | `⊓[i=1..n]` |\n| ⨆ | U+2A06 | 1\u002F12 | `⊔[i=1..n]` |\n| ? | U+1D53C | 1\u002F12 | `E[X]` (also banned by Rule 13) |\n| ? | U+1D53D | 1\u002F12 | `F` (also banned by Rule 13) |\n| ? | U+1D538 | 1\u002F12 | `A`, or `ℕ ℤ ℚ ℝ ℂ` when a specific set is meant |\n\n## Anti-patterns — never emit these in the terminal (Claude Code \u002F Codex)\n\n```\n✗   $f(x) = \\sum_{i=1}^{n} x_i$\n✗   \\( a^2 + b^2 = c^2 \\)\n✗   $$\\int_0^\\infty e^{-x^2} dx = \\frac{\\sqrt{\\pi}}{2}$$\n✗   \\[ |Q|\u002F|T| \\approx 16.9\\% \\]\n✗   ∑_{i=1}^{n}  or  ∫_a^b  or  x^{T}   (stacked bounds \u002F brace exponent leak source even without $…$ — write ∑[i=1..n], ∫[a..b], xᵀ)\n✗   Let ??? = …   or   matrix ? = …   (math-alphanumeric styling; garbles on copy\u002Fsearch — write Var, A)\n```\n\nIf asked to produce raw LaTeX (e.g. for a `.tex` file or a KaTeX-rendering tool downstream), do so — and call it out explicitly: *\"Raw LaTeX as requested; this will not render in the terminal.\"*\n",{},"main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fvladimirrott\u002Fclaude-math\u002Fskills\u002Fmath-unicode",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":7,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill math-unicode",{"tool":42,"command":43},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill math-unicode",{"tool":45,"command":46},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill math-unicode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvladimirrott\u002Fclaude-math\u002Fskills\u002Fmath-unicode\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fextended-glyphs.md","REFERENCE","参考文档",3771,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvladimirrott\u002Fclaude-math\u002Fskills\u002Fmath-unicode\u002Freferences\u002Fextended-glyphs.md",[57,67,75,83,91,99],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":61,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":66},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":61,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":66},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":61,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":66},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":61,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":66},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":61,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":66},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]