본문으로 건너뛰기
Skillpedia
이메일 및 메시지31k · #9307

publish

하는 일

이 스킬은 브레인 페이지에서 공유할 수 있는 독립형 웹 페이지를 만듭니다. 기본적으로 비밀번호로 보호되며, 비공개 세부 정보는 먼저 제거됩니다.

사용하는 경우

  • ✓브레인 바깥의 사람과 브레인 페이지를 공유하고 싶을 때.
  • ✓거래 메모, 브리핑, 리서치를 링크로 보내고 싶을 때.
  • ✓전체 브레인을 노출하지 않고 여행 계획이나 데이터 분석을 공유하고 싶을 때.

스킬 링크

https://github.com/garrytan/gbrain/blob/master/plugin/skills/publish/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/plugin/skills/publish/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“거래 메모로 비밀번호가 걸린 웹 페이지를 만들어 주세요. 파트너에게 보내야 합니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 출처와 내부 링크 같은 비공개 세부 정보를 제거한 뒤, 브라우저에서 내용을 암호화합니다. 결과는 서버가 필요 없는 단일 HTML 파일입니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

페이지가 암호화되나요?

네. AES-256-GCM 암호화를 사용하며, 파일 안에 평문이 나타나지 않습니다.

비밀번호 없이 발행할 수 있나요?

공개 페이지를 명시적으로 요청한 경우에만 가능합니다.

브레인 링크가 페이지에 보이나요?

아닙니다. 발행 전에 내부 브레인 경로와 비공개 메타데이터를 모두 제거합니다.

상세 정보

작성자의 원본 설명

Share brain pages as beautiful password-protected HTML with zero LLM calls

repo: garrytan/gbrain

인기도

GitHub 스타
31k
순위
#9307
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