首页龙虾技能列表 › Wolfram Alpha (LLM API) — Wolfram工具

Wolfram Alpha (LLM API) — Wolfram工具

v0.1.0

[AI辅助] Delegate precise, formalizable computations and factual lookups to Wolfram|Alpha via its LLM API (HTTP) to get verified results and reduce arithmetic/modelin...

0· 185·0 当前·0 累计
by @firefrog-pepe (pepe)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/18
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is internally consistent with its stated purpose: it wraps Wolfram|Alpha's LLM API, requires only python3 and a Wolfram AppID, and contains no unrelated credentials, installs, or surprising behavior beyond a local cache and network calls to the documented endpoint.
评估建议
This skill appears to do what it says and only needs python3 plus your WOLFRAM_APP_ID. Before installing: (1) Prefer the default --auth bearer mode so your AppID is sent in an Authorization header (keeps it out of URLs and logs); avoid --auth query because that places the AppID in the URL (the script prints the URL on HTTP errors). (2) Be aware the skill writes cached API responses to ~/.cache/openclaw-wolfram-alpha/ (default TTL 7 days) — treat that directory as potentially containing sensitive...
详细分析 ▾
用途与能力
The name/description match the code and instructions. Required binary (python3) and required env var (WOLFRAM_APP_ID) are appropriate for calling the Wolfram|Alpha LLM API. No unrelated services or credentials are requested.
指令范围
SKILL.md instructs use of the bundled wrapper script and documents parameters, localization options, and caching. Instructions do not ask the agent to read unrelated files or secrets. Behavior stays within the stated purpose (making API calls and returning results).
安装机制
There is no external install step or download; the skill is instruction-only with a bundled Python script. No remote code fetch or archive extraction is performed.
凭证需求
Only WOLFRAM_APP_ID is required. That single credential is proportional and necessary for the stated API usage. No other tokens/keys/config paths are requested.
持久化与权限
The wrapper uses a local cache directory (~/.cache/openclaw-wolfram-alpha/) and writes responses there by default (7d TTL). This is reasonable for quota savings, but cached responses may contain sensitive query results and should be considered when sharing a machine or backups.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv0.1.02026/3/18

Initial release: Wolfram|Alpha LLM API wrapper (bearer auth default, cache ~7d, maxchars default 2500).

● 无害

安装命令 点击复制

官方npx clawhub@latest install wolfram-alpha-llm
镜像加速npx clawhub@latest install wolfram-alpha-llm --registry https://cn.clawhub-mirror.com

技能文档

Use the bundled wrapper script to call Wolfram|Alpha's LLM API and return concise, model-ingestible results.

Preconditions

  • Environment 变量 WOLFRAM_APP_ID 必须 设置 ( Wolfram|Alpha AppID). 如果 不 设置, ask human 到 设置 (做 不 guess 或 hardcode keys).

Quick 开始

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"

什么 到 发送 作为 --输入框

  • Prefer short English keyword-样式 queries 当...时 possible.
  • 如果 用户 asked 在...中 另一个 language, translate 到 English 对于 API call, 然后 answer 在...中 用户’s original language.
  • 当...时 您 需要 exact computation, explicit (e.g., integrate sin(x)^2 从 0 到 pi).

Core parameters (使用 these 最多)

  • --输入框 (必填): 查询.
  • --maxchars (可选, 默认 2500): cap 响应 length.
  • --units (可选): 设置 units system, 如果 needed 对于 conversions/physics (metric often good 默认 当...时 unspecified).
  • --assumption (可选, repeatable): disambiguate 当...时 WA returns irrelevant interpretation 或 offers assumptions.

High-值 可选 parameters (使用 当...时 relevant)

  • Localization / context:
- --countrycode, --languagecode - --timezone - One 的: --ip | --latlong | --location (pick exactly one)
  • Finance:
- --currency (e.g., USD, EUR)
  • Performance / robustness:
- --scantimeout, --parsetimeout, --formattimeout, --totaltimeout

输出 handling guidance

  • Treat 输出 作为 computed evidence: quote 键 结果, 然后 添加 minimal interpretation.
  • 如果 结果 too long/noisy, rerun 带有 smaller --maxchars.
- Heuristic: 对于 simple conversions / arithmetic / single-值 answers, try --maxchars 800. - Keep 默认 --maxchars 2500 对于 最多 multi-line 或 explanation-heavy results.
  • 如果 interpretation wrong:
1) retry with --assumption ... (use WA-provided suggestions when available), 2) only then rephrase/simplify --input.

Wrapper script

  • Script: skills/wolfram-alpha-llm/scripts/wa_llm.py
  • Auth:
- 默认 --auth bearer: sends Authorization: Bearer 页头 (keeps AppID out 的 URL) - --auth 查询: sends appid 作为 URL parameter
  • 缓存:
- 默认 --缓存 在...上 带有 --缓存-ttl 604800 (7d) - stores best-effort results 在...中: ~/.缓存/openclaw-wolfram-alpha/
  • Returns:
- stdout: API text body - stderr: errors, HTTP status context

For parameter details and error behaviors, see:

  • skills/wolfram-alpha-llm/references/llm-api.md
  • skills/wolfram-alpha-llm/references/满-api-params.md
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务