[new-plugin] ligoudan-btc-hype v0.1.0#337
Conversation
BTC 70k-90k 8x long-only perp grid on Hyperliquid with HYPE 2x compound reinvestment of realized profits. Depends on hyperliquid-plugin ^0.3.9 and attributes all writes via --strategy-id ligoudan-btc-hype.
✅ Phase 1: Structure Validation — PASSED→ Proceeding to Phase 2: Build Verification |
📋 Phase 3: AI Code Review Report — Score: 87/100
1. Plugin Overview
Summary: A Hyperliquid strategy plugin that runs a 10-cell BTC perpetual grid between $70k–$90k with 8x leverage, and automatically compounds realized grid profits (≥$50) into 2x HYPE long positions with -15% SL / +30% TP protection. All write operations are delegated to Target Users: Advanced DeFi users comfortable with leveraged perpetual futures on Hyperliquid who want automated BTC range trading plus slow HYPE accumulation. Not for beginners — requires ~$30,000 USDC collateral. 2. Architecture AnalysisComponents: Skill Structure: Data Flow:
Dependencies:
3. Auto-Detected Permissionsonchainos Commands Used
Note: All Wallet Operations
External APIs / URLs
No direct external URLs, RPC endpoints, or third-party APIs referenced. All network traffic flows through the Chains Operated On
Overall Permission SummaryThis plugin is a trading orchestration layer. It does not connect directly to chains or wallets; instead it delegates all signing/broadcasting to 4. onchainos API ComplianceDoes this plugin use onchainos CLI for all on-chain write operations?Yes — via the declared On-Chain Write Operations (MUST use onchainos)
Data Queries (allowed to use external sources)
External APIs / Libraries DetectedNone directly. All external I/O flows through Verdict: ✅ Fully CompliantThe plugin correctly treats itself as an orchestration layer with zero direct wallet/chain access. Every write operation is delegated to the declared dependent plugin with proper attribution flags. 5. Security AssessmentStatic Rule Scan (C01-C09, H01-H09, M01-M08, L01-L02)
LLM Judge Analysis (L-PINJ, L-MALI, L-MEMA, L-IINJ, L-AEXE, L-FINA, L-FISO)
Toxic Flow Detection (TF001-TF006)No toxic flows detected. The plugin's legitimate financial operations (H05/direct-financial pattern) do not combine with any of: curl|sh (C01), credential exfiltration (C05), persistence (H03), missing data boundary (M07), or malicious intent. TF005 and TF006 do not trigger. Prompt Injection ScanChecked for: instruction override, identity manipulation, hidden behavior, confirmation bypass, unauthorized operations, hidden content. SKILL.md is clean — all commands are explicit, confirmations are mandatory, no base64/unicode obfuscation. Result: ✅ Clean Dangerous Operations CheckPlugin involves: leveraged perp order placement, market closes, batch cancellations. Every write operation requires:
Pre-flight checks validate liquidation distance, price range, capital, and dependent plugin availability before any action. Result: ✅ Safe Data Exfiltration RiskNo access to credentials, no network requests, no writes outside Result: ✅ No Risk Overall Security Rating: 🟡 Medium RiskRating reflects financial risk only, not technical/code risk. The code is clean and compliant. The financial risk (8x leverage, potential capital loss, HYPE correlation to BTC downside) is large but fully disclosed in the security notices section. 6. Source Code Security (if source code is included)Skipped — plugin has no source code / no build section. Skill-only plugin. 7. Code ReviewQuality Score: 87/100
Strengths
Issues Found
8. SUMMARY.md Review
9. Strategy Attribution CheckThis plugin is a trading strategy — it delegates write operations to Dependent Plugin Declarations
Strategy Attribution ScanSince this plugin is skill-only (no source code files), attribution scanning is performed against SKILL.md command examples rather than code files.
Result: ✅ All write operations documented in SKILL.md include One minor item: in Sensitive Data Check (Strategy-specific)
10. Recommendations
11. Reviewer SummaryOne-line verdict: Well-designed, compliance-clean Hyperliquid strategy plugin with strong risk disclosure and correct attribution — ready to merge with minor documentation improvements suggested. Merge recommendation: Caveats:
No blocking security issues. The plugin correctly implements the strategy plugin contract: zero direct chain/wallet access, full delegation to declared dependent plugin, strategy-id attribution on every write, mandatory dry-run + confirmation flow, and transparent financial risk disclosure. Generated by Claude AI via Anthropic API — review the full report before approving. |
Plugin Store DApp Popularity Contest
About the ContestPlugin Store is the decentralized agent plugin marketplace on Onchain OS. This contest focuses on two trading-related Basic Skills in Plugin Store — the Polymarket Plugin and the Hyperliquid Plugin — and encourages developers to build more high-quality strategy Skills around them. Contest Rules
Scoring Rules
Four Steps to Participate
Three Leaderboards · 5,900 USDC each · 17,700 USDC in totalTrading Volume | Number of Trades | Unique Trading Addresses
A single Skill can win on multiple leaderboards. All prizes are paid in USDC.
|
Summary
New strategy skill:
ligoudan-btc-hype— BTC 囤币 + HYPE 理财.A long-only BTC perpetual grid on Hyperliquid trading the $70k–$90k range with
8x
leverage. Realized grid profits accumulate and auto-compound into 2x HYPE perp
longs
with built-in SL (-15%) / TP (+30%) protection.
Category & Dependencies
category: strategydependent_plugin:hyperliquid-plugin ^0.3.9order,close,order-batch,cancel-batch,tpsl)include
--strategy-id ligoudan-btc-hypefor attribution.Commands
initstatusrebalancecompoundshutdownRisk Tier: advanced
This skill opens leveraged positions automatically and meets the advanced-tier
requirements:
init,compound, andshutdownwrite$5,000default)--strategy-idattribution on every write for auditLiquidation math: aggregate
P_liq ≈ 80,612 − capital_usdc / (9.8 × size_btc).With default params (capital $30k, size 0.0015 BTC),
P_liq ≈ $60,572, ~10kbelow
the grid floor.
Checklist
present
namefollows naming rules (lowercase/hyphens, 18 chars, nookx-prefix)
version0.1.0 consistent across all three filesauthor.githubmatches PR submitter (jonedy)--strategy-id ligoudan-btc-hypeadvancedwith corresponding safeguards