knit-rmd-html SKILL.md skillA
knit-rmd-html from huangwb8/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add huangwb8/skills/knit-rmd-html@git:20260905.a346b91Pins git:20260905.a346b91 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- huangwb8/skills
- Path
skills/beta/knit-rmd-html/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260905.a346b91, committed Sep 5, 2026
- First version recorded
- Aug 25, 2026
- Size
- 5,242 bytes
- Repository stars
- 50
- License
- MIT
Knit/render R Markdown (.Rmd) to HTML reliably in this repo (auto-bootstrap pandoc, set correct knit_root_dir, and run rmarkdown::render via a Python wrapper).
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
# Knit Rmd → HTML(项目高频场景) ## 目标 Knit/render R Markdown (.Rmd) to HTML reliably in this repo (auto-bootstrap pandoc, set correct knit_root_dir, and run rmarkdown::render via a Python wrapper). 当用户说"knit 出 html / render Rmd / 生成 HTML 报告"时使用本 skill。 版本由 `config.yaml:skill_info.version` 统一管理。 ## 流程 ### 输入 输入为待渲染的 `.Rmd` 路径;可选输入包括项目根目录、输出文件路径、Pandoc 版本/下载选项和 `rmarkdown::render` 参数。渲染前需确认项目 `knit_root_dir`、R 和必要模板资源可用。 ### 执行步骤 #### 直接用法 - 在仓库根目录执行: - `python3 skills/knit-rmd-html/scripts/knit_rmd_html.py <input>.Rmd` - 输出默认写到 `<input>.Rmd` 同目录:`<input>.html` #### 常用参数 - 指定输出文件: - `python3 skills/knit-rmd-html/scripts/knit_rmd_html.py <input>.Rmd -o <output>.html` - 指定 pandoc 版本(默认 `3.8.3`): - `python3 skills/knit-rmd-html/scripts/knit_rmd_html.py <input>.Rmd --pandoc-version 3.8.3` - 不自动安装依赖(只做检测;缺什么就报错): - `python3 skills/knit-rmd-html/scripts/knit_rmd_html.py <input>.Rmd --no-install` - 静默渲染输出: - `python3 skills/knit-rmd-html/scripts/knit_rmd_html.py <input>.Rmd --quiet` #### 设计要点(为何这样做) - **不依赖 R 写脚本**:外层用 Python 做编排与环境自检;真正的 knit 仍由 `rmarkdown::render()` 执行。 - **自动补齐 pandoc**:若系统无 `pandoc`,自动下载安装到 `~/.local/pandoc/` 并将 `~/.local/bin` 放到子进程 `PATH` 前面。 …
Read the whole file at its exact version.
How to install
mdr add huangwb8/skills/knit-rmd-html@sha256:2b45347251904850The line at the top of this page pins the label git:20260905.a346b91, 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_35g3xejel3ouamsw)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 25, 2026 and Sep 5, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260905.a346b91 latest | 2026-09-05 | a346b91 | 5,242 B | A | view · diff |
| git:20260905.7c0ea7c | 2026-09-05 | 7c0ea7c | 5,203 B | A | view · diff |
| git:20260905.8faacfe | 2026-09-05 | 8faacfe | 4,500 B | A | view · diff |
| git:20260905.a39953d | 2026-09-05 | a39953d | 3,949 B | A | view · diff |
| git:20260825.4f192d9 | 2026-08-25 | 4f192d9 | 3,030 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 (5242 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
huangwb8/skills · 50 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_35g3xejel3ouamsw GET https://markdownregistry.com/api/v1/resolve?ref=huangwb8/skills/knit-rmd-html GET https://markdownregistry.com/api/v1/blob/2b45347251904850467e84b55d8c18400f83dbe0f42aa73d6aa0d911896d1766
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.