wolfram-debugging

wolfram-debugging is a skill for Claude Code, Codex from WolframResearch/AgentTools. It costs 115 tokens per session (3,925 once invoked), scanned A, original, MIT.

A collection of tested methods for finding problems in Wolfram Language programs, including errors, failed results, slow runs, crashes, and environment differences.

In plain words
What is it for?
Use it to investigate messages, stack traces, call logs, profiles, mocks, overrides, watchpoints, and other runtime problems.
Why use it?
It avoids relying on debugging methods that may silently fail in different Wolfram execution environments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate messages, stack traces, call logs, profiles, mocks, overrides, watchpoints, and other runtime problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wolframresearch/agenttools/wolfram-debugging
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.

Any agent
npx skills add WolframResearch/AgentTools --skill wolfram-debugging
Clone the repo
git clone --depth 1 https://github.com/WolframResearch/AgentTools

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 wolfram-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/wolframresearch/agenttools/wolfram-debugging/github.svg)](https://agentmods.dev/skills/wolframresearch/agenttools/wolfram-debugging)
Your own site
<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.

agentmods 80×15 button for wolfram-debugging

Your own site · 80×15
<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>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.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

Measured 15d ago against content hash 370d7fb86ce2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

AgentSkills/Skills/wolfram-debugging/SKILL.md · 225 lines

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.wl prints only Print output; -code '...' drops string quotes (print ToString[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)

Read the full file on GitHub · 225 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. 15d ago First seen · 225 lines · 115 tokens per session scan A 370d7fb86ce2

Subscribe to this mod's changes

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.

Related

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…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

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.

open-metadata/OpenMetadata · 37 tokens

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…

zebbern/claude-code-guide · 71 tokens

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…

asheshgoplani/agent-deck · 86 tokens

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…

adobe/skills · 112 tokens

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.

rmyndharis/antigravity-skills · 36 tokens