rd-author

rd-author is a skill for Claude Code, Codex from Merck/ReactiveDynamics.jl. It costs 75 tokens per session (2,233 once invoked), scanned A, original, MIT.

Phase 2 of an rd-study — compile a decision brief into a ReactiveDynamics model document (.rdj.json), one file per experimental arm, and iterate to zero validation diagnostics. Covers places, transitions, arcs, the three modality axes, structured tokens, expression nodes, and the host.jl registry seam. Use after…

Skill for Claude CodeCodex

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

Install with agentmods
npx agentmods add skills/merck/reactivedynamics.jl/rd-author
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 Merck/ReactiveDynamics.jl --skill rd-author
Clone the repo
git clone --depth 1 https://github.com/Merck/ReactiveDynamics.jl

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 rd-author

README.md
[![agentmods](https://agentmods.dev/badge/skills/merck/reactivedynamics.jl/rd-author/github.svg)](https://agentmods.dev/skills/merck/reactivedynamics.jl/rd-author)
Your own site
<a href="https://agentmods.dev/skills/merck/reactivedynamics.jl/rd-author"><img src="https://agentmods.dev/badge/skills/merck/reactivedynamics.jl/rd-author/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 rd-author

Your own site · 80×15
<a href="https://agentmods.dev/skills/merck/reactivedynamics.jl/rd-author"><img src="https://agentmods.dev/badge/skills/merck/reactivedynamics.jl/rd-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,233 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.
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.00075 $0.02233
Opus 5.5 $0.00030 $0.00893
Sonnet 5.5 $0.00015 $0.00447
Haiku 4.5 $0.00007 $0.00223

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

Security

Grade A, and why

rd-author 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 today.

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.

agent/skills/rd-author/SKILL.md · 144 lines

How it starts

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

rd-author — compile the brief into a model document

The brief's slots table is your input; a validate-clean .rdj.json per arm is your output. A model is data — one JSON document, no Julia, closed node vocabulary. That is not a stylistic preference: the document is what makes the model reviewable, diffable, replayable, and safe to accept from an agent.

Read agent/reference/model_schema.md now. It is generated from the engine, so it is the authority on every key, column, operator and verb. This skill is the judgement layer on top of it; when the two disagree, the generated reference wins.

The shape

{
  "rd_format": "reactive-dynamics-model", "version": 1.0,
  "meta":        { "tspan": 48.0, "dt": 1.0 },
  "params":      [ { "name": "hit_rate", "value": 0.55 } ],
  "places":      [ { "name": "scientist", "init": 4.0 } ],
  "transitions": [ { "id": "trial", "rate": 1.5, "cycletime": 4.0 } ],
  "arcs":        [ { "transition": "trial", "place": "scientist", "side": "lhs" } ],
  "population":  [ ]
}

meta.tspan is required. transitions[].id is the FK every arc points at. Arcs are a flat list, not nested under transitions — which is what lets you diff one arc without touching anything else.

Work in this order

  1. Places — one per slot in the brief's resource and outcome rows. init, and cost/reward where value flows.
  2. Transitions — one per process. rate, cycletime, prob_of_success, priority.
  3. Arcs — the wiring, with modality. This is where the modeling lives and where the errors are.
  4. Population — starting tokens, if the study has structured items.
  5. Validate, repair, repeat until zero diagnostics.
  6. Arms — copy the baseline, change the lever, nothing else.

Modality: the axis that decides whether your model is right

Every lhs arc carries three independent axes. Omitting modality means consumed.

{ "transition": "trial", "place": "scientist", "side": "lhs",
  "modality": { "allocation": "upfront", "return": "conserved", "blocking": "block" } }

Read the full file on GitHub · 144 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. today First seen · 144 lines · 75 tokens per session scan A f3de1cbf6755

Subscribe to this mod's changes

rd-author is a skill published in the GitHub repository Merck/ReactiveDynamics.jl (17 stars, last pushed 25d ago), licensed MIT. It adds 75 tokens to every session and 2,233 once invoked, about $0.0003 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-11-07.

Related

rd-author compared with skills from other repositories

rd-author next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rd-authorMerck/ReactiveDynamics.jlSkill1725d agoMITA75Claude Code, Codex
debug-inferenceNVIDIA/OpenShellSkill21kyesterdayApache-2.0A120Claude Code, Codex
oh-my-poshJanDeDobbeleer/oh-my-poshSkill24k2d agoMITA47Claude Code, Codex
spark-engineerJeffallan/claude-skillsSkill12k7d agoMITA75Claude Code
pysrastroautomata/PySRSkill4.2k4d agoApache-2.0A61Claude Code, Codex
eval-triagelangwatch/langwatchSkill5.0kyesterdayApache-2.0A51Claude Code, Codex
docetlucbepic/docetlSkill4.2k7d agoMITA59Claude Code, Codex