← 返回 Skills 市场
xueyetianya

Option Calculator

作者 bytesagain4 · GitHub ↗ · v2.4.0 · MIT-0
cross-platform ⚠ suspicious
625
总下载
1
收藏
6
当前安装
17
版本数
在 OpenClaw 中安装
/install option-calculator
功能描述
Price options, compute Greeks, and plot P&L diagrams with exercise analysis. Use when pricing options, calculating Greeks, visualizing profit-loss curves.
安全使用建议
This skill appears to do what it says: local Black‑Scholes calculations using python3 and a bundled shell script. Before installing or running it, check that you are comfortable with the script writing to ~/.option-calculator (it may store usage data). Confirm python3 is available in your environment. If you handle any sensitive data (e.g., proprietary trade data), inspect the full scripts/script.sh file and consider running it in an isolated environment first; there are no network calls or credential requests in the included code, so risk is limited to local file writes and execution of the bundled script.
功能分析
Type: OpenClaw Skill Name: option-calculator Version: 2.4.0 The skill contains a significant security vulnerability in 'scripts/script.sh' where unsanitized shell arguments are directly injected into Python heredocs across multiple functions (e.g., 'bs_price', 'bs_greeks', 'bs_iv'). This allows for arbitrary Python code execution if a user or agent provides crafted input. While the tool's stated purpose of option pricing is consistent with its logic and the documentation in 'SKILL.md' is benign, the lack of input validation makes it highly risky.
能力评估
Purpose & Capability
Name/description match the implementation. The provided script implements pricing, Greeks, IV solver, payoff tables, chain, P/L, etc., which are exactly the advertised features. The code relies only on python3 and standard math; no unrelated capabilities or service integrations are requested.
Instruction Scope
SKILL.md and the script instruct the agent to run a local CLI-style script that executes inline Python to compute results. The script creates a data directory ($HOME/.option-calculator) for persistence; otherwise it does not read other system files or access environment variables beyond HOME. This is expected for a CLI tool but worth noting because inputs may be written to disk.
Install Mechanism
No install spec is provided (instruction-only), which is low-risk. There are no downloads or external package installs referenced in the repository. The script is included in the skill bundle and will run locally; it does not pull code from remote URLs.
Credentials
The skill declares no required environment variables or credentials. The only environment usage is HOME to create ~/.option-calculator. No secrets, API keys, or unrelated credentials are requested.
Persistence & Privilege
always:false (default) and the skill does not request elevated privileges. It does persist data under $HOME/.option-calculator; that is a reasonable, limited persistence scope but users should be aware inputs or history may be stored there.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install option-calculator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /option-calculator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.4.0
v2.4.0: Real Black-Scholes pricing with greeks, implied volatility, payoff tables, option chains.
v2.3.8
update
v2.3.7
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.6
yaml-fix+quality
v2.3.5
yaml-fix+quality
v2.3.4
Quality upgrade
v2.3.3
Quality upgrade: custom functionality
v2.3.2
Standards compliance: unique content, no template text
v2.3.1
Quality improvement: better docs, examples, cleaner text
v2.3.0
Quality fixes: aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v1.0.2
Runtime fix
v1.0.1
Add runtime declaration + security compliance
v2.1.0
Full script rewrite: real calculator tool
v2.0.0
Complete rewrite: real functionality replacing prompt templates
v0.0.1
p
v1.0.0
Initial release of Option Calculator. - Provides option pricing, Greeks calculation, strategy analysis, payoff charts, implied volatility, and exercise analysis. - Supports commands: price, greeks, strategy, payoff, iv, exercise. - Includes recommended workflow and bilingual documentation.
元数据
Slug option-calculator
版本 2.4.0
许可证 MIT-0
累计安装 6
当前安装数 6
历史版本数 17
常见问题

Option Calculator 是什么?

Price options, compute Greeks, and plot P&L diagrams with exercise analysis. Use when pricing options, calculating Greeks, visualizing profit-loss curves. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 625 次。

如何安装 Option Calculator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install option-calculator」即可一键安装,无需额外配置。

Option Calculator 是免费的吗?

是的,Option Calculator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Option Calculator 支持哪些平台?

Option Calculator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Option Calculator?

由 bytesagain4(@xueyetianya)开发并维护,当前版本 v2.4.0。

💬 留言讨论