Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By galleonlabsv0.2.1MITIn 1 marketplace
Backtests a frozen daily crypto strategy (buy-and-hold, DCA or moving-average timing) against a same-cost buy-and-hold benchmark. Runs a local Node simulator with no wallet or network calls, and claims results are reproducible.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Put an investment rule through its paces.
Run daily spot simulations with explicit costs, next-observation execution, cash-flow-neutral returns and a same-cost buy-and-hold benchmark. Validate a frozen rule on a later period and under higher costs before drawing conclusions.
Install one skill · Try a first task · Sources · All packs
npx skills add galleonlabs/crypto-defi-skills --skill galleon-defi-strategy-backtest
Choose the receiving agent in the installer. Keep the skill's references and scripts with its SKILL.md. Each pack works on its own. For a complete native Hermes desk, use Boomkin.
Use galleon-defi-strategy-backtest to compare a moving-average rule with buy-and-hold on [dated daily dataset]. State fees and slippage, inspect every modeled trade and explain the limits of the result.
Expected result: the workflow's required evidence, explicit gaps and a concrete next step. Supply real task inputs in place of the bracketed placeholders. Provider access is configured in your agent; installation adds the procedures and local resources.
npx skills add galleonlabs/crypto-defi-skills --skill galleon-defi-strategy-backtest
npx --package [email protected] defi-strategy-skills catalog --json
The skill turns an idea into a supported strategy specification, validates evidence and reports the limitations of the result. It includes a deterministic executable and a clearly labeled synthetic example.
From the independently installed skill directory:
node scripts/backtest.mjs --data examples/synthetic-daily.json --spec examples/sma.json
The npm CLI also accepts defi-strategy-skills backtest --data <dataset.json> --spec <spec.json>. Node 20+ is sufficient; no wallet, credentials, network requests or dependencies are needed by the simulator. The corpus CLI provides catalog, show and validation commands.
Supported rules are buy-and-hold, fixed-budget DCA and long/cash simple moving-average timing. Signals execute at the next daily observation with explicit fee and adverse slippage assumptions. The report includes a same-cost, same-contribution buy-and-hold comparison, all trades, the equity curve, cash-flow-neutral time-weighted return and drawdown, and SHA-256 hashes of the exact input files. It retains cash that a rule has not invested and marks open positions without a forced final sale.
node scripts/validate-strategy.mjs --data examples/synthetic-daily.json --spec examples/sma.json --split 30
# npm CLI: defi-strategy-skills validate-strategy --data <dataset.json> --spec <spec.json> [--split <index>]
The split is the zero-based index of the first held-out observation; the default is half the observations, rounded down. The runner tests the supplied rule with baseline costs and higher costs in each chronological period, with the same-cost benchmark in all four runs. Higher fees and slippage each default to the larger of twice baseline or baseline + 10 basis points, capped at 1000. Override them with --stress-fee-bps and --stress-slippage-bps; neither may decrease, and at least one must increase.
Each period restarts in declared initial cash, with zero asset units, fresh warmup and only its own dated contributions. Reports retain separate balances, trades, curves, costs and sensitivity differences in periods.reference and periods.heldOut. The reference account's final position and pending decision do not carry over. This is an independent restart comparison; it does not optimize parameters or prove that the user had not already inspected the later data. ok: true means the experiment ran, not that a strategy passed an investment or live trading gate.
Minimum observations per period are 3 for buy-and-hold, max(3, everyBars + 2) for DCA and period + 2 for SMA. These permit accounting checks and potential fills, not statistical significance. Short periods and cash-only runs are flagged in the report.
The same browser-safe engine exposes fixed starting templates with explicit data and horizon requirements:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub galleonlabs/crypto-defi-skills --plugin galleon-defi-strategy-skillsPlugins from other owners that cover similar ground