[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7576B6T3KWPS7PFPN391F71":3,"skill-same:01M7576B6T3KWPS7PFPN391F71":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7576B6T3KWPS7PFPN391F71","publish",null,"Share brain pages as beautiful password-protected HTML with zero LLM calls","Ninatuzi\u002Fgbrain","Ninatuzi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234898825?v=4","01M75736J1JJ7Y7ES4AF751XC7","Nina","01M75736K5D98W2SRJ696K7992",0,"MIT","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Fskills\u002Fpublish\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: publish\ndescription: Share brain pages as beautiful password-protected HTML with zero LLM calls\ntriggers:\n  - \"share this page\"\n  - \"publish page\"\n  - \"create shareable link\"\ntools:\n  - get_page\n  - search\nmutating: false\n---\n\n# Publish Skill\n\nShare brain pages as beautiful, self-contained HTML documents. Optionally\npassword-protected with client-side AES-256-GCM encryption. No server needed.\n\nThis is a **code + skill pair**: the deterministic code (`gbrain publish`) does\nthe stripping, encrypting, and HTML generation. This skill tells you when and\nhow to use it. See [Thin Harness, Fat Skills](https:\u002F\u002Fx.com\u002Fgarrytan\u002Fstatus\u002F2042925773300908103)\nfor the architecture philosophy.\n\n## Contract\n\n- Published HTML is fully self-contained: no external dependencies, no server needed.\n- All private metadata (frontmatter, source citations, confirmation numbers, brain cross-links, timeline) is stripped before publishing.\n- Password protection uses AES-256-GCM with PBKDF2 key derivation; plaintext never appears in the encrypted HTML file.\n- Default is always encrypted unless the user explicitly requests \"open\", \"no password\", or \"public\".\n- External URLs (`https:\u002F\u002F...`) are preserved; only internal brain paths are stripped.\n\n## When to Publish\n\n- User asks to share a brain page, create a shareable link, or says \"give me a page\"\n- User wants to send a deal memo, person briefing, or research to someone external\n- User asks to publish a data room analysis or trip plan\n- Any time brain content needs to leave the brain without exposing the whole system\n\n## Default: ALWAYS ENCRYPT\n\nBrain content is private. Default to password-protected unless the user explicitly\nsays \"open\", \"no password\", or \"public\".\n\nIf no password is specified, auto-generate one. Share the password via a different\nchannel than the URL.\n\n## Quick Reference\n\n```bash\n# Basic publish (outputs local HTML file)\ngbrain publish brain\u002Fcompanies\u002Facme.md\n\n# Password protected (auto-generate password)\ngbrain publish brain\u002Fcompanies\u002Facme.md --password\n\n# Password protected (specific password)\ngbrain publish brain\u002Fcompanies\u002Facme.md --password \"secret123\"\n\n# Custom title\ngbrain publish brain\u002Fcompanies\u002Facme.md --password --title \"Acme -- Deal Analysis\"\n\n# Custom output path\ngbrain publish brain\u002Fcompanies\u002Facme.md --out \u002Ftmp\u002Facme-share.html\n```\n\n## What Gets Stripped\n\nThe publish command automatically removes all private\u002Finternal data:\n\n| Stripped | Example | Why |\n|---------|---------|-----|\n| YAML frontmatter | `title:`, `type:`, `tags:` | Internal metadata |\n| `[Source: ...]` citations | All formats | Provenance is internal |\n| Confirmation numbers | `ABC123DEF` -> \"on file\" | PII\u002Fbooking data |\n| Brain cross-links | `[Jane](..\u002Fpeople\u002Fjane.md)` -> `Jane` | Internal paths |\n| Timeline section | Everything below `---` \u002F `## Timeline` | Raw evidence log |\n| \"See also\" lines | Internal references | Brain navigation |\n\n**Preserved:** external URLs (`https:\u002F\u002F...`), all other content.\n\n## Sharing Workflows\n\n### Option A: Local file (simplest)\n\n```bash\ngbrain publish brain\u002Fpeople\u002Fjane-doe.md --password --out ~\u002FDesktop\u002Fjane-briefing.html\n```\n\nShare the HTML file via email, Slack, Airdrop. Share the password separately.\n\n### Option B: Upload to cloud storage\n\n```bash\n# Publish locally first\ngbrain publish brain\u002Fcompanies\u002Facme.md --password \"secret\" --out \u002Ftmp\u002Facme.html\n\n# Upload to Supabase Storage\ngbrain files upload \u002Ftmp\u002Facme.html --page shares\u002Facme\n\n# Get a signed URL (1-hour expiry)\ngbrain files signed-url shares\u002Facme\u002Facme.html\n```\n\nShare the signed URL + password. URL expires in 1 hour. Re-generate as needed.\n\n### Option C: Static hosting (Render, Netlify, S3)\n\nUpload the HTML file to any static hosting service. The file is self-contained,\nno server logic needed. Password-protected files work entirely client-side via\nWeb Crypto API.\n\n### Option D: GitHub Pages \u002F Gist\n\n```bash\ngbrain publish brain\u002Ftrips\u002Fjapan-2026.md --out trip.html\n# Upload to a GitHub Gist or Pages repo\n```\n\n## Password Protection Details\n\n- **Algorithm:** AES-256-GCM\n- **Key derivation:** PBKDF2 with 100K iterations, SHA-256\n- **Salt:** Random 16 bytes per encryption\n- **IV:** Random 12 bytes per encryption\n- **Decryption:** Client-side via Web Crypto API (SubtleCrypto)\n- **No server auth needed** -- the HTML file is self-contained\n- **\"Remember on this device\"** -- saves password in localStorage\n\nWhen encrypted, the published HTML contains ONLY ciphertext. The plaintext is\nnot present anywhere in the file.\n\n## Updating a Published Page\n\nRe-run the publish command with the same output path:\n```bash\ngbrain publish brain\u002Fcompanies\u002Facme.md --password \"same-password\" --out shares\u002Facme.html\n```\n\nSame file, same URL (if hosted), updated content.\n\n## Revoking Access\n\nDelete the file. If using signed URLs, the URL expires automatically (1 hour).\nIf using static hosting, remove the file from the host.\n\n## Anti-Patterns\n\n- **Publishing without encryption.** Brain content is private. Default to password-protected unless the user explicitly says \"open\", \"no password\", or \"public\".\n- **Sharing password and URL in the same channel.** Always share the password via a different channel than the URL for security.\n- **Assuming the user wants raw markdown.** The publish command produces beautiful HTML. Don't copy-paste markdown when `gbrain publish` exists.\n- **Including internal metadata.** Never manually share content that contains frontmatter, source citations, or timeline sections. Let the publish command strip it.\n\n## Output Format\n\n```\nPUBLISHED: [page title]\n========================\n\nFile: [output path]\nEncrypted: [yes (AES-256-GCM) \u002F no]\nPassword: [auto-generated password \u002F user-provided \u002F none]\nSize: [file size]\n\nShare the file via: [email \u002F Slack \u002F Airdrop \u002F cloud upload]\nShare the password via: [a different channel]\n```\n\n## Tools Used\n\n- `gbrain publish` -- deterministic HTML generation (no LLM calls)\n- `gbrain files upload` -- upload to cloud storage (optional)\n- `gbrain files signed-url` -- generate access links (optional)\n","# Publish Skill\n\nShare brain pages as beautiful, self-contained HTML documents. Optionally\npassword-protected with client-side AES-256-GCM encryption. No server needed.\n\nThis is a **code + skill pair**: the deterministic code (`gbrain publish`) does\nthe stripping, encrypting, and HTML generation. This skill tells you when and\nhow to use it. See [Thin Harness, Fat Skills](https:\u002F\u002Fx.com\u002Fgarrytan\u002Fstatus\u002F2042925773300908103)\nfor the architecture philosophy.\n\n## Contract\n\n- Published HTML is fully self-contained: no external dependencies, no server needed.\n- All private metadata (frontmatter, source citations, confirmation numbers, brain cross-links, timeline) is stripped before publishing.\n- Password protection uses AES-256-GCM with PBKDF2 key derivation; plaintext never appears in the encrypted HTML file.\n- Default is always encrypted unless the user explicitly requests \"open\", \"no password\", or \"public\".\n- External URLs (`https:\u002F\u002F...`) are preserved; only internal brain paths are stripped.\n\n## When to Publish\n\n- User asks to share a brain page, create a shareable link, or says \"give me a page\"\n- User wants to send a deal memo, person briefing, or research to someone external\n- User asks to publish a data room analysis or trip plan\n- Any time brain content needs to leave the brain without exposing the whole system\n\n## Default: ALWAYS ENCRYPT\n\nBrain content is private. Default to password-protected unless the user explicitly\nsays \"open\", \"no password\", or \"public\".\n\nIf no password is specified, auto-generate one. Share the password via a different\nchannel than the URL.\n\n## Quick Reference\n\n```bash\n# Basic publish (outputs local HTML file)\ngbrain publish brain\u002Fcompanies\u002Facme.md\n\n# Password protected (auto-generate password)\ngbrain publish brain\u002Fcompanies\u002Facme.md --password\n\n# Password protected (specific password)\ngbrain publish brain\u002Fcompanies\u002Facme.md --password \"secret123\"\n\n# Custom title\ngbrain publish brain\u002Fcompanies\u002Facme.md --password --title \"Acme -- Deal Analysis\"\n\n# Custom output path\ngbrain publish brain\u002Fcompanies\u002Facme.md --out \u002Ftmp\u002Facme-share.html\n```\n\n## What Gets Stripped\n\nThe publish command automatically removes all private\u002Finternal data:\n\n| Stripped | Example | Why |\n|---------|---------|-----|\n| YAML frontmatter | `title:`, `type:`, `tags:` | Internal metadata |\n| `[Source: ...]` citations | All formats | Provenance is internal |\n| Confirmation numbers | `ABC123DEF` -> \"on file\" | PII\u002Fbooking data |\n| Brain cross-links | `[Jane](..\u002Fpeople\u002Fjane.md)` -> `Jane` | Internal paths |\n| Timeline section | Everything below `---` \u002F `## Timeline` | Raw evidence log |\n| \"See also\" lines | Internal references | Brain navigation |\n\n**Preserved:** external URLs (`https:\u002F\u002F...`), all other content.\n\n## Sharing Workflows\n\n### Option A: Local file (simplest)\n\n```bash\ngbrain publish brain\u002Fpeople\u002Fjane-doe.md --password --out ~\u002FDesktop\u002Fjane-briefing.html\n```\n\nShare the HTML file via email, Slack, Airdrop. Share the password separately.\n\n### Option B: Upload to cloud storage\n\n```bash\n# Publish locally first\ngbrain publish brain\u002Fcompanies\u002Facme.md --password \"secret\" --out \u002Ftmp\u002Facme.html\n\n# Upload to Supabase Storage\ngbrain files upload \u002Ftmp\u002Facme.html --page shares\u002Facme\n\n# Get a signed URL (1-hour expiry)\ngbrain files signed-url shares\u002Facme\u002Facme.html\n```\n\nShare the signed URL + password. URL expires in 1 hour. Re-generate as needed.\n\n### Option C: Static hosting (Render, Netlify, S3)\n\nUpload the HTML file to any static hosting service. The file is self-contained,\nno server logic needed. Password-protected files work entirely client-side via\nWeb Crypto API.\n\n### Option D: GitHub Pages \u002F Gist\n\n```bash\ngbrain publish brain\u002Ftrips\u002Fjapan-2026.md --out trip.html\n# Upload to a GitHub Gist or Pages repo\n```\n\n## Password Protection Details\n\n- **Algorithm:** AES-256-GCM\n- **Key derivation:** PBKDF2 with 100K iterations, SHA-256\n- **Salt:** Random 16 bytes per encryption\n- **IV:** Random 12 bytes per encryption\n- **Decryption:** Client-side via Web Crypto API (SubtleCrypto)\n- **No server auth needed** -- the HTML file is self-contained\n- **\"Remember on this device\"** -- saves password in localStorage\n\nWhen encrypted, the published HTML contains ONLY ciphertext. The plaintext is\nnot present anywhere in the file.\n\n## Updating a Published Page\n\nRe-run the publish command with the same output path:\n```bash\ngbrain publish brain\u002Fcompanies\u002Facme.md --password \"same-password\" --out shares\u002Facme.html\n```\n\nSame file, same URL (if hosted), updated content.\n\n## Revoking Access\n\nDelete the file. If using signed URLs, the URL expires automatically (1 hour).\nIf using static hosting, remove the file from the host.\n\n## Anti-Patterns\n\n- **Publishing without encryption.** Brain content is private. Default to password-protected unless the user explicitly says \"open\", \"no password\", or \"public\".\n- **Sharing password and URL in the same channel.** Always share the password via a different channel than the URL for security.\n- **Assuming the user wants raw markdown.** The publish command produces beautiful HTML. Don't copy-paste markdown when `gbrain publish` exists.\n- **Including internal metadata.** Never manually share content that contains frontmatter, source citations, or timeline sections. Let the publish command strip it.\n\n## Output Format\n\n```\nPUBLISHED: [page title]\n========================\n\nFile: [output path]\nEncrypted: [yes (AES-256-GCM) \u002F no]\nPassword: [auto-generated password \u002F user-provided \u002F none]\nSize: [file size]\n\nShare the file via: [email \u002F Slack \u002F Airdrop \u002F cloud upload]\nShare the password via: [a different channel]\n```\n\n## Tools Used\n\n- `gbrain publish` -- deterministic HTML generation (no LLM calls)\n- `gbrain files upload` -- upload to cloud storage (optional)\n- `gbrain files signed-url` -- generate access links (optional)\n",{"name":5,"tools":24,"mutating":20,"triggers":27,"description":7},[25,26],"get_page","search",[28,29,30],"share this page","publish page","create shareable link","docs\u002Fmerge-phantoms-design","a37e628443dd4ca65bc82f491ff974c91545f9b3","skills\u002Fpublish","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain","https:\u002F\u002Fgithub.com\u002FNinatuzi","l am Nina, a student in National University of Malaysia, “l want to learn on GitHub and\r\ncontribute my part to this community","2026-06-02 15:11:10",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Ninatuzi\u002Fgbrain --skill publish",{"tool":44,"command":45},"bunx","bunx skills add Ninatuzi\u002Fgbrain --skill publish",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Ninatuzi\u002Fgbrain --skill publish","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Fskills\u002Fpublish\u002FSKILL.md",true,[],[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M75788KPJYS39X1S5G040ADQ","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M75787ADPHGYCVHSTQAV16S5","query","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M75785XJMKBGTBJBWZABZRVF","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M75784DGMEWJCVKGCY99PPPE","brain-ops","Core read\u002Fwrite cycle for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M75780F68HTP3TF97F5ENDQ4","webhook-transforms","Generic framework for converting external events (SMS, meetings, social mentions)\ninto brain-ingestible signals. Define a transform function, register a webhook URL,\nand incoming events get processed through the brain pipeline.","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Fskills\u002Fwebhook-transforms\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7577XC8H31ZRYDVXMT4VJJ7","voice-note-ingest","Ingest a voice note with exact-phrasing preservation (never paraphrased). Routes content to originals\u002F, concepts\u002F, people\u002F, companies\u002F, ideas\u002F, personal\u002F, or voice-notes\u002F based on a decision tree. The user's exact words are the signal.","https:\u002F\u002Fgithub.com\u002FNinatuzi\u002Fgbrain\u002Fblob\u002Fdocs\u002Fmerge-phantoms-design\u002Fskills\u002Fvoice-note-ingest\u002FSKILL.md",[],[]]