← 返回 Skills 市场
Medici Investments — Position Sizer
作者
RunByDaVinci
· GitHub ↗
· v0.1.0
· MIT-0
97
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install medici-investments-position-sizer-dv
功能描述
Calculate risk-based position sizes for long stock trades. Use when user asks about position sizing, how many shares to buy, risk per trade, Kelly criterion,...
安全使用建议
This package mostly looks like a local, standard-library Python position-sizer (benign in intent), but the documentation and SKILL.md examples are inconsistent with the shipped code. Before installing or running automatically: 1) Verify which CLI flags the script actually accepts (the README/tests use --account-size/--entry/--stop while SKILL.md shows different names and a different path). 2) If you expect automatic sector lookups or portfolio checks, inspect the full script to confirm a safe, documented data source (there is no visible network or API code). 3) Run the included unit tests locally (pytest) to confirm behavior. 4) If you plan to give the skill access to your portfolio data or expect it to call external APIs, require explicit documentation of which endpoints and credentials it will use — currently none are declared. The inconsistencies suggest sloppy packaging rather than overt malice, but clarify/repair the docs and confirm there are no hidden network calls before enabling autonomous use.
功能分析
Type: OpenClaw Skill
Name: medici-investments-position-sizer-dv
Version: 0.1.0
The 'medici-investments-position-sizer' skill is a legitimate financial tool designed to calculate stock position sizes using standard risk management models like Fixed Fractional, ATR, and Kelly Criterion. The core logic in `scripts/position_sizer.py` is well-structured, uses only the Python standard library, and includes thorough input validation and unit tests. There is no evidence of data exfiltration, malicious execution, or prompt injection; the script's only side effect is writing calculation reports to a local directory as described in the documentation.
能力评估
Purpose & Capability
The skill's name/description (position sizing for long stock trades) matches the included Python implementation and tests: fixed-fractional, ATR, and Kelly models are implemented and unit-tested. However, some doc examples use different parameter names (SKILL.md uses --portfolio-value, README/tests use --account-size / --entry / --stop), indicating documentation drift that will confuse users and automated invocation.
Instruction Scope
SKILL.md claims the script will 'fetch the sector for the ticker' and 'check the current portfolio's allocation' if --ticker is provided. The visible code and tests show no network calls, no external API integration, and no mechanism for reading a portfolio file or account holdings; there are no required env vars or config paths. That sector-fetch/portfolio-check behavior is therefore not implemented (or not visible in the provided files) — an important mismatch between instructions and actual runtime behavior.
Install Mechanism
This is instruction-only / source-included: there is no install specification, no external downloads, and the Python code uses only the standard library. That is low-risk from an install perspective.
Credentials
The skill declares no required environment variables or credentials and the code does not reference secrets or external tokens in the visible files. The requested permissions are proportionate to the stated purpose.
Persistence & Privilege
Skill is not forced-always, does not request persistence or elevated privileges, and there is no evidence it modifies other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install medici-investments-position-sizer-dv - 安装完成后,直接呼叫该 Skill 的名称或使用
/medici-investments-position-sizer-dv触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
常见问题
Medici Investments — Position Sizer 是什么?
Calculate risk-based position sizes for long stock trades. Use when user asks about position sizing, how many shares to buy, risk per trade, Kelly criterion,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。
如何安装 Medici Investments — Position Sizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install medici-investments-position-sizer-dv」即可一键安装,无需额外配置。
Medici Investments — Position Sizer 是免费的吗?
是的,Medici Investments — Position Sizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Medici Investments — Position Sizer 支持哪些平台?
Medici Investments — Position Sizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Medici Investments — Position Sizer?
由 RunByDaVinci(@clawdiri-ai)开发并维护,当前版本 v0.1.0。
推荐 Skills