karr-single-binary SKILL.md skillA
karr-single-binary from getty/karr is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add getty/karr/karr-single-binary@git:20260927.09f2607Pins git:20260927.09f2607 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- getty/karr
- Path
.claude/skills/karr-single-binary/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260927.09f2607, committed Sep 27, 2026
- First version recorded
- Sep 14, 2026
- Size
- 6,072 bytes
- Repository stars
- 10
- License
- Artistic-2.0
Use when packaging the karr CLI into a single distributable binary, or benchmarking such a binary against the perl CLI — pp / PAR::Packer, staticperl, standalone/single-file build, "no perl on the target", cold-start pick/move/claim timing. Covers the libgit2 FFI-dlopen trap and the dynamically loaded App::karr::Cmd::* classes that a packer's scanner never sees.
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
# Packing karr into a single binary Goal: one file you ship that runs `karr` on a box with no CPAN install. The Perl side is easy. The hard part is that **libgit2 is opened by FFI at runtime**, not linked at build time — so a naive pack builds fine and then dies on first git access. Read the verdict, avoid the three traps, follow the runbook. ## Verdict: which packer - **App::FatPacker — no.** It inlines only pure-Perl `.pm` files. karr pulls XS (`YAML::XS`, a JSON XS backend, `FFI::Platypus`) and a C library (`libgit2`). FatPacker cannot carry either. Dead on arrival — don't spend time here. - **staticperl — no (for karr).** A true `--static` binary cannot reliably `dlopen`, and libgit2 is loaded via FFI/`dlopen` at runtime → git dies. Without `--static` you must ship the `.so`s anyway, so it is no longer one file. It solves only the XS-perl part and adds nothing for the C lib. Timebox any attempt and abort on the first `.so` error. Why, and the exact abort signals: `references/staticperl-dead-end.md`. - **PAR::Packer (`pp`) — yes.** It bundles the interpreter + XS `.so`s + the Alien share dir into one executable that extracts to a runtime cache where FFI …
Read the whole file at its exact version.
How to install
mdr add getty/karr/karr-single-binary@sha256:b3492be47fc6d761The line at the top of this page pins the label git:20260927.09f2607, 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_5lawnimqwlklc2oj)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Sep 14, 2026 and Sep 27, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260927.09f2607 latest | 2026-09-27 | 09f2607 | 6,072 B | A | view · diff |
| git:20260914.a31c469 | 2026-09-14 | a31c469 | 5,087 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 (6072 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
getty/karr · 10 stars · license Artistic-2.0 · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5lawnimqwlklc2oj GET https://markdownregistry.com/api/v1/resolve?ref=getty/karr/karr-single-binary GET https://markdownregistry.com/api/v1/blob/b3492be47fc6d76128cef2a5c79c24d80b7da91d1b11948490a322cd6f858b1b
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.