Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

publish

Skill by garrytan

Shares gbrain brain pages as self-contained HTML files, password protected by default. It strips private metadata and makes no LLM calls while publishing. Aimed at users who need to send brain content to people outside their system.

  • Score 90
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install publish

Built from the published package, never by AI.

git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/skills/publish ~/.claude/skills/publish

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install publish in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The publish skill shares gbrain brain pages as self-contained HTML documents. It runs the gbrain publish command, which removes private data such as frontmatter, source citations, confirmation numbers, internal cross-links and timeline sections before generating the file. The source says the publishing code is deterministic and makes no LLM calls.

Pages are password protected by default using client-side AES-256-GCM encryption with PBKDF2 key derivation, and the encrypted file contains only ciphertext. Encryption is skipped only if the user asks for open, no password, or public. The skill covers sharing as a local file, upload to cloud storage with a signed URL, or static hosting. It is aimed at people who need to send a deal memo, person briefing or research to someone outside their brain.

Written from the project's SKILL.md and checked against it.

What it can do

  • Publish a brain page as HTMLRuns gbrain publish to turn a brain page into a self-contained HTML file.
  • Password protectionEncrypts the published page with AES-256-GCM, with an auto-generated or user-given password.
  • Strip private metadataRemoves frontmatter, source citations, timeline sections and internal cross-links before publishing.
  • Markdown outputWrites stripped markdown for another renderer using the --markdown option.
  • Upload and signed URLsUploads the HTML to cloud storage and generates a signed access link.

What you need

  • gbrain CLI with the publish command
  • Cloud storage configured for optional upload and signed URLs

Try asking

  • Publish the Acme company page with a password
  • Share this page as an open HTML file with no password
  • Create a shareable link for the Jane Doe briefing

Good to know

  • Signed URLs from the upload workflow expire after 1 hour
  • Publish whole pages only; sliced pages can lose frontmatter keys
  • Pages with a prose History section lose that section and everything after it
  • Unclosed fences or comments drop the text that follows them

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/publish/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to publish

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

publish: common questions

Is a published page encrypted by default?

Yes. The skill defaults to AES-256-GCM encryption unless the user asks for open, no password, or public. The encrypted HTML contains only ciphertext.

What private data does publishing remove?

The publish command strips frontmatter, source citations, confirmation numbers, brain cross-links, timeline sections, facts and takes fences, and HTML comments.

How long does a cloud signed URL last?

The source says the signed URL from gbrain files signed-url expires after 1 hour, and it can be regenerated.

How do I install publish?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is publish free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is publish safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to publish?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

publish Install

Add to stack

Loading.