perl-file-sharedir SKILL.md skillA
perl-file-sharedir 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/perl-file-sharedir@git:20260926.5c5c737Pins git:20260926.5c5c737 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/perl-file-sharedir/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260926.5c5c737, committed Sep 26, 2026
- First version recorded
- May 15, 2026
- Size
- 4,813 bytes
- Repository stars
- 10
- License
- Artistic-2.0
Use when packaging or reading non-code data files in a Perl distribution — File::ShareDir, the share/ layout, Dist::Zilla wiring, the development fallback.
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
# File::ShareDir — Distribution Share Files
Share files are non-code data files (templates, schemas, configs, word lists, skill definitions) shipped with a Perl distribution and accessible at runtime.
## Directory layout
```
my-dist/
lib/
share/ ← convention, configurable
templates/
schema.json
kanban-issues-karr-coordination/
dist.ini
```
## Dist::Zilla setup
`[ShareDir]` is part of `@Basic`, which is included in `[@Author::GETTY]`. So **no extra config needed** — just put files in `share/` and they get packaged automatically.
To override the directory name (default is `share/`):
```ini
[ShareDir]
dir = data
```
## Runtime access
### After installation (production)
```perl
use File::ShareDir 'dist_dir';
use Path::Tiny;
my $share = path( dist_dir('My-Dist') );
my $template = $share->child('templates/main.html')->slurp_utf8;
```
Key functions:
| Function | Returns |
|----------|---------|
| `dist_dir('Dist-Name')` | Share directory path for a distribution |
| `dist_file('Dist-Name', 'file.txt')` | Full path to a specific file |
| `module_dir('Module::Name')` | Per-module share dir (rarely used) |
…Read the whole file at its exact version.
How to install
mdr add getty/karr/perl-file-sharedir@sha256:04932c6f8882c6b7The line at the top of this page pins the label git:20260926.5c5c737, 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_r5tl7mylaque5c6w)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between May 15, 2026 and Sep 26, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260926.5c5c737 latest | 2026-09-26 | 5c5c737 | 4,813 B | A | view · diff |
| git:20260907.30433d4 | 2026-09-07 | 30433d4 | 4,628 B | A | view · diff |
| git:20260819.4786038 | 2026-08-19 | 4786038 | 4,132 B | A | view · diff |
| git:20260515.2068880 | 2026-05-15 | 2068880 | 4,100 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 (4813 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_r5tl7mylaque5c6w GET https://markdownregistry.com/api/v1/resolve?ref=getty/karr/perl-file-sharedir GET https://markdownregistry.com/api/v1/blob/04932c6f8882c6b7a6d5d0e4312f90cf26ea99fa0bfee4ddf7b913183492c979
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.