publish

publish is a skill for Claude Code, Codex from timurgaleev/memex. It costs 15 tokens per session (1,453 once invoked), scanned A, a copy of publish, MIT.

A tool for turning private brain pages into self-contained HTML files that can be shared, with optional password protection.

In plain words
What is it for?
Use it to share deal memos, research, briefings, and other brain pages as encrypted or openly accessible HTML documents.
Why use it?
It removes internal notes and metadata before sharing, and lets the recipient open the document without a server or external dependencies.

Skill for Claude CodeCodex

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

Good fit Use it to share deal memos, research, briefings, and other brain pages as encrypted or openly accessible HTML documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timurgaleev/memex/publish
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 timurgaleev/memex --skill publish
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/memex

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 publish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/timurgaleev/memex/publish"><img src="https://agentmods.dev/badge/skills/timurgaleev/memex/publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,453 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 88% copy Near-identical to another mod 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.00015 $0.01453
Opus 5.5 $0.00006 $0.00581
Sonnet 5.5 $0.00003 $0.00291
Haiku 4.5 $0.00002 $0.00145

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

Security

Grade A, and why

publish 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 2mo 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.

Origin

This is a copy

88% identical to publish — 113 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

deploy/skills/publish/SKILL.md · 159 lines

How it starts

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

Publish Skill

Share brain pages as beautiful, self-contained HTML documents. Optionally password-protected with client-side AES-256-GCM encryption. No server needed.

The agent does the work end-to-end: fetch the page with page_get, strip every piece of private metadata, render a single self-contained HTML file, and (by default) encrypt it. This skill defines the stripping rules, the crypto contract, and the sharing workflows.

Contract

  • Published HTML is fully self-contained: no external dependencies, no server needed.
  • All private metadata (frontmatter, source citations, confirmation numbers, brain cross-links, timeline) is stripped before publishing.
  • Password protection uses AES-256-GCM with PBKDF2 key derivation; plaintext never appears in the encrypted HTML file.
  • Default is always encrypted unless the user explicitly requests "open", "no password", or "public".
  • External URLs (https://...) are preserved; only internal brain paths are stripped.

When to Publish

  • User asks to share a brain page, create a shareable link, or says "give me a page"
  • User wants to send a deal memo, person briefing, or research to someone external
  • User asks to publish a data room analysis or trip plan
  • Any time brain content needs to leave the brain without exposing the whole system

Default: ALWAYS ENCRYPT

Brain content is private. Default to password-protected unless the user explicitly says "open", "no password", or "public".

If no password is specified, auto-generate one. Share the password via a different channel than the URL.

Workflow

  1. page_get <slug> — fetch the page (use search first if you only have a topic).
  2. Strip private metadata per the table below.
  3. Render the remaining markdown as a single HTML file (inline CSS, no external assets) with a clean document layout and the page title.
  4. Unless the user said "open"/"no password"/"public": encrypt the rendered body with AES-256-GCM (parameters below) via a small local script, and emit an HTML shell that decrypts client-side with the Web Crypto API on password entry.
  5. Write the file to the requested output path (default: a scratch/tmp path or the user's Desktop) and report per the Output Format.

Read the full file on GitHub · 159 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. 2mo ago Changed d41d532beeb9
  2. 3mo ago First seen · 159 lines · 15 tokens per session scan A d52b0aeb9310

Subscribe to this mod's changes

publish is a skill published in the GitHub repository timurgaleev/memex (11 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 1,453 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to publish, differing in 113 lines, and is treated as a copy.

Related

publish compared with skills from other repositories

publish next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
publishtimurgaleev/memexSkill112mo agoMITA15Claude Code, Codex
htmlpioneerdotai/pioneerSkill22todayMITA38Claude Code
artifactdbtlr/artifactsSkill01mo agoMITA47Claude Code, Codex
surfsense-htmlMODSetter/SurfSenseSkill17k4d agoApache-2.0A0Claude Code, Codex
standardize-health-datathetahealth/mirobodySkill1.9kyesterdayApache-2.0A133Claude Code
treatment-planssynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0B86Claude Code
markitdownsynthetic-sciences/openscienceSkill4.5k2d agoApache-2.0B53Claude Code