Open
Conversation
Author
|
Hey! Requesting expedited review under the Plugin Store Developer Challenge Season 1 (deadline 2026-05-07 23:59 UTC+8, ~3h remaining). Skill is Skill-only (no binary), composes official Happy to push fixes immediately if anything blocks. Available on Telegram at @voshchansky |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin Submission
Plugin name: livermore-perps
Version: 1.0.0
Type: new-plugin
Checklist
plugin-store lintpasses locally with no errorsokx-,official-,plugin-store-)nameanddescriptionWhat does this plugin do?
Time-distributed exit primitive for Hyperliquid perpetual positions. Splits a position close into N reduce-only market orders distributed over a configurable duration (5 min – 4 h) to minimize market impact and slippage on thin liquidity pairs.
This is a submission for the Plugin Store Developer Challenge Season 1 (deadline 2026-05-07 23:59 UTC+8). Requesting expedited review.
The skill is the perpetual futures companion to
onchain-livermore(a spot exit-discipline skill being prepared for separate submission). Same philosophy — exit-only, decision layer over official skills, journalled fills — different venue. Never opens positions, never increases leverage.Which onchainos commands does it use?
This skill composes the official
hyperliquid-plugin(installed vianpx skills add okx/plugin-store --skill hyperliquid-plugin). It does not callonchainossubcommands directly. Through the hyperliquid-plugin, the following commands are orchestrated:hyperliquid positions— read open positions, sizes, sideshyperliquid prices— current mid prices for slippage checkshyperliquid order(withreduce_only: true) — issue each TWAP slice as a reduce-only market orderhyperliquid orders— reconcile slice state against the order bookThe skill also reads/writes to local state at
~/.livermore-perps/(config, journal). No external HTTP calls beyond what hyperliquid-plugin already makes;api_calls: []in plugin.yaml.Security Considerations
Risk level:
advanced— this skill issues market orders autonomously across a duration.Safeguards in place:
--dry-run falseAND--confirmper session.--max-slippage-per-slice) — if a quote exceeds the cap, the slice is aborted and skipped (not retried at relaxed slippage). Defaults to 1.0%.reduce_only: true. The skill cannot accidentally open new exposure or flip the position direction.--forceflag.simulatecommand estimates TWAP cost vs single-market-close cost and recommends the cheaper option. The skill explicitly tells users when TWAP is the wrong tool.Testing