rsi-skill SKILL.md skillA

rsi-skill from lambdasec/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add lambdasec/skills/rsi-skill@git:20261028.54c9b8e

Pins git:20261028.54c9b8e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
lambdasec/skills
Path
skills/rsi-skill/SKILL.md
Versions recorded
1
Latest version
git:20261028.54c9b8e, committed Oct 28, 2026
Size
5,055 bytes
Repository stars
3
License
Apache-2.0

Evaluate a prompt, system prompt, skill instruction or agent instruction against concrete test cases, then hill-climb it to a measurably better version using any open model. Use when the user wants to test or improve a prompt, asks "is this prompt any good", "make this prompt better", "eval this", "hill-climb", "optimize my system prompt", or has examples of inputs with the answers they expect.

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

Improve a piece of instruction text by measuring it, not by guessing. Score the current
prompt on test cases, look at what fails, have a model propose a revision, keep the
revision only if the score goes up on cases it trained on and does not drop on cases it
never saw, and repeat. Everything runs through `scripts/rsi.py` (Python 3 standard
library, no install).

It works on any text that steers a model: a system prompt, a classifier instruction, a
SKILL.md body, an agent's rules, a few-shot block. It changes instructions, not weights.

Worked example with real numbers: [references/example-gsm8k.md](references/example-gsm8k.md)
(GSM8K, 17% to 92% on held-out problems in four rounds).

## 1. Pick a model endpoint

Run `python3 scripts/rsi.py backend`. It uses the first of these that works:

1. `--base-url URL [--api-key-env VAR] [--model M]` if the user named an endpoint.
2. **OptiQ Cloud** when `OPTIQ_CLOUD_KEY` is set (`https://cloud.mlx-optiq.com/api/v1`, open models).
3. **A local `optiq serve`** on `127.0.0.1:8080` (open models on an Apple Silicon Mac; nothing leaves the machine).
4. Any OpenAI-compatible API via `OPENAI_BASE_URL` and `OPENAI_API_KEY`.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lambdasec/skills/rsi-skill@sha256:4c4df9ee1846482b

The line at the top of this page pins the label git:20261028.54c9b8e, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_paomuakoalotvetj.svg)](https://markdownregistry.com/a/art_paomuakoalotvetj)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 28, 2026.

versioncommittedcommitsizeaudit
git:20261028.54c9b8e latest2026-10-28 54c9b8e 5,055 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5055 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

GitHub

lambdasec/skills · 3 stars · license Apache-2.0 · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_paomuakoalotvetj
GET https://markdownregistry.com/api/v1/resolve?ref=lambdasec/skills/rsi-skill
GET https://markdownregistry.com/api/v1/blob/4c4df9ee1846482b50b75d53faf8bbb6d39e1b0d3961951adf181782aa203730

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.

More from lambdasec/skills

adaptive-classifier SKILL.md skill
lambdasec/skills · skills/adaptive-classifier/SKILL.md · Build, update and honestly evaluate text classifiers with the open-source adaptive-classifier library, which learns new…
git:20261023.06fd56d · audit A · 3 stars
frame-security-scan SKILL.md skill
lambdasec/skills · skills/frame-security-scan/SKILL.md · Scan code (Python, JavaScript/TypeScript, Java, C#, C/C++) for security vulnerabilities with the open-source Frame CLI…
git:20261105.533daa0 · audit A · 3 stars
optiq-local-models SKILL.md skill
lambdasec/skills · skills/optiq-local-models/SKILL.md · Serve a quantized language model locally on an Apple Silicon Mac with mlx-optiq and an OpenAI-compatible endpoint. Use…
git:20261023.bea0b41 · audit B · 3 stars
pts-pivotal-token-search SKILL.md skill
lambdasec/skills · skills/pts-pivotal-token-search/SKILL.md · Use PTS (Pivotal Token Search) to find the tokens, sentences and latent concepts that change whether a language model…
git:20261023.5b089c2 · audit A · 3 stars

Every file in lambdasec/skills

Browse by kind, by grade A, or by owner.