interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / skills / wolfram-math / SKILL.md

92 lines · 5911 bytes Raw Blame History Source

name: wolfram-math description: Mandatory mathematics through Wolfram. Use for any computation, derivation, identity, unit conversion, numeric constant, formula check or quantitative claim, and to set up or repair the Wolfram tools so an agent never computes by hand.


Mathematics goes through Wolfram. Mandatory.

Drake, 2026-10-25: every agent uses Wolfram for mathematics. Not mental arithmetic, not an ad-hoc script, not a spreadsheet cell, not a number produced by fluency.

What is in scope

Label each Omega math check math-check in the work item's receipt, including checks embedded in another task. Start at full independent review. Each agent opens the original artifact or user input, identifies the version, field or row, value and unit, and runs the calculation in Wolfram. For symbolic checks, capture the expression and assumptions. Keep the reviewer's answer sealed until comparison. Compare both the inputs and the reported result, including units and rounding. Record the first material difference and its resolution. An unavailable required source leaves the check unverified. Apply the standing independent-first rule to any change of review tier.

Exempt from recomputation: a number that is already measured and filed with its source (quote it with the source); integer bookkeeping such as line counts, byte sizes, exit codes, PIDs and commit shas. Read quoted values and identifiers from their original records. When a count becomes an operand, apply the full math check.

Tools in this harness

Mounted as MCP tools by the hosted service https://agenttools.wolfram.com/mcp:

ToolUse
mcp__wolfram_wolframlanguageevaluatorWolfram Language evaluation. Exact results: Integrate, Solve, Reduce, Series, D, Simplify, Quantity, UnitConvert, NIntegrate
mcp__wolfram_wolframalphaNatural-language facts, constants, identities and conversions when you do not want to write code
mcp__wolfram_wolframcontextSemantic retrieval for background on a term

Setup, so no human has to be involved

  1. Check the mount. ~/.omp/agent/mcp.json must contain:
    "wolfram": { "type": "http", "url": "https://agenttools.wolfram.com/mcp", "timeout": 120000 }
    

    This transport needs no token, no local Wolfram Engine and no npm package on the project machine. Verified 2026-10-25 by two calls: Integrate[x^2, {x, 0, 1}] returned 1/3, and sqrt(27)/2 returned (3 sqrt(3))/2.

  2. If the tools are missing, add that block and restart the session. MCP servers mount at session start, so a running session cannot pick up the new block. Do not install a local Wolfram Engine to satisfy this rule: the hosted endpoint is the supported path. Some hosts keep mcp.json read-only under an operator-managed store (the file is a symlink into a protected location). There, never unlink, replace or chmod it: ask the operator, and change it only through the host's documented update command. Adding or changing another MCP server (for example an issue tracker) follows the same route, and the Wolfram block must survive the change.
  3. If the endpoint demands credentials (another machine, a changed policy), the secret lives in the vault and is injected at launch, for example atlas-vault run CORTEX_TOKEN -- <server>. Never write a token into mcp.json, a repository file, a commit or a log.
  4. Verify before claiming the session is math-capable. Two calls: the evaluator above and one WolframAlpha fact. If either fails, the session is not math-capable: say so and stop. Do not compute by hand as a workaround.

How to use it

Failure modes

Why it is mandatory

Hand arithmetic and invented constants are the most common silent error in agent work, and they survive review because they look reasonable. A symbolic or numeric check is cheap, reproducible and quotable.