AGENTS.md@classes/cambios agentsB
AGENTS.md@classes/cambios is agent-read markdown (agents) from eduair94/cambio-uruguay.
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
# classes/cambios — AGENTS
One scraper per casa de cambio / bank: each fetches its own USD (+ARS/BRL/EUR/…) buy/sell and returns normalized rate rows.
## Layout
- 54 `.ts` files: 53 casa scrapers plus the shared `dolarahora.ts` parser. Casa classes `extend Cambio` (../cambio.ts) and `export default`.
- Registered in `../origins.ts` `origins` map: **47 active keys, 5 commented-out** with inline reasons (cambio_salto_grande, mas_cambio, cambio_vexel, cambio_velso, aspen). Only registered keys run.
- **Registry KEY = the `origin` string** (DB identifier + display-name lookup via ../cambioInfo.ts), passed to `new Class(key)`. Key ≠ filename often: `la_favorita`→lafavorita.ts, `cambio_rynder`→rynder.ts, `matriz`→cambio_matriz.ts, `itau`→itau.ts, `bcu`→bcu.ts.
## Contract (../cambio.ts `abstract class Cambio`)
Subclass sets instance fields + implements one method:
- Required fields: `name` (casa display name), `website`, `favicon`, `bcu` (BCU institution URL). Usually a private `conversions` map: source currency label → `{code, type, name}`.
- `abstract get_data(): Promise<CambioObj[]>` — the ONLY thing you implement. Returns flat rows.
…Read the whole file at its exact version.
How to install
mdr add eduair94/cambio-uruguay/classes/cambios/AGENTS.md@git:20260724.f0c0e2emdr add eduair94/cambio-uruguay/classes/cambios/AGENTS.md@sha256:ad4bd502d868930cPin 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_ufqjbufr6l4hbjid)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260724.f0c0e2e latest | 2026-07-24 | f0c0e2e | 6,826 B | B | view · diff |
| git:20260724.16bbad3 | 2026-07-24 | 16bbad3 | 6,539 B | B | view · diff |
| git:20260724.0e7a850 | 2026-07-24 | 0e7a850 | 6,153 B | B | view · diff |
| git:20260720.da8af73 | 2026-07-20 | da8af73 | 5,558 B | B | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Size between 200 bytes and 200 KB (6826 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
Source
eduair94/cambio-uruguay · 7 stars · license none · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ufqjbufr6l4hbjid GET https://markdownregistry.com/api/v1/resolve?ref=eduair94/cambio-uruguay/classes/cambios/AGENTS.md GET https://markdownregistry.com/api/v1/blob/ad4bd502d868930c365c2b2c93427ba00e146afc89ee1aad20c098374126770c
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.