dev-publish-template

dev-publish-template is a skill for Claude Code, Codex from alecs5am/ralphy. It costs 64 tokens per session (679 once invoked), scanned A, original, Apache-2.0.

A publishing workflow for adding finished Ralphy units and reusable materials to a shared public library.

In plain words
What is it for?
Use it to prepare and validate templates, styles, recipes, and assets, run a dry-run publication, and update the separate library repository.
Why use it?
It keeps project files and library files separate while checking quality, avoiding duplicates, and requiring approval before publishing.

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/alecs5am/ralphy/dev-publish-template
Any agent
npx skills add alecs5am/ralphy --skill dev-publish-template
Clone the repo
git clone --depth 1 https://github.com/alecs5am/ralphy

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 dev-publish-template

README.md
[![agentmods](https://agentmods.dev/badge/skills/alecs5am/ralphy/dev-publish-template.svg)](https://agentmods.dev/skills/alecs5am/ralphy/dev-publish-template)
Your own site
<a href="https://agentmods.dev/skills/alecs5am/ralphy/dev-publish-template"><img src="https://agentmods.dev/badge/skills/alecs5am/ralphy/dev-publish-template.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 679 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.1 $0.00064 $0.00679
Opus 5 $0.00032 $0.00340
Sonnet 5 $0.00013 $0.00136
Haiku 4.5 $0.00006 $0.00068

Measured 5d ago against content hash 0f8fbd6f7e66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dev-publish-template 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 5d ago.

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.

.agents/skills/dev-publish-template/SKILL.md · 68 lines

How it starts

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

Publish a finished unit to the library

This skill bridges two repositories without mixing their responsibilities:

  • The current ralphy repository owns projects, Units, provenance, extraction, and validation.
  • ../ralphy-web owns lib/library-v2/library.json, public media upload, and the /library UI.

Read the templater skill first. It owns extraction, classification, blueprints, and de-duplication.

Hard rules

  1. Do not publish before the unit passes its project and workspace evaluators.
  2. De-duplicate every proposed Template, Style, Recipe, and Asset against the current library before creating a new block.
  3. Run the web publisher in dry-run mode first. --push requires explicit user approval of the entity list and files.
  4. Keep source project artifacts append-only. Publishing reads them; it never moves, rewrites, or deletes them.
  5. Commit and push the ralphy-web repository, not the CLI repository, for library changes. Heavy reusable media belongs in sibling ralphy-assets.
  6. All committed text and commit messages are English-only.

Procedure

  1. Resolve the active workspace, project, and unit slug. Read unit.json, the postmortem, eval output, generation log, and referenced artifacts.

  2. Run the templater classification and emit block specs plus any blueprint.

  3. Compare candidates with ../ralphy-web/lib/library-v2/library.json; reuse existing ids whenever semantics match.

  4. From ../ralphy-web, run the generated publish commands without --push:

    bun run scripts/publish-entity.ts --block-file <block.json>
    bun run scripts/publish-entity.ts --unit <absolute-unit-dir>
    bun run scripts/publish-entity.ts --blueprint <absolute-blueprint-dir>
    
  5. Show the user the dry-run entity list, uploaded-media plan, and exact files that will change. Wait for explicit approval.

  6. Repeat the commands with --push in dependency order: blocks, unit, then blueprint.

  7. In ralphy-web, run its documented lint, typecheck, tests, and build checks; run gitleaks protect --staged --redact; then commit and push the library change.

  8. If media moved to ralphy-assets, verify and commit that repository separately. Never combine repositories in one commit.

  9. Report the published unit id, reused and new block ids, and live /library URL.

Read the full file on GitHub · 68 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. 5d ago First seen · 68 lines · 64 tokens per session scan A 0f8fbd6f7e66

Subscribe to this mod's changes

dev-publish-template is a skill published in the GitHub repository alecs5am/ralphy (129 stars, last pushed 10d ago), licensed Apache-2.0. It adds 64 tokens to every session and 679 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index. Use for accessing large-scale radiology (CT, MR, PET) and pathology datasets for AI training or research. No authentication required. Query by metadata, visualize in browser, check licenses.

synthetic-sciences/openscience · 62 tokens

clinical-reports

Write comprehensive clinical reports including case reports (CARE guidelines), diagnostic reports (radiology/pathology/lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation (SOAP, H&P, discharge summaries). Full support with templates, regulatory compliance (HIPAA, FDA, ICH-GCP), and validation…

synthetic-sciences/openscience · 71 tokens

clinical-decision-support

Generate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading…

synthetic-sciences/openscience · 97 tokens

geo-database

Access NCBI GEO for gene expression/genomics data. Search/download microarray and RNA-seq datasets (GSE, GSM, GPL), retrieve SOFT/Matrix files, for transcriptomics and expression analysis.

synthetic-sciences/openscience · 47 tokens

bioimage-analysis

Microscopy image analysis for cell biology. Cell segmentation (Cellpose, watershed), object tracking (trackpy), morphology quantification, colony counting, colocalization analysis, and cytoskeleton characterization. For pathology WSI use pathml; for flow cytometry use flow-cytometry-analysis.

synthetic-sciences/openscience · 63 tokens

flow-cytometry-analysis

Complete flow cytometry analysis pipeline. FCS file handling, compensation, manual/automated gating, immunophenotyping, CFSE proliferation analysis, cell cycle analysis (Dean-Jett-Fox), and apoptosis assays. Extends flowio with analytical workflows. For raw FCS parsing only use flowio.

synthetic-sciences/openscience · 67 tokens