
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.
SKILL.md
Share a Codex session
Use the bundled script at ../../scripts/share_session.py.
- Verify
gh auth statussucceeds. - Run the script without
--push, passing the user's description after--description. This creates a local Markdown preview and prints its path. - 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.
- Only after explicit approval, rerun with the same description and
--push. - Return the GitHub URL printed by the script.
If no repository is configured, ask for owner/repo, then run:
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.
More from PostHog
View publisheranalyzing-expensive-users
analyze expensive users in AI observability
posthog
Jul 28AnalyticsCost OptimizationObservabilityPostHogauditing-endpoints
audit PostHog project endpoints
posthog
Jun 8AnalyticsAuditPostHogauditing-warehouse-source-health
audit PostHog data warehouse source health
posthog
Jun 18AuditData WarehouseObservabilityPostHogauditing-warehouse-view-health
audit PostHog materialized view health
posthog
Jun 18AuditData WarehousePerformancePostHogauthoring-error-tracking-alerts
author PostHog error tracking alerts
posthog
Jun 18AlertingDebuggingObservabilityPostHogauthoring-log-alerts
author log alerts in PostHog
posthog
Jul 18AnalyticsMonitoringObservabilityOperations +1