About fee-optimizer
fee-optimizer is a skill that provides execution choices and order parameter guidance for trading skills and other callers. It distinguishes planned trades from emergency or time-sensitive execution and includes a script that returns order specifications by context.
Key features
- 01Distinguishes when to use ALO or MARKET
- 02Provides entry, take-profit, and stop parameters
- 03Covers order choices for emergency exits
- 04Generates order specs for a given context
Use cases
- 01Choosing execution for a planned entry
- 02Setting take-profit or stop order parameters
- 03Selecting order types for emergency or time-sensitive trades
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ senpi-ai/ senpi-skills --skill fee-optimizerAfter installing, type/fee-optimizerin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/.gitkeepalo-guide.mdorder-params.mdscripts/.gitkeepget_order_spec.pyDetails
From the project READMEFee Optimizer
Use this skill when the user or another skill needs: (1) when to use fee-optimized (ALO) vs aggressive (MARKET) execution, or (2) standard order parameters for entry, exit, take-profit, or stop/emergency.
When to use ALO: Planned entries, take-profit exits, scaling in, margin edits. Use MARKET for stop losses, emergency exits, and time-sensitive momentum entries.
References:
- references/alo-guide.md — Full ALO guide (three modes, fee math, executionAsMaker).
- references/order-params.md — Canonical orderType and feeOptimizedLimitOptions per context.
Scripts:
scripts/get_order_spec.py— Returns order spec (orderType + options) for a given context (entry, exit_tp, exit_sl, exit_emergency).
When you change this skill, bump metadata.version in this file so the skill-update checker can notify users; they apply updates with npx skills update.