walnut-markdown-rendering SKILL.md skillA

walnut-markdown-rendering from evanzhang008/open-walnut is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add evanzhang008/open-walnut/walnut-markdown-rendering@git:20261013.45aeb25

Pins git:20261013.45aeb25 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
evanzhang008/open-walnut
Path
.claude/skills/walnut-markdown-rendering/SKILL.md
Versions recorded
6
Latest version
git:20261013.45aeb25, committed Oct 13, 2026
First version recorded
Sep 2, 2026
Size
16,238 bytes
Repository stars
34
License
MIT

How Walnut turns model text into rendered output — the two marked instances and the CJK retunes registered on both, why we extend marked through its public API and never patch it, the rich-HTML block chunker's prefix invariant and blank-line content-model rule, DOMPurify policy per surface, and the marked 15 → 18 upgrade path. MUST read before changing anything in web/src/utils/markdown.ts, rich-blocks.ts, or adding a marked extension.

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

# Markdown & rich-HTML rendering

Every visible model reply goes through `web/src/utils/markdown.ts`. Rich (HTML) replies additionally go through `web/src/utils/rich-blocks.ts` before rendering. Both files are incident-dense: each rule below is a shipped bug.

## Hard rules

1. **Never patch, fork, or vendor `marked`.** It has a public extension API (`marked.use({ tokenizer }|{ extensions })`); use it. Verify before believing otherwise: both installed copies (`node_modules/marked` and `web/node_modules/marked`, both 15.0.12) are byte-identical to the published tarball, and `patches/` holds exactly one patch, for an unrelated package that has no public switch for what it does. A patched renderer has to be re-applied on every install and blocks every upgrade.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add evanzhang008/open-walnut/walnut-markdown-rendering@sha256:105cc04c810c380b

The line at the top of this page pins the label git:20261013.45aeb25, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xhos6zydh2g53ln5.svg)](https://markdownregistry.com/a/art_xhos6zydh2g53ln5)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Sep 2, 2026 and Oct 13, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
git:20261013.45aeb25 latest2026-10-13 45aeb25 16,238 BA view · diff
git:20260930.39c734b2026-09-30 39c734b 16,068 BA view · diff
git:20260924.1311bd52026-09-24 1311bd5 14,067 BA view · diff
git:20260916.3a4fc112026-09-16 3a4fc11 13,309 BA view · diff
git:20260904.bf0f4ef2026-09-04 bf0f4ef 10,066 BA view · diff
git:20260902.8acaa802026-09-02 8acaa80 9,240 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16238 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

GitHub

evanzhang008/open-walnut · 34 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xhos6zydh2g53ln5
GET https://markdownregistry.com/api/v1/resolve?ref=evanzhang008/open-walnut/walnut-markdown-rendering
GET https://markdownregistry.com/api/v1/blob/105cc04c810c380b579e4d29b501fb243a8a6839a5663ae11fc472fb4d0ca0fc

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.

More from evanzhang008/open-walnut

test-and-verify-walnut SKILL.md skill
evanzhang008/open-walnut · .claude/skills/test-and-verify-walnut/SKILL.md · 4-agent pipeline: design + implement code tests + Playwright UI tests + quality gate. Reads walnut-console-ops first.
git:20260923.a2cf102 · audit A · 34 stars
walnut-console-ops SKILL.md skill
evanzhang008/open-walnut · .claude/skills/walnut-console-ops/SKILL.md · Operating the Walnut web UI (localhost:3456) via Playwright MCP tools — understanding the UI layout, chatting with main…
git:20260923.a2cf102 · audit A · 34 stars
walnut-core-internals SKILL.md skill
evanzhang008/open-walnut · .claude/skills/walnut-core-internals/SKILL.md · Deep implementation details for src/core/ — task model (5 text fields, phase lifecycle, dependencies, session slots…
git:20260929.89b1b35 · audit A · 34 stars
walnut-testing SKILL.md skill
evanzhang008/open-walnut · .claude/skills/walnut-testing/SKILL.md · Testing details for the Walnut repo — 5-tier pyramid (unit/integration/e2e/browser/live), per-tier vitest configs &…
git:20260923.a2cf102 · audit A · 34 stars
walnut-web-frontend SKILL.md skill
evanzhang008/open-walnut · .claude/skills/walnut-web-frontend/SKILL.md · Implementation details for web/src/ (React SPA) — session chat single-timeline model (streaming blocks, render-filter…
git:20261004.76c60f1 · audit A · 34 stars
AGENTS.md AGENTS.md file
evanzhang008/open-walnut · AGENTS.md
git:20261020.83cc878 · audit A · 34 stars
CLAUDE.md CLAUDE.md file
evanzhang008/open-walnut · CLAUDE.md
git:20260706.0a2d7f0 · audit B · 34 stars
hello-greetings SKILL.md skill
evanzhang008/open-walnut · examples/plugins/hello-walnut/skills/hello-greetings/SKILL.md · Greet someone using the Hello Walnut plugin's tool. Use when the user asks for a greeting demo, says "greet X", or…
git:20260821.22b34fe · audit A · 34 stars
walnut-demo SKILL.md skill
evanzhang008/open-walnut · examples/plugins/walnut-demo/skills/walnut-demo/SKILL.md · Read the Walnut Plugin Demo's state and explain which Plugin capability does what.
git:20260824.e042aac · audit A · 34 stars
walnut-rhythm SKILL.md skill
evanzhang008/open-walnut · plugin-store/walnut-rhythm/skills/walnut-rhythm/SKILL.md · Start, stop and read Rhythm focus blocks (pomodoros tied to a task) and answer or snooze its stand-up reminder. Use…
git:20260925.ebb4db2 · audit A · 34 stars
restore-backup SKILL.md skill
evanzhang008/open-walnut · skills/restore-backup/SKILL.md · Hands-on disaster-recovery agent for Open Walnut S3 backups. Paste into your OWN Claude Code session — it finds your…
git:20260815.05be0cd · audit A · 34 stars
setup-walnut SKILL.md skill
evanzhang008/open-walnut · skills/setup-walnut/SKILL.md · Hands-on setup agent for Open Walnut. Paste into your OWN Claude Code session. It makes Walnut's Personal AI able to…
git:20260815.5c9de33 · audit A · 34 stars

Every file in evanzhang008/open-walnut

Browse by kind, by grade A, or by owner.