r-pub-pipeline

r-pub-pipeline is a skill for Claude Code from queelius/claude-anvil. It costs 46 tokens per session (2,263 once invoked), scanned A, original, MIT.

A workflow for publishing an R package through CRAN, the main public distribution service for R packages, and preparing papers about it for JOSS or optionally JSS. JOSS is a peer-reviewed software journal, while JSS publishes methods papers.

In plain words
What is it for?
Use it to assess an R package, prepare a CRAN submission, draft a JOSS paper for a DOI and peer review, and optionally prepare a JSS methods paper.
Why use it?
It organizes several audits, writing steps, and review cycles into one publication process instead of handling them as disconnected tasks.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pub-pipeline plugin — 6 skills, 5 commands, 5 agents shipped together

Good fit Use it to assess an R package, prepare a CRAN submission, draft a JOSS paper for a DOI and peer review, and optionally prepare a JSS methods paper.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add queelius/claude-anvil
Claude Code
/plugin install pub-pipeline

Made for: Claude Code.

Or install pub-pipeline, the plugin that ships this one along with the rest of its 6 skills, 5 commands, 5 agents.

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 r-pub-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/queelius/claude-anvil/r-pub-pipeline/github.svg)](https://agentmods.dev/skills/queelius/claude-anvil/r-pub-pipeline)
Your own site
<a href="https://agentmods.dev/skills/queelius/claude-anvil/r-pub-pipeline"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/r-pub-pipeline/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 r-pub-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/queelius/claude-anvil/r-pub-pipeline"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/r-pub-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,263 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.00046 $0.02263
Opus 5.5 $0.00018 $0.00905
Sonnet 5.5 $0.00009 $0.00453
Haiku 4.5 $0.00005 $0.00226

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

Security

Grade A, and why

r-pub-pipeline 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.

pub-pipeline/skills/r-pub-pipeline/SKILL.md · 207 lines

How it starts

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

R Package Publication Pipeline

Orchestrate the full publication pipeline for R packages: CRAN submission → JOSS paper → optionally JSS methods paper. This skill coordinates the other skills (/cran-audit, /joss-audit, /joss-draft) into a coherent workflow.

Strategy

The recommended publication order for R packages:

  1. CRAN — Distribution, discoverability, installation via install.packages()
  2. JOSS — Quick DOI, peer-reviewed citation, Crossref/Google Scholar indexing
  3. JSS (optional) — High-prestige methods paper, Web of Science indexed

Each stage builds on the previous. CRAN gives the package legitimacy. JOSS gives it a citable DOI. JSS gives the methodology academic weight.

Workflow

Phase 1: Assess Current State

Start by understanding where the package stands:

Load user config (Read tool): Read .claude/pub-pipeline.local.md if it exists. Extract author metadata, r.domain, r.audience, r.competitors, r.targets (e.g., ["CRAN", "JOSS"]), and related_work from the YAML frontmatter. If related_work contains companion papers or preprints, note them, since they affect the JOSS paper (cite companion papers, reference preprint DOIs) and the overall publication strategy.

1. Read DESCRIPTION for package metadata (Read tool)
2. Check git log for development history (Bash tool)
3. Look for existing paper.md, CITATION.cff (Glob tool)
4. Check if already on CRAN — search https://cran.r-project.org/package={name} (WebFetch tool)
5. Check if already on JOSS — search joss.theoj.org (WebSearch tool)

Dependency chain (Bash tool): Parse Imports, Depends, and LinkingTo from DESCRIPTION. For each non-base/non-recommended package, verify it exists on CRAN:

Rscript -e 'ap <- available.packages(); cat("PKG_NAME" %in% rownames(ap))'

If any dependency is not on CRAN, this is a hard blocker — the package cannot pass R CMD check --as-cran. Present the submission order (publish dependencies first) and offer to switch to the dependency package. Also check r.dependency_chain in the user config for structured dependency status.

Read the full file on GitHub · 207 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 · 207 lines · 46 tokens per session scan A 6ac0beb3bf3e

Subscribe to this mod's changes

r-pub-pipeline is a skill published in the GitHub repository queelius/claude-anvil (2 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 2,263 once invoked, about $0.0002 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-10-19.

Related

Other skills, from other repositories

reinforcement-learning

Reinforcement Learning best practices for Python using modern libraries (Stable-Baselines3, RLlib, Gymnasium). Use when: Implementing RL algorithms (PPO, SAC, DQN, TD3, A2C) Creating custom Gymnasium environments Training, debugging, or evaluating RL agents Setting up hyperparameter tuning for RL Deploying RL models…

Aznatkoiny/zAI-Skills · 86 tokens

cpp-reinforcement-learning

C++ Reinforcement Learning best practices using libtorch (PyTorch C++ frontend) and modern C++17/20. Use when: Implementing RL algorithms in C++ for performance-critical applications Building production RL systems with libtorch Creating replay buffers and experience storage Optimizing RL training with GPU acceleration…

Aznatkoiny/zAI-Skills · 83 tokens

auto-research

Autonomous research loop that iteratively improves code through experiments. Runs experiments on local or remote GPUs, tracks results, keeps improvements, discards failures, and never stops. TRIGGER THIS SKILL when users want to autonomously research, optimize, or experiment on a problem — whether they say "run…

christyjacob4/claude-tricks · 170 tokens

alphaxiv-paper-lookup

Look up any arxiv paper on alphaxiv.org to get a structured AI-generated overview. This is faster and more reliable than trying to read a raw PDF.

christyjacob4/claude-tricks · 40 tokens

manim-video

Create mathematical, geometric and scientific videos with Manim Community in Python. Use when animating equations, graphs, transformations or educational explanations; distinguish Manim Community from ManimGL and deliver a rendered, inspected video.

WrongStack/WrongStack · 47 tokens

lighting-report-extract

Check reported lighting quantities and results in supplied simulation PDFs without adding repeated calculation surfaces. Use for scoped luminaire inventories and illuminance results; not simulation or compliance.

AlpacaLabsLLC/skills-for-architects · 37 tokens