Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sovereign-intelligence/blob/main/harness/skills/wolfram-math/SKILL.md # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `sovereign-intelligence / harness / skills / wolfram-math / SKILL.md` 80 lines ยท 4762 bytes Raw Blame History Rendered 1 --- 2 name: wolfram-math 3 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. 4 --- 5 6 # Mathematics goes through Wolfram. Mandatory. 7 8 Drake, 2026-10-25: every agent uses Wolfram for mathematics. Not mental arithmetic, not an ad-hoc script, 9 not a spreadsheet cell, not a number produced by fluency. 10 11 ## What is in scope 12 13 - Any computation, derivation, integral, series, solve, simplification, identity check, dimensional 14 analysis, unit conversion, statistical calculation, tolerance, expected value or numeric constant. 15 - Any number you are about to put in a report, receipt, PR body, gate, evidence file or user answer. 16 - Checking a formula that code implements against its symbolic form. 17 - The physics behind a visual or a claim, not only the arithmetic of the numbers already measured. 18 19 Not in scope: a number that is already measured and filed with its source (quote it with the source); 20 integer bookkeeping such as line counts, byte sizes, exit codes, PIDs and commit shas. 21 22 ## Tools in this harness 23 24 Mounted as MCP tools by the hosted service `https://agenttools.wolfram.com/mcp`: 25 26 | Tool | Use | 27 |---|---| 28 | `mcp__wolfram_wolframlanguageevaluator` | Wolfram Language evaluation. Exact results: `Integrate`, `Solve`, `Reduce`, `Series`, `D`, `Simplify`, `Quantity`, `UnitConvert`, `NIntegrate` | 29 | `mcp__wolfram_wolframalpha` | Natural-language facts, constants, identities and conversions when you do not want to write code | 30 | `mcp__wolfram_wolframcontext` | Semantic retrieval for background on a term | 31 32 ## Setup, so no human has to be involved 33 34 1. **Check the mount.** `~/.omp/agent/mcp.json` must contain: 35 36 ```json 37 "wolfram": { "type": "http", "url": "https://agenttools.wolfram.com/mcp", "timeout": 120000 } 38 ``` 39 40 This transport needs **no token, no local Wolfram Engine and no npm package** on the project machine. 41 Verified 2026-10-25 by two calls: `Integrate[x^2, {x, 0, 1}]` returned `1/3`, and `sqrt(27)/2` 42 returned `(3 sqrt(3))/2`. 43 2. **If the tools are missing**, add that block and restart the session. MCP servers mount at session 44 start, so a running session cannot pick up the new block. Do not install a local Wolfram Engine to 45 satisfy this rule: the hosted endpoint is the supported path. Some hosts keep `mcp.json` read-only 46 under an operator-managed store (the file is a symlink into a protected location). There, never 47 unlink, replace or chmod it: ask the operator, and change it only through the host's documented 48 update command. Adding or changing another MCP server (for example an issue tracker) follows the 49 same route, and the Wolfram block must survive the change. 50 3. **If the endpoint demands credentials** (another machine, a changed policy), the secret lives in the 51 vault and is injected at launch, for example `atlas-vault run CORTEX_TOKEN -- `. Never write 52 a token into `mcp.json`, a repository file, a commit or a log. 53 4. **Verify before claiming the session is math-capable.** Two calls: the evaluator above and one 54 WolframAlpha fact. If either fails, the session is not math-capable: say so and stop. Do not compute 55 by hand as a workaround. 56 57 ## How to use it 58 59 - One call per question, and quote the query with the result where the work lives: 60 `WolframLanguageEvaluator: Integrate[x^2, {x, 0, 1}] -> 1/3`. 61 - Prefer exact results. Take `N[...]` only when a decimal is what the reader needs, and say which form 62 you used. `Quantity` and `UnitConvert` carry the unit into the text; a bare number without a unit is 63 not a result. 64 - When Wolfram contradicts the code, the code is wrong until shown otherwise. Record both and open the 65 investigation instead of picking the friendlier number. 66 - Wolfram is the calculator, not a receipt: the project's MODELED versus MEASURED labels are unchanged, 67 and a Wolfram result does not show that a modelled mechanism runs on the hardware. 68 69 ## Failure modes 70 71 - **Tools absent**: the session is not math-capable. Report it. Never improvise arithmetic. 72 - **401 or 403**: credential wiring. Fix or report it; it is not a reason to skip the mathematics. 73 - **Timeout**: retry once with a smaller query; if it still fails, report the exact query and error. 74 - **A result you cannot interpret**: ask again in explicit form (`Solve`, `Reduce`, `Assuming`) and 75 report the ambiguity rather than rounding it away. 76 77 ## Why it is mandatory 78 79 Hand arithmetic and invented constants are the most common silent error in agent work, and they survive 80 review because they look reasonable. A symbolic or numeric check is cheap, reproducible and quotable.