Open-source Hyperliquid trading strategies: a guide to the senpi-skills repo
Updated Nov 16, 2026 · 8 min read
What is in Senpi’s open-source senpi-skills repo: 145 strategy packages by type, how a package is built, how to read one, and how to fork and run a strategy on Hyperliquid.
Where can you find open-source trading strategies for Hyperliquid? One place is senpi-skills, Senpi’s public GitHub repository, released under the MIT licence. It holds two things: the skills a Senpi agent uses to analyse markets and run strategies, and a library of strategy packages, 145 in its generated catalog on Nov 13, 2026. Each package is readable code plus configuration: a scanner that turns market data into signals, the entry rules, the exit and the risk limits. You can read any of them, fork one and change it, then run it through Senpi.
Key takeaways
- 145 strategy packages in the catalog (Nov 13, 2026), from breakout and trend-following to copy-trading, funding fades and tail-risk insurance; 26 are marked starter and 119 advanced.
- A package is small and readable: a manifest, a runtime spec in YAML, and a Python scanner whose
scan()returns signals. It never places an order itself. - The runtime does the rest: sizing, execution, the exit and the risk limits, on a schedule, with no AI model call per tick.
- Test before money:
senpi validateruns one real tick on live data with no wallet; then you start live from $10 per strategy wallet. Senpi doesn’t run backtests; Simulations, paper trading with simulated money, are coming. - MIT licensed: the skills and strategies are open; Senpi’s app and agent are not.
What is in the repo
| Part | What it is | Examples |
|---|---|---|
| Analysis skills | Workflows that read markets, wallets and your own trading | senpi-market-pulse, senpi-signals, senpi-smart-money, quant-desk, senpi-improve-trades |
| Strategy skills | Find a template, build or edit a strategy, deploy, monitor and close it | senpi-strategy-discover, senpi-strategy-author, senpi-strategy-ops, senpi-trading-runtime |
| Trading and money skills | Single trades and mirroring a trader; deposits, withdrawals and transfers | senpi-trade, senpi-deposit-withdraw-transfer |
| strategies/ | One folder per strategy package | tortoise, spider, kodiak, chameleon, camel |
| strategies/catalog.json | The generated index of every package, with its type, markets, risk level, leverage cap and minimum budget | Read by senpi-strategy-discover to rank templates for you |
A skill packages a multi-step workflow: a small Python engine gathers data and computes, and a written guide tells the agent how to explain the result. The agent picks the skill that matches your request, so a portfolio question runs the portfolio workflow instead of improvised tool calls.
The strategy library by type
| Type | Packages | What they do | Examples |
|---|---|---|---|
| Breakout / Momentum | 41 | Enter on a break, confirmed by trend, smart-money positioning or open interest | Barracuda, Hawk, Badger |
| Trend-Follower | 33 | Ride multi-day trends across timeframes | Spider, Elephant, Lynx |
| Single-Market Specialist | 20 | Trade one market deeply | Kodiak (SOL), Coyote (BTC) |
| Copy-Trader | 16 | Follow what proven traders are doing, as a group or one by one | WhaleHunter, Jackal |
| Contrarian / Fade | 15 | Take the other side of crowded positioning, such as extreme funding | Camel (funding), Owl, Pangolin |
| Structural / Neutral | 10 | Ratio spreads, scheduled buying and other non-directional designs | Chameleon (ratio spreads), Tortoise |
| Macro Thesis | 4 | Read the market regime and set a posture | Chimp, Gorilla |
| Risk-Parity / All-Weather | 3 | Spread risk evenly across uncorrelated markets | Ox, Mandate |
| Tail-Risk / Crisis-Alpha | 2 | Small standing insurance that pays in a shock | Rhino |
| Event-Driven | 1 | New listings and IPO-style events | Magpie |
Most packages trade both long and short, and they range across crypto majors, the wider crypto market and the XYZ stock, index, commodity and FX perps, at leverage caps from 1x to 10x. Each catalog entry states its risk level, its time horizon and the smallest budget it needs to trade. Ask the agent which ones fit you: senpi-strategy-discover ranks the catalog against what you describe.
How a strategy package is built
strategies/tortoise/
├── strategy.yaml # manifest: id, version, catalog fields, instances
├── main/ # one instance = one strategy wallet
│ ├── runtime.yaml # what the runtime runs: scanners, entry action, exit, risk
│ └── scanners/
│ ├── scan.py # scan(inputs, ctx) -> list of signals
│ └── scoring.py # the pure logic, unit-testable
└── tests/
└── test_tortoise.py- strategy.yaml is the manifest: the strategy’s id, version, catalog fields and its instances. Each instance runs in its own strategy wallet, so a package with a long book and a short book deploys as two wallets.
- runtime.yaml is what the runtime executes: the scanners and how often they run (
interval_seconds), the entry action, the exit and the risk limits. - scan.py exports
scan(inputs, ctx). It reads market and account data and returns a list of candidate signals. It does not open, size or close anything. - scoring.py keeps the strategy’s logic pure and testable, and tests/ checks it.
The runtime calls scan() on schedule, checks each signal, sizes it, places the order and manages the exit. Each action has a decision mode: rule acts on the signal as written, llm adds an optional model check before an entry, and none puts a strategy in watch-only, with no new entries while open positions keep their stops.
Read one: Tortoise
Tortoise is the simplest starter in the library and a good first read. It predicts nothing: it holds one long position each in BTC, ETH and SOL, and when a position exits it waits a full day before buying that coin again.
| Setting | Tortoise | Where it is set |
|---|---|---|
| Markets | BTC, ETH and SOL | inputs.assets |
| How often it checks | Every 30 minutes | interval_seconds: 1800 |
| Entry | Buys a coin it doesn’t hold, at most once every 24 hours after that coin’s last buy or exit | intervalHours: 24 |
| Size | Three positions, 25% of the wallet each, at 2x | slots: 3, margin_pct: 25, default_leverage: 2 |
| Order | Maker order first, taker if it doesn’t fill in 60 seconds | FEE_OPTIMIZED_LIMIT |
| Stop | 30% of margin (ROE), 15% of price at 2x | phase1.max_loss_pct: 30 |
| Ratchet | From +25% ROE it locks 50% of the peak gain, then 70%, 85% and 92% at +50%, +100% and +200% | phase2.tiers |
| Limits | Daily-loss halt at 10%, drawdown halt at 25%, at most 6 entries a day, a pause after 5 losses in a row, and a 1-hour cooldown per coin | risk.guard_rails |
Its exit, quoted from the package’s runtime.yaml (shortened):
exit:
engine: dsl
dsl_preset:
phase1:
enabled: false # no trailing in phase 1
max_loss_pct: 30.0 # the stop: 30% ROE = 15% of price at 2x
phase2:
enabled: true
tiers: # once ROE reaches trigger_pct, lock lock_hw_pct of the peak
- { trigger_pct: 25, lock_hw_pct: 50 }
- { trigger_pct: 50, lock_hw_pct: 70 }
- { trigger_pct: 100, lock_hw_pct: 85 }
- { trigger_pct: 200, lock_hw_pct: 92 }How to fork and run a strategy
The short route is to ask. In the Senpi app, or from Claude, ChatGPT, Grok or Hermes through Senpi Connectors, describe what you want or name a template.
- 01Pick the base. The agent finds the closest template, or starts from scratch when none fits, and tells you in plain words what it does and the two settings most worth changing.
- 02Make it yours. Shift a setting or add a rule of your own. Every template deploys as your own fork, named after your Senpi username.
- 03Check that it runs.
senpi validateruns the scanner once against live, read-only data, with no wallet and no money, and checks that its signals would be accepted. A pass proves the code runs, not that its logic is right. - 04Fund and launch. The budget is asked once, at deploy, with a minimum of $10 for each strategy wallet. The strategy is live once the runtime has seen a scanner tick.
You can also work on the code itself: fork the repository on GitHub, read a package, and ask Claude Code with Senpi connected to adapt it; How to code a trading strategy on Hyperliquid covers that set-up. Running a package outside the Senpi app takes an OpenClaw agent host with Senpi’s runtime plugin, a Senpi access token and a funded Hyperliquid wallet for each instance; the repository’s README lists the commands.
Testing and protection
Senpi doesn’t run backtests; Simulations, paper trading with simulated money, are coming. Today the path is the validate check, then the smallest live budget, then more once the strategy behaves as you expected. A running strategy costs no AI credits per tick: the runtime runs it without a model call. On Senpi, a strategy you confirm runs as code on Senpi’s runtime, and by default no AI model makes live trading decisions. Strategies built from a rule or a template carry the Dynamic Stop-Loss (DSL) from the first fill, and each can have its own daily-loss halt, which lifts at the next UTC midnight, or a drawdown halt, which waits until you resume it. Copy strategies carry at most a flat stop. Each strategy trades from its own strategy wallet; the agent holds no key and cannot withdraw.
Frequently asked questions
Is senpi-skills open source?
Yes. The repository github.com/Senpi-ai/senpi-skills is released under the MIT licence: the skills and strategy packages can be read, forked and changed. Senpi’s app and agent are not open source.
How many strategies are in senpi-skills?
The generated catalog listed 145 strategy packages on Nov 13, 2026, some of them variants of one strategy. Ask the Senpi agent for the current set; it ranks the catalog against what you want.
Can I run senpi-skills strategies without Senpi?
Not on their own. A package runs on Senpi’s runtime and reads data through Senpi’s tools, so it needs a Senpi account: in the Senpi app, or on your own OpenClaw host with Senpi’s runtime plugin and access token.
How do I fork a Hyperliquid strategy?
Ask the Senpi agent to start from a template, change a setting or add a rule, and deploy it; it runs as your own fork under your username. To change the code, fork the repository on GitHub and adapt a package with Claude Code connected to Senpi.
Can I backtest a strategy from senpi-skills?
Senpi doesn’t run backtests; Simulations, paper trading with simulated money, are coming. Today you check a strategy with senpi validate, one real tick with no wallet, and then run it live from $10 per strategy wallet.
What is DSL in senpi-skills?
DSL, the Dynamic Stop-Loss, is the exit in a strategy’s runtime.yaml: a stop from the first fill and a ratchet that locks a growing share of the peak gain as the trade moves in your favour. No stop can guarantee a fill at its trigger price.
Sources: github.com/Senpi-ai/senpi-skills (README, strategies/catalog.json generated Nov 13, 2026, the strategy-author, strategy-ops and trading-runtime skills, strategies/tortoise), read Nov 16, 2026. This is educational material, not financial advice; strategies can lose money.
Run a strategy from the library
Pick a template or describe your own, make it yours, and Senpi runs it from its own strategy wallet with a stop from the first fill.
Related articles
What does a trading agent do when it isn’t trading?
Most of a trading agent’s work happens between trades: refusing signals, re-checking open positions and moving stops one way. Senpi’s fleet telemetry from August 2026, and how often it checks today.
What does the model do in an AI trading agent, and what does the harness do?
In an AI trading agent the model understands, routes, explains and asks; tested programs compute, and a runtime places and protects the orders. Where the line sits, and how Senpi draws it.
QuantConnect, Freqtrade, Hummingbot or an AI agent: which for crypto quant trading?
QuantConnect, NautilusTrader, Freqtrade, Hummingbot, CCXT, backtrader, vectorbt and an AI agent compared for crypto quants: Hyperliquid support, backtesting, live trading, languages and licences, checked Nov 13, 2026.
How to automate a crypto trading strategy without coding
Three no-code ways to automate a crypto strategy: bot presets, TradingView alerts sent to a bot, or an AI agent that writes and runs it. What each costs on Hyperliquid, with a walkthrough from Claude or ChatGPT.