pub-pipeline

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

A publication-workflow router that identifies whether a project is an R package, Python package, or academic paper and sends it to the matching process.

In plain words
What is it for?
Use it to route R packages toward CRAN or JOSS publishing, Python packages toward PyPI, or ambiguous projects toward a clarification step.
Why use it?
It avoids starting the wrong publishing workflow when a project type is unclear or several project types are present.

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 route R packages toward CRAN or JOSS publishing, Python packages toward PyPI, or ambiguous projects toward a clarification step.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/queelius/claude-anvil/pub-pipeline"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/pub-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 558 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.00040 $0.00558
Opus 5.5 $0.00016 $0.00223
Sonnet 5.5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

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/pub-pipeline/SKILL.md · 52 lines

How it starts

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

Publication Pipeline Router

Detect the current project type and route to the appropriate publication workflow.

Detection Logic

Check the current working directory for project type indicators:

Check Project Type Route To
DESCRIPTION file with Package: field R package /r-publish (the r-pub-pipeline skill)
pyproject.toml or setup.py or setup.cfg Python package /pypi-publish (the pypi-publish skill)
.tex sources plus a built .pdf, no package files Academic paper Not handled here: tell the user this looks like a paper and point at the papermill plugin
Multiple types detected Ambiguous Ask the user which workflow to run
None detected Unknown Ask the user what they want to publish

Workflow

Step 1: Detect project type (Glob tool)

Search the current directory for:

  • DESCRIPTION (R package indicator; verify it contains a Package: field)
  • pyproject.toml, setup.py, setup.cfg (Python package indicators)
  • *.tex plus a built *.pdf with neither of the above (academic paper: route the user to papermill)

Step 2: Load user config (Read tool)

Read .claude/pub-pipeline.local.md if it exists. If missing, inform the user and offer to create one from the template at ${CLAUDE_PLUGIN_ROOT}/docs/user-config-template.md.

Step 3: Route

Based on detection, invoke the appropriate ecosystem skill. If the project type is ambiguous (e.g., both DESCRIPTION and pyproject.toml exist), present options to the user and ask which publication workflow to run.

Supported Ecosystems

Ecosystem Skills Commands
R packages cran-audit, joss-audit, joss-draft, r-pub-pipeline /cran-audit, /joss-audit, /joss-draft, /r-publish
Python packages pypi-publish /pypi-publish

Reference Files

  • ${CLAUDE_PLUGIN_ROOT}/docs/user-config-template.md — Shared user config template

Read the full file on GitHub · 52 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 · 52 lines · 40 tokens per session scan A b783a6585e41

Subscribe to this mod's changes

pub-pipeline is a skill published in the GitHub repository queelius/claude-anvil (2 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 558 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

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

karpenter

Design, install, debug, review, plan capacity, audit scaling history, migrate from Cluster Autoscaler, and upgrade Karpenter v1.x on EKS. Covers NodePool, EC2NodeClass, NodeClaim, Spot diversity, disruption strategy, Pod Identity/IRSA, interruption queue, private clusters, AMI rotation, and GitOps integration. Use…

nitinjain999/platform-skills · 131 tokens

pr-review

Comprehensive PR review across six dimensions — cost impact, environment drift, ownership gaps, SOC 2 compliance, deprecated API / version hygiene, and rollback feasibility. Each mode inspects the diff and current file state, reports findings with severity, and recommends concrete fixes. Use when preparing a PR for…

nitinjain999/platform-skills · 81 tokens

alive:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 tokens

azure

Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and production-readiness review — with Terraform generation.

nitinjain999/platform-skills · 39 tokens

kubescape

Check Kubernetes manifests, Helm charts, Kustomize overlays and live clusters against NSA-CISA, MITRE ATT&CK, CIS (EKS, AKS, GKE, vanilla) and SOC2 with the Kubescape CLI. Covers framework choice, score and severity gates, PR gates that fail only on new findings (--baseline), exceptions that actually suppress…

nitinjain999/platform-skills · 217 tokens