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 WolframResearch/AgentTools --skill wolfram-debugginggit clone --depth 1 https://github.com/WolframResearch/AgentToolsWrote 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/wolframresearch/agenttools/wolfram-debugging)<a href="https://agentmods.dev/skills/wolframresearch/agenttools/wolfram-debugging"><img src="https://agentmods.dev/badge/skills/wolframresearch/agenttools/wolfram-debugging/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/wolframresearch/agenttools/wolfram-debugging"><img src="https://agentmods.dev/badge/skills/wolframresearch/agenttools/wolfram-debugging.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.00115 | $0.03925 |
| Opus 5.5 | $0.00046 | $0.01570 |
| Sonnet 5.5 | $0.00023 | $0.00785 |
| Haiku 4.5 | $0.00012 | $0.00392 |
Grade A, and why
wolfram-debugging 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 15d 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 — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Wolfram Language Debugging
Verified techniques for finding out why Wolfram Language code misbehaves, checked with Wolfram 15.0 in the MCP
evaluator (both methods), wolframscript, wolfram -script and the cloud. Many standard techniques silently do nothing
in some of these environments, so read the ground rules first. Paths are relative to this skill directory.
Prerequisites
You need a Wolfram kernel. If you have neither of the following, read references/GetWolframEngine.md; to set up the
MCP server, read references/SetUpWolframMCPServer.md.
- MCP evaluator (preferred, for example
mcp__Wolfram__WolframLanguageEvaluator): a persistent kernel, so definitions made in one call can be inspected in the next. - wolframscript: a fresh kernel per run, needed for first-time effects (autoloading, package loading) and for Trace
where the MCP evaluator cannot run it.
-f file.wlprints onlyPrintoutput;-code '...'drops string quotes (printToString[expr, InputForm]). Always bound runs:timeout -s KILL 300 wolframscript -f file.wl < /dev/null.
Start here: where does the code run?
Module[{cl = StringRiffle[ToString /@ $CommandLine, " "]},
<|"Env" -> Which[
$EvaluationEnvironment === "Script", "wolframscript",
$EvaluationEnvironment === "WebEvaluation", "CloudEvaluate",
$EvaluationEnvironment === "WebAPI", "deployed API or remote MCP server",
StringContainsQ[cl, "ChatbookSandbox"], "MCP Local",
StringContainsQ[cl, "StartMCPServer"] || StringStartsQ[$Context, "Sessions`"], "MCP Session",
MemberQ[$CommandLine, "-script"], "wolfram -script",
True, $EvaluationEnvironment],
"TraceWorks" -> Trace[1 + 1] =!= {}, "Context" -> $Context, "TimeRemaining" -> Internal`TimeRemaining[]|>]
| MCP Local | MCP Session | wolframscript | cloud | |
|---|---|---|---|---|
Trace, TraceScan, On[sym] |
work | record nothing | work | record nothing |
| context of typed symbols | Sessions`<id>` |
Sessions`<id>` |
Global` |
Global` |
| state between calls | persists in a subkernel shared by all sessions | persists in the MCP server's own kernel | none | none |
$MessageList |
reset per input | never reset | per script | per call |
Print, Echo |
shown | shown | stdout | dropped (the remote MCP server shows Print only) |
RunProcess, LaunchKernels |
blocked (protected mode) | allowed | allowed | blocked |
| file writes | only below $TemporaryDirectory |
anywhere | anywhere | cloud files (remote MCP server: a throwaway directory) |
What ships with it
13 files 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.
- references/CloudAndHTTP.md 25 KB
- references/DefinitionsAndSource.md 29 KB
- references/Environments.md 30 KB
- references/HeadlessAndCrashes.md 30 KB
- references/HelperFunctions.md 41 KB
- references/MessagesAndStacks.md 31 KB
- references/OverridesAndWatchpoints.md 28 KB
- references/PackageLoading.md 24 KB
- references/ParallelAndAsync.md 24 KB
- references/Testing.md 28 KB
- references/TracingAndPerformance.md 25 KB
- references/UnevaluatedCalls.md 16 KB
- scripts/WolframDebugging.wl 257 KB
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.
- 15d ago First seen · 225 lines · 115 tokens per session scan A 370d7fb86ce2
wolfram-debugging is a skill published in the GitHub repository WolframResearch/AgentTools (96 stars, last pushed yesterday), licensed MIT. It adds 115 tokens to every session and 3,925 once invoked, about $0.0005 per session on Opus 5.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-10-10.
Other skills, from other repositories
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
systematic-debugging
Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.
log-error-digest
Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…
deck-retro
Run a fully local agent-deck retrospective over the user's own transcripts, Recall index and logs. Use when a user wants to find recurring failures or take their own finding from investigation through synthetic reproduction, a user-filed issue, a test-first fix and contributor PR handoff. Also use for weekly usage…
cwv-optimizer
Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…
incident-response-incident-response
Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.