bensz-rmd-rules

bensz-rmd-rules is a skill for Claude Code, Codex from huangwb8/skills. It costs 118 tokens per session (2,373 once invoked), scanned A, original, MIT.

A set of rules for creating R Markdown analysis scripts. R Markdown combines written explanation, R code, calculations, and results in one document.

In plain words
What is it for?
Use it when writing R scripts or R Markdown reports that process data, apply business filters, create publication-quality charts, and explain results.
Why use it?
It helps keep data processing separate from presentation, preserve complete data, and make analyses easier to read and review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing R scripts or R Markdown reports that process data, apply business filters, create publication-quality charts, and explain results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huangwb8/skills/bensz-rmd-rules
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huangwb8/skills --skill bensz-rmd-rules
Clone the repo
git clone --depth 1 https://github.com/huangwb8/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bensz-rmd-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/huangwb8/skills/bensz-rmd-rules/github.svg)](https://agentmods.dev/skills/huangwb8/skills/bensz-rmd-rules)
Your own site
<a href="https://agentmods.dev/skills/huangwb8/skills/bensz-rmd-rules"><img src="https://agentmods.dev/badge/skills/huangwb8/skills/bensz-rmd-rules/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bensz-rmd-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/huangwb8/skills/bensz-rmd-rules"><img src="https://agentmods.dev/badge/skills/huangwb8/skills/bensz-rmd-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,373 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.02373
Opus 5.5 $0.00047 $0.00949
Sonnet 5.5 $0.00024 $0.00475
Haiku 4.5 $0.00012 $0.00237

Measured 4d ago against content hash ae3f813a03f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bensz-rmd-rules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/new_project.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/beta/bensz-rmd-rules/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bensz-rmd-rules

目标

用 R 完成可复现的深度分析。让读者理解判断,并能回查数据、公式、代码和重建入口。

流程

输入

核对读者、决定、设计、输入、授权、现有入口、环境、结果和报告。区分用户要求、预设与探索。先做可检验部分,关键口径或授权不明时再询问。

执行步骤

  1. 界定科学问题。 列出影响主要决定的判断、来源、比较及分析单位、证据位置和结论边界。区分开发、留出确认、部署检验和探索诊断,明确人群、尺度、分母、缺失、依赖和不确定性。推断与报告

    涉及临床预测模型的开发、验证、比较或应用时,先读临床预测模型评价指南,再确定数据用途、评价指标和分析优先级。只维护已有报告中的模型结果或解读时,也先读指南,按本轮范围核对并复用有效结果。评价深度取决于研究目标、数据条件和授权范围。

  2. 正式计算与环境。 用 targets 声明输入、参数、函数和环境依赖,分阶段清洗、定义样本、估计、诊断和验证稳健性。Rmd 在 renv 锁定环境读取已核验结果。沿用已有入口,无框架时在独立目录接入授权输入,新项目可取用、调整或跳过骨架。计算、环境与重建

  3. 完成论文式论证。 新分析写摘要、引言、数据与方法、按问题组织的结果、质控与数字核对、讨论及可复现性。先做主要分析,再补影响判断的诊断。并列效应、区间、门槛和判断,说明未运行、不可估、偏离方案及其他证据边界。YAML title 写清对象与范围,结果确定后复核题名。新写或改写摘要依次标明背景、方法、结果、结论。局部维护遵守授权。完整报告

  4. 用能逐步运行的代码展示结果。 用白话或手算假例引出难点的正式定义。主图展示绘图数据、字段和实际绘图代码。关键表格展示决定读数的计算。核心模型展示样本构建、实际参数及已执行的训练或验证。默认展开关键片段,交代运行前需要的对象和设置,让读者能逐步运行并检查中间结果。共用逻辑可链接到报告内展示的位置,渲染复用已核验的正式结果。内联 R 引用事实,解读、讨论及摘要结论直接写入 Markdown。代码与数字

  5. 验收与重建。 顺读 HTML,复述判断、量级、反例及边界,回查正式结果与实现,修改后复读。在桌面和窄屏查公式、代码、图表及链接。新建或改动计算时,用隔离副本和合成输入或授权子集走正式入口,按风险验证复用、失效、恢复和重建。测试与交付

  6. 按需交付论文用图。 仅在用户明确要求制作论文用图时,分析和报告验收后复用已核验的正式结果,按论文用图规范导出整图、逐张审阅成品并撰写配套稿件。已有分析与报告时直接从正式结果接续,缺失或失效结果由项目正式入口补齐。用户指定的交付规格优先。

