brewpage-publish-safe

brewpage-publish-safe is a skill for Claude Code from kochetkov-ma/claude-brewcode. It costs 45 tokens per session (442 once invoked), scanned A, original, MIT.

A publishing workflow for sending approved HTML, Markdown, JSON, or files to BrewPage, or updating an exact published item. It stores the access proof needed to manage the published content.

In plain words
What is it for?
Use it to publish or update approved website content and report the reader link and storage result.
Why use it?
It prevents accidental writes when the user has only asked for a draft or instructions. It also requires the target and access choices to be clear and checks content for credentials before publishing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to publish or update approved website content and report the reader link and storage result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe
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.

Any agent
npx skills add kochetkov-ma/claude-brewcode --skill brewpage-publish-safe
Clone the repo
git clone --depth 1 https://github.com/kochetkov-ma/claude-brewcode

Made for: Claude Code.

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 brewpage-publish-safe

README.md
[![agentmods](https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe/github.svg)](https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe)
Your own site
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe/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 brewpage-publish-safe

Your own site · 80×15
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/brewpage-publish-safe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 442 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.00045 $0.00442
Opus 5.5 $0.00018 $0.00177
Sonnet 5.5 $0.00009 $0.00088
Haiku 4.5 $0.00005 $0.00044

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

Security

Grade A, and why

brewpage-publish-safe 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 10d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/brewpage-lib.sh, scripts/brewpage-run.sh, scripts/history.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.

skills/brewpage-publish-safe/SKILL.md · 19 lines

What it actually says

BrewPage Publish Safe

Publish or update only when the user explicitly requests that write and identifies the content or exact target. Installing or invoking the skill, preparing a draft, and asking for instructions are insufficient. Resolve missing access choices before a write. A local-only request makes no BrewPage request.

Use the bundled REST runner for this edition. It calls the official BrewPage API, automatically retains anonymous owner proof and private management links in the OS user's protected application state, and reports the reader link and storage result. Keep proof out of commands, transcripts and content. Use the regular BrewPage skill or MCP when the user explicitly needs connected account ownership or delivery of a private receipt.

Use bash ${CLAUDE_SKILL_DIR}/scripts/brewpage-run.sh with the installed skill path and the relevant literal arguments from the usage guide. Run one bundled command at a time. Keep selected content and paths as argument values. Never generate shell code from them.

Review the selected content for credentials before publication. For a site, review its JSON archive manifest before authorizing flagged files. A CONFIRM result is pending, with no upload. Re-run with its digest only after the user approves that exact manifest. For an update, use the original workspace and exact saved reader link. A failed update never authorizes a new publication.

After OWNER TOKEN SAVED or OWNER TOKEN REUSED, report the confirmed reader URL and whether ownership was saved or reused. If the publication succeeded and recovery was saved, report both and use owner-recover in the same workspace. An uncertain create stays pending until its pending receipt is recovered or a verified first-party outcome is recorded through protected reconciliation. A new create needs separate authorization after recovery.

Files

What ships with it

8 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. 10d ago First seen · 19 lines · 45 tokens per session scan A a5a100087d93

Subscribe to this mod's changes

brewpage-publish-safe is a skill published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed 7d ago), licensed MIT. It adds 45 tokens to every session and 442 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-11-20.

Related

brewpage-publish-safe compared with skills from other repositories

brewpage-publish-safe next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brewpage-publish-safekochetkov-ma/claude-brewcodeSkill417d agoMITA45Claude Code
doc-digestegorfedorov/claude-context-optimizerSkill1366d agoMITA75Claude Code
token-checkegorfedorov/claude-context-optimizerSkill1366d agoMITA66Claude Code
sharpen-promptegorfedorov/claude-context-optimizerSkill1366d agoMITA47Claude Code
skill-creator-plusyaniv-golan/skill-creator-plusSkill818d agoMITA147Claude Code
cpp-reinforcement-learningAznatkoiny/zAI-SkillsSkill1022d agoMITA131Claude Code
deep-researchyachi/claude-skillsSkill31mo agoMITA164Claude Code