senpi-trading-runtime SKILL.md skillA
senpi-trading-runtime from senpi-ai/senpi-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add senpi-ai/senpi-skills/senpi-trading-runtime@v4.1.15Pins v4.1.15 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- senpi-ai/senpi-skills
- Path
senpi-trading-runtime/SKILL.md- Versions recorded
- 30
- Latest version
- v4.1.15, committed Oct 29, 2026
- First version recorded
- Aug 3, 2026
- Size
- 13,120 bytes
- Repository stars
- 144
- License
- MIT
How a Senpi trading strategy interacts with the runtime engine (@senpi-ai/runtime) on Hyperliquid: a strategy runs from a runtime.yaml pointing at a Python module that exports scan(inputs, ctx), which the runtime supervises and calls each interval, then owns execution, risk guard_rails, and two-phase DSL trailing-stop exits. Use when working with runtime.yaml, the scan(inputs, ctx) contract, external_scanner, ctx, or the DSL exit engine (the Ratchet Stop / tier ladder) or the risk guard rails…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Senpi Trading Runtime — the runtime contract This skill is **infrastructure**: the canonical knowledge of how the Senpi runtime (**`@senpi-ai/runtime`**) behaves and how a strategy interacts with it. The lifecycle skills — author (build), ops (install/monitor), discover (recommend) — reference this one for the contract. ## The runtime model A strategy runs from a **`runtime.yaml`** that points at an in-repo Python module. The runtime **spawns and supervises** that module and calls a frozen **`scan(inputs, ctx)`** every `interval_seconds`. The division of labor is fixed: - **Your code produces signals — nothing else.** `scan(inputs, ctx)` *reads* market and account data and *returns* a `list[dict]` of candidate signals. It does not open, close, size, schedule, or execute anything. - **Zero model cost, and the only loop there is.** The runtime ticks every `interval_seconds` without a model call. Never put an agent-turn cron beside it — a producer, a re-check, a watcher — each firing is a full model call. There is no paper-trading mode: a strategy is tested with `senpi validate` (one real tick, no wallet) and then run live at the $10 floor. …
Read the whole file at its exact version.
How to install
mdr add senpi-ai/senpi-skills/senpi-trading-runtime@sha256:743eb594de7de5dbThe line at the top of this page pins the label v4.1.15, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rqrqhrhgk6qgzbxn)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 30 versions of this file, between Aug 3, 2026 and Oct 29, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v4.1.15 latest | 2026-10-29 | 13094c5 | 13,120 B | A | view · diff |
| v4.1.15 | 2026-10-29 | a63394d | 13,006 B | A | view · diff |
| v4.1.14 | 2026-10-28 | 738f814 | 11,513 B | A | view · diff |
| v4.1.13 | 2026-10-27 | 6a8417f | 11,513 B | A | view · diff |
| v4.1.12 | 2026-10-26 | 771b0d9 | 11,513 B | A | view · diff |
| v4.1.11 | 2026-10-26 | d481a1e | 11,513 B | A | view · diff |
| v4.1.10 | 2026-10-21 | b1916b1 | 11,513 B | A | view · diff |
| v4.1.9 | 2026-10-21 | 2ec921f | 11,512 B | A | view · diff |
| v4.1.8 | 2026-10-16 | 91b731e | 11,153 B | A | view · diff |
| v4.1.8 | 2026-10-16 | 4e99e97 | 11,157 B | A | view · diff |
| v4.1.8 | 2026-10-01 | 7f2b00d | 11,035 B | A | view · diff |
| v4.1.7 | 2026-09-29 | bddd2f5 | 10,676 B | A | view · diff |
| v4.1.6 | 2026-09-28 | 862170c | 10,872 B | A | view · diff |
| v4.1.6 | 2026-09-25 | f45cfa7 | 11,038 B | A | view · diff |
| v4.1.5 | 2026-09-24 | 59a1ae8 | 10,557 B | A | view · diff |
| v4.1.4 | 2026-09-17 | 833ad1f | 10,557 B | A | view · diff |
| v4.1.3 | 2026-09-17 | a9a0cf5 | 9,377 B | A | view · diff |
| v4.1.2 | 2026-09-15 | a5ce61c | 9,377 B | A | view · diff |
| v4.1.1 | 2026-09-12 | cf11cf9 | 9,377 B | A | view · diff |
| v4.1.0 | 2026-09-11 | 90aa8ec | 9,377 B | A | view · diff |
| v4.0.3 | 2026-09-11 | 42ecdf8 | 9,377 B | A | view · diff |
| v4.0.2 | 2026-09-11 | aa3c156 | 9,002 B | A | view · diff |
| v4.0.1 | 2026-09-11 | c2d2ad1 | 9,002 B | A | view · diff |
| v4.0.1 | 2026-09-11 | 1f7cbce | 8,987 B | A | view · diff |
| v4.0.1 | 2026-09-08 | 9398f20 | 7,181 B | A | view · diff |
| v4.0.0 | 2026-08-14 | c81aa03 | 7,181 B | A | view · diff |
| v3.2.1 | 2026-08-13 | 7419883 | 5,890 B | A | view · diff |
| v3.2.0 | 2026-08-04 | eb9feeb | 5,890 B | A | view · diff |
| v3.1.1 | 2026-08-04 | f8a81e9 | 5,890 B | A | view · diff |
| v3.1.0 | 2026-08-03 | 19aa5f5 | 5,890 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13120 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
senpi-ai/senpi-skills · 144 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rqrqhrhgk6qgzbxn GET https://markdownregistry.com/api/v1/resolve?ref=senpi-ai/senpi-skills/senpi-trading-runtime GET https://markdownregistry.com/api/v1/blob/743eb594de7de5dbb277cf3130dfc5f4317925f601fa2625eb249c40f5b264df
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.