rulec SKILL.md skillA
rulec from i2y/ritsu is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add i2y/ritsu/rulec@git:20261103.ef18d5bPins git:20261103.ef18d5b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- i2y/ritsu
- Path
skills/rulec/SKILL.md- Versions recorded
- 9
- Latest version
- git:20261103.ef18d5b, committed Nov 3, 2026
- First version recorded
- Oct 21, 2026
- Size
- 32,222 bytes
- Repository stars
- 3
- License
- Apache-2.0
Turn a table-shaped business rule into proved, dependency-free Python, TypeScript, JavaScript, Rust, Ruby, PHP, Go, Swift, Java, SQL and Wasm with rulec. Use when a shipping tariff, fee schedule, discount or coupon policy, eligibility test, period classification, or any rule that is already written as a table has to become code; when writing, editing or reviewing a `.rule` file; when a rulec diagnostic (E001-E076, E101-E140, W105, W110, W111, W114-W132, W901) has to be fixed; or when a change…
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
## When this applies
The rule **is a table, or could be written as one** — a table plus, where it needs it, a
little arithmetic over the inputs. Some are already tables: a tariff, a rate card, a fee
schedule. Others are prose or folklore and become a table once written down: when a discount
applies, whether a return is accepted, which period a date falls in, what rank a set of scores
earns. The source of truth may be a spreadsheet, a published policy, a wiki page, a legacy
implementation, or a person, and the job is to turn it into code someone can approve.
A process with state applies one call at a time: the table decides a step, and the caller
keeps the state. It does **not** apply to running a workflow, to judgements about a collection
("any line is refrigerated", "three or more items"), to pattern matching on strings, or to
scoring and optimisation. Flatten collection facts at the boundary and pass the scalar in;
keep iteration in the caller.
Every command here is rulec's: run it as `ritsu rulec <command>` (through a link to ritsu named
rulec, `rulec <command>` is the same). Whatever `gen` writes is held to the reference evaluator
…Read the whole file at its exact version.
How to install
mdr add i2y/ritsu/rulec@sha256:9e29df83a1b74c9aThe line at the top of this page pins the label git:20261103.ef18d5b, 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_lkdoo5mlenmtf4wl)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Oct 21, 2026 and Nov 3, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261103.ef18d5b latest | 2026-11-03 | ef18d5b | 32,222 B | A | view · diff |
| git:20261031.a158123 | 2026-10-31 | a158123 | 31,352 B | A | view · diff |
| git:20261030.4b0b4bc | 2026-10-30 | 4b0b4bc | 34,751 B | A | view · diff |
| git:20261030.49cb2b1 | 2026-10-30 | 49cb2b1 | 34,645 B | A | view · diff |
| git:20261029.0c6714d | 2026-10-29 | 0c6714d | 34,645 B | A | view · diff |
| git:20261029.200ec28 | 2026-10-29 | 200ec28 | 34,611 B | A | view · diff |
| git:20261028.a9029f2 | 2026-10-28 | a9029f2 | 34,528 B | A | view · diff |
| git:20261023.03d1cf0 | 2026-10-23 | 03d1cf0 | 34,434 B | A | view · diff |
| git:20261021.9a8c51f | 2026-10-21 | 9a8c51f | 34,420 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 (32222 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
i2y/ritsu · 3 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lkdoo5mlenmtf4wl GET https://markdownregistry.com/api/v1/resolve?ref=i2y/ritsu/rulec GET https://markdownregistry.com/api/v1/blob/9e29df83a1b74c9afa94e3c076c6968c93f0e41bcd1e9c069f7df61616eba9bf
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.