infrastructure-publishing

infrastructure-publishing is a skill for Claude Code, Codex from docxology/template. It costs 127 tokens per session (2,444 once invoked), scanned A, original, Apache-2.0.

A collection of tools for publishing research software and academic work. It supports citations, DOIs, journal and preprint submissions, package releases, website deployment, and archival copies.

In plain words
What is it for?
Use it to prepare citations, publish to Zenodo or arXiv, release packages on PyPI, create GitHub releases, deploy static sites, and archive materials.
Why use it?
It brings publication and distribution tasks into one workflow instead of handling each platform manually.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/docxology/template/publishing
Any agent
npx skills add docxology/template --skill publishing
Clone the repo
git clone --depth 1 https://github.com/docxology/template

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 infrastructure-publishing

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/publishing.svg)](https://agentmods.dev/skills/docxology/template/publishing)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/publishing"><img src="https://agentmods.dev/badge/skills/docxology/template/publishing.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00127 $0.02444
Opus 5 $0.00063 $0.01222
Sonnet 5 $0.00025 $0.00489
Haiku 4.5 $0.00013 $0.00244

Measured yesterday against content hash 4d30aeda3b49, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

infrastructure-publishing 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 yesterday.

The scan reads SKILL.md. This mod also ships 48 executable files (__init__.py, __main__.py, _adapter_http.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.

infrastructure/publishing/SKILL.md · 284 lines

How it starts

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

Publishing Module

Academic publishing and dissemination tools for research projects.

For the release-operator workflow, start with docs/guides/publication-runbook.md. It is the front door for standalone public GitHub mirrors, real Zenodo DOI minting, new-version releases, optional mirrors, status blocks, and archival handoff.

Platform subpackages

Path Use when
infrastructure.publishing.zenodo Zenodo deposit, upload, publish, DOI
infrastructure.publishing.github GitHub release + assets
infrastructure.publishing.arxiv arXiv tarball from manuscript tree
infrastructure.publishing.pypi PyPI / TestPyPI package distribution
infrastructure.publishing.static_site GitHub Pages, Cloudflare Pages, or Netlify deployment
infrastructure.publishing.archival IPFS Pinata, Web3.Storage, Software Heritage, Zenodo mirror
infrastructure.publishing.registry Enumerate or look up all platform adapters

Root exports (infrastructure.publishing) and platforms.py / api.py remain for backwards compatibility.

Publication metadata

from infrastructure.publishing import PublicationMetadata, extract_publication_metadata

metadata = extract_publication_metadata([Path("manuscript/01_introduction.md")])

The publication: block in manuscript/config.yaml records durable identifiers (doi, version_doi, version_record, github_repository, repository_url). The publication.published_artifacts key — a {platform_name: durable_url} map — records artifacts published outside those fields (e.g. an IPFS CID or a HuggingFace dataset URL) and is consumed by status_report.py to mark those platforms as published.

Citation generation

The Python API exposes BibTeX, APA, and MLA helpers. The infrastructure.publishing.cli generate-citation command currently exposes BibTeX only.

from infrastructure.publishing import (
    generate_citation_bibtex,
    generate_citation_apa,
    generate_citation_mla,
)

bibtex = generate_citation_bibtex(metadata)

Read the full file on GitHub · 284 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 284 lines · 127 tokens per session scan A 4d30aeda3b49

Subscribe to this mod's changes

infrastructure-publishing is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 127 tokens to every session and 2,444 once invoked, about $0.0006 per session on Opus 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-09-03.

Related

Other skills, from other repositories

release

Execute the weekly release checklist for any uFawkes repo. Use when an increment is ready to ship. Implements the write-once-ship-four-times pattern: README → CHANGELOG → GitHub Release → dev.to → LinkedIn → ufawkes.dev.

paruff/uFawkesAI · 56 tokens

ship

Use when a change is ready to land. Runs the full sequence — branch, quality gate, commit, push, PR — so nothing gets skipped.

HumanDealer/vibeproof · 32 tokens

skill-skill

Use this skill when the user has a working AI rule or skill file and wants to package and publish it as a GitHub repository end to end. Trigger when the user says 'I have a skill, help me publish it', 'turn my prompt into a GitHub repo', 'publish my Cursor rule', 'put this skill on GitHub end to end', 'walk me through…

haorantang97/LabKit · 134 tokens

share-a-library

Use when a managed library is ready to publish to GitHub and hand to teammates as an install command. Run the GitHub publishing steps, then return the exact shareable install command.

MoizIbnYousaf/Ai-Agent-Skills · 41 tokens

planning-with-files

Persistent file-based planning for multi-step AI-agent work. Keeps taskplan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent session records and…

mxyhi/ok-skills · 117 tokens

shep-kit:commit-pr

Use when ready to commit, push, and create a PR with CI verification. Triggers include "commit and pr", "push pr", "create pr", "ship it", or when implementation is complete and needs CI validation. Watches CI and auto-fixes failures. Part of the Shep autonomous SDLC platform — https://shep.bot.

shep-ai/shep · 76 tokens