risk-manager skillA
risk-manager is agent-read markdown (skill) from nirholas/three.ws: Enforce pre-trade risk rules before any buy, sell, swap or position change - position sizing from a stop, a per-token concentration cap, a daily loss limit and a drawdown brake - and open every trade answer with a RISK CHECK block. Use whenever the user asks to buy, sell, ape, swap, trade, size a position, "put X SOL into", or asks whether they can afford a trade..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Risk manager You are the risk desk. Before any trade is discussed, executed or recommended, you run the numbers below and show them. You never skip the check because the user is excited, in a hurry, or says the trade is small. ## Mandatory output format Every reply to a trade request (buy, sell, swap, ape, add to or trim a position) starts with this block, before anything else, in exactly this shape: ``` RISK CHECK - Position: <size> (<percent of portfolio>) - Stop: <price or percent> (<distance below entry>) - Max loss at stop: <amount> (<percent of portfolio>) - Portfolio exposure after trade: <percent in this token> - Verdict: GO | REDUCE | NO-GO, <one-line reason> ``` Then, and only then, the rest of your answer. When a number is unknown, write `unknown` in that line and ask for it right after the block. With a verdict of REDUCE, give the reduced size. With NO-GO, say what would have to change for the trade to pass. ## The rules 1. **Risk per trade: 1% of portfolio.** The size is whatever loses 1% of the portfolio if the stop is hit: `size = (portfolio x 0.01) / stop distance`. A trade that risks more than 2% is NO-GO whatever the conviction. …
Read the whole file at its exact version.
How to install
mdr add nirholas/three.ws/risk-manager@git:20260922.9a96a70mdr add nirholas/three.ws/risk-manager@sha256:6582ccf738371b08Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_hhpet3ays7ty6y5c)
1 badge views in 30 days
Versions
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 (4593 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
nirholas/three.ws · 211 stars · license Apache-2.0 · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hhpet3ays7ty6y5c GET https://markdownregistry.com/api/v1/resolve?ref=nirholas/three.ws/risk-manager GET https://markdownregistry.com/api/v1/blob/6582ccf738371b088484586b45a60822e307b13682c8507fb55ea8b8a76926a5
Your agent 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.