openpress-deploy

openpress-deploy is a skill for Claude Code, Codex from quan0715/open-press. It costs 49 tokens per session (672 once invoked), scanned A, original, MIT.

A deployment guide for publishing an open-press document to public hosting, especially Cloudflare Pages. It checks deployment settings, prepares a release, and reports the public links after publishing.

In plain words
What is it for?
Use it to inspect deployment settings, run preflight checks or dry runs, stage a release, and publish only after confirming the target project.
Why use it?
It helps catch configuration problems before release and keeps publishing separate from creating or editing the document itself.

Skill for Claude CodeCodex

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

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/quan0715/open-press/openpress-deploy
Any agent
npx skills add quan0715/open-press --skill openpress-deploy
Clone the repo
git clone --depth 1 https://github.com/quan0715/open-press

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 openpress-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/quan0715/open-press/openpress-deploy.svg)](https://agentmods.dev/skills/quan0715/open-press/openpress-deploy)
Your own site
<a href="https://agentmods.dev/skills/quan0715/open-press/openpress-deploy"><img src="https://agentmods.dev/badge/skills/quan0715/open-press/openpress-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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.00049 $0.00672
Opus 5 $0.00024 $0.00336
Sonnet 5 $0.00010 $0.00134
Haiku 4.5 $0.00005 $0.00067

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

Security

Grade A, and why

openpress-deploy 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.

skills/openpress-deploy/SKILL.md · 95 lines

How it starts

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

open-press Deploy

open-press deploy owns the public-release gate. Use it only when the user asks to configure, inspect, dry-run, or publish an open-press document.

Responsibilities

  • Inspect deploy config in openpress/settings.json under the "deploy" field.
  • Check target adapter, staging source, project name, and confirmation settings.
  • Run deploy preflight and dry runs.
  • Keep secrets out of source files.
  • Require explicit confirmation before publishing.
  • Report the public URL and, when included, the PDF URL after successful deploy.

Boundaries

  • openpress owns generic CLI usage, non-deploy validation, local review, and the source/generated boundary.
  • openpress-create-pages owns page artifact content and visual readiness.
  • openpress-create-slide owns slide deck content and visual readiness.
  • This skill owns public target confirmation and deploy execution.

Public Deploy Rule

Never publish without a clear confirmation that names the target project.

Good confirmation shape:

This will publish the current open-press build to Cloudflare Pages project `<projectName>` from `<deploy.source>`.
Do you want me to deploy now?

Preflight

Before real deploy, run the commands that prove the output is ready:

npm run build              # validates + renders dist-react/

Also scan public-facing source for unfinished markers:

rg "\\[TODO:|\\[FIX:|\\[DRAFT:" "press/*/chapters" press/design.md

PDF Size Limit

Cloudflare Pages rejects any single file larger than 25 MB. A multi-press or image-heavy PDF commonly exceeds this limit.

Unless the user explicitly asks to publish the PDF, deploy without it:

npm run openpress:deploy -- --confirm --no-pdf

--no-pdf skips PDF generation and excludes it from the deploy source entirely.

If the user wants to check the PDF size first:

npm run openpress:pdf
du -sh .deploy/**/*.pdf 2>/dev/null

If the PDF is over 25 MB and the user still wants it publicly hosted, recommend a separate host (Cloudflare R2, S3, etc.). OpenPress does not currently expose an authored external-PDF URL field, so do not invent one in openpress/settings.json; report the separate URL in the delivery handoff.

Read the full file on GitHub · 95 lines

Files

What ships with it

1 file 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. 5d ago First seen · 95 lines · 49 tokens per session scan A e7b635fa74ad

Subscribe to this mod's changes

openpress-deploy is a skill published in the GitHub repository quan0715/open-press (14 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 672 once invoked, about $0.0002 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

kb-import

Import knowledge from existing documents into structured KB entries. Reads source documents (Markdown, PDF, DOCX, plain text), extracts key information, and creates properly formatted KB entries with YAML frontmatter.

techwolf-ai/ai-first-toolkit · 42 tokens

explain-document

This skill should be used when the user says "explain this document", "interpret this file", "what does this plan commit me to", "what does this ADR say", "interpret this architecture doc", "what does this AI-generated plan actually mean", "decompile this doc", "what's this file saying", "explain this to me in plain…

RadOrigin-LLC/RAD-Claude-Skills · 150 tokens

prose-clarity

Rewrite and self-check drafted prose against a machine-checkable clarity standard derived from ASD-STE100 (Simplified Technical English) — no marketing adjectives, no phrasal verbs, no semicolons, active voice, short sentences, and a required carve-out for the epistemic hedge markers the evidence ledger depends on.…

synaptiai/synapti-marketplace · 146 tokens

doc-package-contract

Enforce the fixed 23-file, 8-directory documentation package under the resolved output root — routing each document to its required-content contract in references/package-contract-.md, stamping the internal or public header, and refusing to add, drop, rename, or merge a canonical file. Use when scaffolding a package…

synaptiai/synapti-marketplace · 119 tokens

accounting-workflow

End-to-end Malaysian accounting engagement workflow. Takes a client folder and produces accrual-basis financial statements (Excel working papers + PDF) compliant with MPERS / MFRS / ITA 1967. Covers Sole Proprietor, Partnership, Sdn Bhd, Berhad, and NGO. USE THIS SKILL when the user wants to: Start or continue an…

mecheri-prog/skills · 359 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

mcwalrus/oppertunity-party · 92 tokens