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.
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/publishRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gbrain/skills/publish ~/.gemini/antigravity-cli/skills/publishAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
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.
