/install wolfram-alpha-llm
Wolfram|Alpha (LLM API) skill
Use the bundled wrapper script to call Wolfram|Alpha's LLM API and return concise, model-ingestible results.
Preconditions
- Environment variable
WOLFRAM_APP_IDmust be set (your Wolfram|Alpha AppID). If it is not set, ask your human to set it (do not guess or hardcode keys).
Quick start
Run:
# default: cache ON (7d), auth via bearer header (keeps AppID out of URL)
python3 skills/wolfram-alpha-llm/scripts/wa_llm.py \
--input "solve x^2 + 3x + 2 = 0"
What to send as --input
- Prefer short English keyword-style queries when possible.
- If the user asked in another language, translate to English for the API call, then answer in the user’s original language.
- When you need an exact computation, be explicit (e.g.,
integrate sin(x)^2 from 0 to pi).
Core parameters (use these most)
--input(required): the query.--maxchars(optional, default 2500): cap response length.--units(optional): set units system, if needed for conversions/physics (metricis often a good default when unspecified).--assumption(optional, repeatable): disambiguate when WA returns irrelevant interpretation or offers assumptions.
High-value optional parameters (use when relevant)
- Localization / context:
--countrycode,--languagecode--timezone- One of:
--ip|--latlong|--location(pick exactly one)
- Finance:
--currency(e.g.,USD,EUR)
- Performance / robustness:
--scantimeout,--parsetimeout,--formattimeout,--totaltimeout
Output handling guidance
- Treat output as computed evidence: quote the key result, then add minimal interpretation.
- If the result is too long/noisy, rerun with a smaller
--maxchars.- Heuristic: for simple conversions / arithmetic / single-value answers, try
--maxchars 800. - Keep default
--maxchars 2500for most multi-line or explanation-heavy results.
- Heuristic: for simple conversions / arithmetic / single-value answers, try
- If the interpretation is wrong:
- retry with
--assumption ...(use WA-provided suggestions when available), - only then rephrase/simplify
--input.
- retry with
Wrapper script
- Script:
skills/wolfram-alpha-llm/scripts/wa_llm.py - Auth:
- default
--auth bearer: sendsAuthorization: Bearer \x3CAppID>header (keeps AppID out of the URL) --auth query: sendsappidas URL parameter
- default
- Cache:
- default
--cache onwith--cache-ttl 604800(7d) - stores best-effort results in:
~/.cache/openclaw-wolfram-alpha/
- default
- Returns:
- stdout: API text body
- stderr: errors, HTTP status context
For parameter details and error behaviors, see:
skills/wolfram-alpha-llm/references/llm-api.mdskills/wolfram-alpha-llm/references/full-api-params.md
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wolfram-alpha-llm - After installation, invoke the skill by name or use
/wolfram-alpha-llm - Provide required inputs per the skill's parameter spec and get structured output
What is Wolfram Alpha (LLM API)?
Delegate precise, formalizable computations and factual lookups to Wolfram|Alpha via its LLM API (HTTP) to get verified results and reduce arithmetic/modelin... It is an AI Agent Skill for Claude Code / OpenClaw, with 228 downloads so far.
How do I install Wolfram Alpha (LLM API)?
Run "/install wolfram-alpha-llm" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Wolfram Alpha (LLM API) free?
Yes, Wolfram Alpha (LLM API) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Wolfram Alpha (LLM API) support?
Wolfram Alpha (LLM API) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Wolfram Alpha (LLM API)?
It is built and maintained by pepe (@firefrog-pepe); the current version is v0.1.0.