Skip to main content

share-session

Preview or publish the current Codex coding session as readable Markdown in a configured GitHub repository. Use when the user asks to share, export, publish, or save a Codex session or transcript.

来源信息

仓库
PostHog/codex-share-plugin
最近来源活动
2026年7月21日 20:44
检测到的 SKILL.md 语言
英语
星标
0
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
share-session
description
Preview or publish the current Codex coding session as readable Markdown in a configured GitHub repository. Use when the user asks to share, export, publish, or save a Codex session or transcript.
# Share a Codex session Use the bundled script at `../../scripts/share_session.py`. 1. Verify `gh auth status` succeeds. 2. Run the script without `--push`, passing the user's description after `--description`. This creates a local Markdown preview and prints its path. 3. Tell the user that transcripts can contain source code, prompts, tool inputs, local paths, or secrets. Ask them to approve publishing after they review the preview. 4. Only after explicit approval, rerun with the same description and `--push`. 5. Return the GitHub URL printed by the script. If no repository is configured, ask for `owner/repo`, then run: ```bash python3 ../../scripts/share_session.py --configure-repo owner/repo ``` Configuration is stored in `${CODEX_HOME:-~/.codex}/share-plugin-config.json`. `CODEX_SHARE_REPO` overrides the file. Never publish without the preview and explicit approval. Do not expose transcript contents in chat unless the user asks.
在 GitHub 查看