输出

交付 Rmd、同目录同名 HTML(默认)、分析代码、环境锁及需保留的结果与明细。给出启动位置、环境恢复、正式重建和适用的单独渲染命令、结果来源及实测范围。报告语言随用户要求或任务,图表默认英文,可明确覆盖。图表语言

输出管理

按需使用 raw/(受保护输入)、products/(科学结果)、reports/(图表与补充交付)、_targets/(可重建计算存储)。测试副本放独立测试目录,草稿、审阅与日志归任务工作区。

多份独立报告默认用 01.01.01- 三级阅读编号,Rmd 与 HTML 同名,README 顶部按编号链接 HTML。主报告给出主要证据及边界,选读说明补足的证据并互链对应小节。单报告可省略前缀,既有文件优先用索引指路。多报告的阅读顺序

新建 HTML 默认 Liquid Glass。已有报告沿用主题和入口。新写或修订完整报告时,页首单显 YAML 题名,正文按 Markdown 层级自动编号,遵从用户或投稿模板的明确设置。主题与章节编号

校验

验算主张、正式数字和图表。从成品回查主图的输入到绘图、主表的输入到读数,以及核心模型实际执行的步骤,确认可见代码对应本次结果。说明质控状态、异常影响与处置及未决问题。改计算或数字引用时,用隔离输入验证正文、图表同步变化。复杂项目只改正文时核对有效估计未重算。分别报告预检、轻量运行、全量运行和浏览器验收。

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +5 lines · +15 tokens per session ae3f813a03f0
  2. 8d ago Changed · +2 lines · +11 tokens per session 693492945070
  3. 9d ago Changed · +7 lines · -6 tokens per session 28542f3c1b72
  4. 10d ago Changed · -71 lines · -36 tokens per session f5f94a51ecc1
  5. 18d ago Changed · +13 lines 9a2c09ea0858
  6. 2mo ago Changed · +1 lines be1a062a9e15
  7. 2mo ago Changed · -81 lines 9e42596edd88
  8. 2mo ago Changed · +1 lines 8b9a22e0781c
  9. 2mo ago Changed · -21 lines · +44 tokens per session df4dfc8f3d72
  10. 2mo ago First seen · 227 lines · 90 tokens per session scan A 8a905d2b75b1

Subscribe to this mod's changes

bensz-rmd-rules is a skill published in the GitHub repository huangwb8/skills (51 stars, last pushed 2d ago), licensed MIT. It adds 118 tokens to every session and 2,373 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

bensz-rmd-rules compared with skills from other repositories

bensz-rmd-rules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bensz-rmd-ruleshuangwb8/skillsSkill512d agoMITA118Claude Code, Codex
voice-calibrationraulpetruta/voice-calibration-pluginSkill142mo agoMITA94Claude Code
boostpromptAirtonLira/boostpromptSkill123mo agoMITA30Claude Code
baoyu-comicJimLiu/baoyu-skillsSkill28k11d agoMITA61Claude Code
turbosmnandre/symfony-ux-skillsSkill1908d agoMITA230Claude Code
playwright-frontendtestdino-hq/playwright-skillSkill4276d agoMITA92Claude Code, Codex
syncBorda/AI-RigSkill31yesterdayApache-2.0A21Claude Code, Codex