pin-record SKILL.md skillA
pin-record from toongri/oh-my-toong-playground is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add toongri/oh-my-toong-playground/pin-record@git:20260605.aa495d6Pins git:20260605.aa495d6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- toongri/oh-my-toong-playground
- Path
skills/pin-record/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260605.aa495d6, committed Jun 5, 2026
- First version recorded
- Jun 2, 2026
- Size
- 5,131 bytes
- Repository stars
- 25
- License
- MIT
Use when you need to record a single pin entity to the knowledge graph. Invokes lib/pins record() to validate and write a canonical .md file. Triggers on "record pin", "pin this", "save this as a pin".
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
# pin-record
Record a single canonical entity to the pins knowledge graph via `lib/pins/record.ts`.
## API
```bash
printf '%s' "$ENTITY_JSON" | bun "${CLAUDE_SKILL_DIR}/scripts/record.ts"
```
Pipe the JSON-serialized `Entity` object (`{ frontmatter, body }`) to stdin. The script resolves the manifest, calls `record()`, and prints `{"id":"<id>","status":"recorded"|"escaped"}` to stdout.
- `ENTITY_JSON` — a JSON-serialized `Entity` with `frontmatter` + `body` (see `lib/pins/types.ts`)
- The manifest supplies `location` — the manifest-resolved pins directory (from `pins.yaml`)
`record()` validates first. If invalid, the entity is appended to `<location>/.escape.jsonl` and no `.md` file is written. If valid:
- Fresh write: sets `status='active'`; `updated_at` defaults to `created_at` if not provided. Uses `O_EXCL` (`wx` flag) for atomic create.
- Update (id already exists on disk): preserves the original `created_at` from the file on disk; `updated_at` is set to `fm.updated_at ?? createdAt` — it is NOT automatically bumped; if the caller does not supply a new `updated_at`, it stays at `created_at`. Atomically replaces the file via a sibling temp file + `rename`.
…Read the whole file at its exact version.
How to install
mdr add toongri/oh-my-toong-playground/pin-record@sha256:1f4a1b556932b6d5The line at the top of this page pins the label git:20260605.aa495d6, 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_pdohkxh3d45kmvdd)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 2, 2026 and Jun 5, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260605.aa495d6 latest | 2026-06-05 | aa495d6 | 5,131 B | A | view · diff |
| git:20260603.043019a | 2026-06-03 | 043019a | 4,905 B | A | view · diff |
| git:20260602.39fde20 | 2026-06-02 | 39fde20 | 4,083 B | A | view · diff |
| git:20260602.aa94fab | 2026-06-02 | aa94fab | 3,945 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 (5131 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
toongri/oh-my-toong-playground · 25 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_pdohkxh3d45kmvdd GET https://markdownregistry.com/api/v1/resolve?ref=toongri/oh-my-toong-playground/pin-record GET https://markdownregistry.com/api/v1/blob/1f4a1b556932b6d52cdb14db6df576b8c8e489af465248f2edebbdbf642080b7
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.