← 返回 Skills 市场
Tearsheet Generator
作者
Dan Repaci
· GitHub ↗
· v0.1.0
403
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tearsheet-generator
功能描述
Generate professional tearsheets with custom SVG visualizations using the QuantStats library. Creates performance reports with MAE analysis, leverage recomme...
安全使用建议
Things to check before installing or running:
- Inspect or run the code in a sandbox: review the included tearsheet_helpers.py and any referenced script (strategy_comparison_tearsheet) before executing. The helper module looks benign, but you should verify there are no hidden network calls in other files.
- Ask the author to explain integrations: the SKILL.md references Nautilus Trader and Hyperliquid SDK but the skill declares no credentials or required binaries. If you expect those features, require the skill to explicitly declare the environment variables and binaries it needs.
- Remove or change hard-coded absolute paths: the README points to /Users/DanBot/Desktop/dev/Backtests which is a local dev path — the skill should accept relative or configurable paths instead of hard-coded ones.
- Limit agent permissions: because allowed-tools includes Bash/Read/Write/Edit/Glob, run the skill in an isolated environment (container/VM) or reduce allowed tools if possible, especially if you will provide real trading account configs.
- Do not run with real account credentials or live trading enabled: any integration that can apply leverage or call exchange SDKs should only be used with test accounts after you confirm what network calls the skill makes.
- Request missing details from the publisher: ask for (1) a clear list of external services the skill will call, (2) which env vars/credentials are required and why, and (3) a non-dev installation path or packaging instructions.
If you only need local report generation from CSVs and will run everything offline, the skill appears functionally coherent after fixing the absolute paths; if you plan to use verification or SDK features, require the author to make credentials and network calls explicit and auditable.
功能分析
Type: OpenClaw Skill
Name: tearsheet-generator
Version: 0.1.0
The skill is classified as suspicious due to critical vulnerabilities, primarily a hardcoded `sys.path.insert` in `commands/generate-tearsheet.md` (`/Users/DanBot/Desktop/dev/Backtests`). This path hijacking vulnerability could allow an attacker to execute arbitrary code if they control that specific local directory. Additionally, the use of user-controlled inputs like `strategy_name` in file paths (e.g., `f"{strategy_name}_comparison_metrics.json"` in `commands/verify-backtest.md`) without explicit sanitization creates a path traversal risk. While the skill's stated purpose is benign and there's no direct evidence of intentional malice (e.g., data exfiltration, backdoors), these severe vulnerabilities make it highly exploitable.
能力评估
Purpose & Capability
The name/description describe tearsheet generation and MAE-based leverage recommendations, which aligns with the included Python helpers. However the SKILL.md repeatedly references external integrations (Nautilus Trader, Hyperliquid SDK, Ray Tune, a local path /Users/DanBot/Desktop/dev/Backtests/backtesting/tearsheets/strategy_comparison_tearsheet.py) and a 'Nautilus Verified' workflow. Those integrations would normally require credentials and/or specific binaries - yet the skill declares no required env vars or binaries. Hard-coded absolute dev paths are unexpected for a distributable skill.
Instruction Scope
Instructions tell the agent to read arbitrary user-specified CSV/JSON files and to import/execute code from an absolute local path; they also instruct running verification with Nautilus Trader and applying leverage via SDKs. The skill's header allows Read/Write/Edit/Bash/Glob which would permit executing shell commands and reading/writing files anywhere the agent can access. There are no explicit limits or safeguards in the instructions about what files/paths or external systems to contact.
Install Mechanism
There is no install spec (instruction-only plus one helper module included). That lowers supply-chain risk. The included Python helper file contains no obfuscated code or obvious network calls. No remote downloads or extraction steps are present.
Credentials
The skill references external services (Nautilus Trader, Hyperliquid) and integration points that normally require API keys, SDK access, or local binaries, but the registry metadata lists no required environment variables, credentials, or config paths. This mismatch means either the integration will silently fail or the runtime may try to access local credentials or prompt the agent to obtain them—both are potential security concerns.
Persistence & Privilege
always:false (good). The skill allows Read/Write/Edit/Bash which lets it create files (tearsheets, JSON) and run commands; that is expected for a report generator but increases risk if the agent is allowed to run autonomously with those tools. The skill does not request persistent platform privileges or alter other skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tearsheet-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/tearsheet-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the tearsheet-generator skill.
- Generate professional HTML tearsheets with custom SVG visualizations using QuantStats.
- Includes MAE analysis, optimal leverage recommendations, and full trade lists.
- Supports both fixed and dynamic position analyses with comprehensive performance metrics.
- Produces copyable strategy configurations and buffer analysis for leverage safety.
- Outputs both a complete HTML report and JSON metric files for each run.
元数据
常见问题
Tearsheet Generator 是什么?
Generate professional tearsheets with custom SVG visualizations using the QuantStats library. Creates performance reports with MAE analysis, leverage recomme... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 403 次。
如何安装 Tearsheet Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tearsheet-generator」即可一键安装,无需额外配置。
Tearsheet Generator 是免费的吗?
是的,Tearsheet Generator 完全免费(开源免费),可自由下载、安装和使用。
Tearsheet Generator 支持哪些平台?
Tearsheet Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tearsheet Generator?
由 Dan Repaci(@ahuserious)开发并维护,当前版本 v0.1.0。
推荐 Skills