AGENTS.md@packages/image-fit-extensionA
AGENTS.md@packages/image-fit-extension from blackbelttechnology/pi-agent-dashboard is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add blackbelttechnology/pi-agent-dashboard/packages/image-fit-extension/AGENTS.md@git:20260722.0ec160aPins git:20260722.0ec160a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- blackbelttechnology/pi-agent-dashboard
- Path
packages/image-fit-extension/AGENTS.md- Versions recorded
- 3
- Latest version
- git:20260722.0ec160a, committed Jul 22, 2026
- First version recorded
- Jul 3, 2026
- Size
- 970 bytes
- Repository stars
- 341
- License
- MIT
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
# DOX — packages/image-fit-extension
Files in this directory. One row per source file.
| File | Purpose |
|------|---------|
| `README.md` | Package overview. Two interception seams. Seam 1 `pi.on("tool_call")`: on built-in `read` of image (`.png`/`.jpg`/`.jpeg`/`.webp`/`.gif`) probes dims via jimp, fits both → leaves `event.input.path` untouched, else re-encodes (long-edge scaled) to `os.tmpdir()/pi-image-fit/<session>/<sha256>.<ext>` + mutates `event.input.path`. Seam 2 `pi.on("context")`: role-agnostic, fits oversize `ImageContent` of any origin (tool_result/user-pasted/historical) in the per-turn deep copy → rescues already-persisted sessions on reload; jimp buffer resize + mime-keyed bounded LRU; cheap header-probe gate; no temp file. No native deps (jimp only). See change: image-fit-tool-result-images. |
| `vitest.config.ts` | Package vitest config (registered in root `vitest.config.ts` `test.projects`). See change: pi-image-fit-extension. |Read the whole file at its exact version.
How to install
mdr add blackbelttechnology/pi-agent-dashboard/packages/image-fit-extension/AGENTS.md@sha256:819d92362a35b5e0The line at the top of this page pins the label git:20260722.0ec160a, 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_uj5sm6la3tsvmyky)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 3, 2026 and Jul 22, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260722.0ec160a latest | 2026-07-22 | 0ec160a | 970 B | A | view · diff |
| git:20260714.5ae874e | 2026-07-14 | 5ae874e | 706 B | A | view · diff |
| git:20260703.e20cd5a | 2026-07-03 | e20cd5a | 269 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (970 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
blackbelttechnology/pi-agent-dashboard · 341 stars · license MIT · pushed 2026-11-06 · branch develop
API
GET https://markdownregistry.com/api/v1/artifacts/art_uj5sm6la3tsvmyky GET https://markdownregistry.com/api/v1/resolve?ref=blackbelttechnology/pi-agent-dashboard/packages/image-fit-extension/AGENTS.md GET https://markdownregistry.com/api/v1/blob/819d92362a35b5e08cdafd4ffd8e6c64da9d6a1f3916e4c0350e9d0817e22c25
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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.