publish
Was er macht
Dieser Skill erstellt aus einer Seite in deinem Brain eine eigenständige Webseite, die du teilen kannst. Seiten sind standardmäßig passwortgeschützt, und private Details werden vorher entfernt.
Wann du ihn nutzt
- ✓Wenn du eine Brain-Seite mit jemandem außerhalb deines Brains teilen willst.
- ✓Wenn du ein Deal-Memo, ein Briefing oder eine Recherche als Link verschicken willst.
- ✓Wenn du einen Reiseplan oder eine Datenanalyse teilen willst, ohne dein ganzes Brain offenzulegen.
Link zum Skill
https://github.com/garrytan/gbrain/blob/master/plugin/skills/publish/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erstelle aus meinem Deal-Memo eine passwortgeschützte Webseite, die ich an meinen Partner schicken kann.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent entfernt private Details wie Quellen und interne Links und verschlüsselt den Inhalt dann im Browser. Das Ergebnis ist eine einzelne HTML-Datei, die keinen Server braucht.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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.
This is a code + skill pair: the deterministic code (gbrain publish) does
the stripping, encrypting, and HTML generation. This skill tells you when and
how to use it. See Thin Harness, Fat Skills
for the architecture philosophy.
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.
Quick Reference
# Basic publish (outputs local HTML file)
gbrain publish brain/companies/acme.md
# Password protected (auto-generate password)
gbrain publish brain/companies/acme.md --password
# Password protected (specific password)
gbrain publish brain/companies/acme.md --password "secret123"
# Custom title
gbrain publish brain/companies/acme.md --password --title "Acme -- Deal Analysis"
# Custom output path
gbrain publish brain/companies/acme.md --out /tmp/acme-share.html
What Gets Stripped
The publish command automatically removes all private/internal data:
| Stripped | Example | Why |
|---|---|---|
| YAML frontmatter | title:, type:, tags: |
Internal metadata |
[Source: ...] citations |
All formats | Provenance is internal |
| Confirmation numbers | ABC123DEF -> "on file" |
PII/booking data |
| Brain cross-links | [Jane](../people/jane.md) -> Jane |
Internal paths |
| Timeline section | Everything below --- / ## Timeline |
Raw evidence log |
| "See also" lines | Internal references | Brain navigation |
Preserved: external URLs (https://...), all other content.
Sharing Workflows
Option A: Local file (simplest)
gbrain publish brain/people/jane-doe.md --password --out ~/Desktop/jane-briefing.html
Share the HTML file via email, Slack, Airdrop. Share the password separately.
Option B: Upload to cloud storage
# Publish locally first
gbrain publish brain/companies/acme.md --password "secret" --out /tmp/acme.html
# Upload to Supabase Storage
gbrain files upload /tmp/acme.html --page shares/acme
# Get a signed URL (1-hour expiry)
gbrain files signed-url shares/acme/acme.html
Share the signed URL + password. URL expires in 1 hour. Re-generate as needed.
Option C: Static hosting (Render, Netlify, S3)
Upload the HTML file to any static hosting service. The file is self-contained, no server logic needed. Password-protected files work entirely client-side via Web Crypto API.
Option D: GitHub Pages / Gist
gbrain publish brain/trips/japan-2026.md --out trip.html
# Upload to a GitHub Gist or Pages repo
Password Protection Details
- Algorithm: AES-256-GCM
- Key derivation: PBKDF2 with 100K iterations, SHA-256
- Salt: Random 16 bytes per encryption
- IV: Random 12 bytes per encryption
- Decryption: Client-side via Web Crypto API (SubtleCrypto)
- No server auth needed -- the HTML file is self-contained
- "Remember on this device" -- saves password in localStorage
When encrypted, the published HTML contains ONLY ciphertext. The plaintext is not present anywhere in the file.
Updating a Published Page
Re-run the publish command with the same output path:
gbrain publish brain/companies/acme.md --password "same-password" --out shares/acme.html
Same file, same URL (if hosted), updated content
Häufige Fragen
Ist die Seite verschlüsselt?
Ja. Sie nutzt AES-256-GCM-Verschlüsselung, und der Klartext steht nicht in der Datei.
Kann ich ohne Passwort veröffentlichen?
Nur wenn du ausdrücklich eine offene oder öffentliche Seite verlangst.
Werden meine Brain-Links auf der Seite angezeigt?
Nein. Interne Brain-Pfade und private Metadaten werden vor der Veröffentlichung entfernt.
Details
Originalbeschreibung des Autors
Share brain pages as beautiful password-protected HTML with zero LLM calls
repo: garrytan/gbrain
Beliebtheit
- GitHub-Sterne
- 31k
- Platz im Ranking
- #9307
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
gbrain
31kLässt deinen Agenten in einem gemeinsamen Firmenwissens-Gehirn nach Fakten zu Personen, Projekten und Entscheidungen suchen und dauerhafte Notizen darin speichern.
brain-ingest-gate
31kPrüft neue Inhalte gegen ein bestehendes Wissens-Gehirn, bevor sie hinzugefügt werden, um Dubletten zu vermeiden und benannte Entitäten vorab zu klären.
brain-link-discipline
31kSorgt dafür, dass dein Agent jede Gehirn-Seite, über die er berichtet, im selben Beitrag mit einem funktionierenden Link versieht, damit du sie sofort öffnen kannst.
brain-ops
31kGibt deinem Agenten die Grundroutine für ein Wissens-Gehirn: zuerst vorhandenen Kontext prüfen, ausdrückliche Notizen mit Quelle speichern und verwandte Seiten verlinken.
Ähnliche Skills
discord-user-post
394kLässt deinen Agenten eine von dir freigegebene Nachricht über die Discord-Desktop-App als du in Discord posten, nachdem der genaue Kanal bestätigt wurde.
configure-channel
394kBringt deinem Agenten bei, eine Chat-App wie Telegram mit OpenClaw zu verbinden, den Bot-Token sicher zu speichern und zu prüfen, ob Nachrichten ankommen.
discord
394kHilft deinem Agenten, Discord-Nachrichten über OpenClaw zu lesen, zu senden, zu bearbeiten und darauf zu reagieren, nach Prüfung der genauen Nachricht.