Back to catalog / Agent workflows
Verify a unit-aware engineering calculation with Wolfram
Use Wolfram Alpha to solve a defined conversion/equation while showing units and assumptions.
Goal
Use Wolfram Alpha to solve a defined conversion/equation while showing units and assumptions.
Steps
- Define wolfram_alpha_query, URL-encode the query, and limit parameter length. [source-anthropic-verify-unit-aware-engineering-calculation]
- Have Claude explain results, units, and assumptions without conflating them with raw output. [source-anthropic-verify-unit-aware-engineering-calculation]
- Cross-check a known case; mark unexplained units or conditions unresolved. [source-anthropic-verify-unit-aware-engineering-calculation]
How to verify
Recompute the source’s known example and check that Wolfram’s variables, equation, and unit conversion match the stated problem.
Troubleshooting
If units disagree, state input units and query in smaller steps; a qualified engineer must review safety-critical conclusions.
Permissions
Prerequisites
- Python, Anthropic API key, Wolfram AppID; use test problems, not professional advice.
Permissions
- Sends equations and input quantities to the Wolfram Alpha API and requires its key/quota; do not send restricted engineering data, and results are not certification or safety sign-off.
Limitations
Run the source on isolated test data, then check outputs and dependency versions before adapting it.
Pinned upstream source
- Repository
- anthropics/anthropic-cookbook
- File path
- third_party/WolframAlpha/using_llm_api.ipynb
- Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief