commit-chat-push
Commit and push repository changes while also exporting and committing the Codex chat/session transcript that produced the feature. Use when the user asks Codex to commit, push, save provenance, include the chat, commit the session, attach the Codex conversation, or preserve the implementation chat from ~/.codex/sessions alongside code changes.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o commit-chat-push.zip https://jpskill.com/download/17514.zip && unzip -o commit-chat-push.zip && rm commit-chat-push.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17514.zip -OutFile "$d\commit-chat-push.zip"; Expand-Archive "$d\commit-chat-push.zip" -DestinationPath $d -Force; ri "$d\commit-chat-push.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
commit-chat-push.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
commit-chat-pushフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 3
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
Commit Chat Push
Overview
Use this skill to turn finished work into a commit that includes both the code changes and a redacted Markdown transcript of the Codex session that made them, then push the branch.
The helper script exports a transcript from local Codex JSONL sessions. Prefer the transcript over raw JSONL because raw sessions can contain system/developer instructions, encrypted reasoning blobs, full tool outputs, and secrets.
Workflow
-
Inspect repository state.
- Run
git status --short --branch. - Run
git remote -vandgit branch --show-currentwhen push behavior is not obvious. - Review
git diffand staged diff before committing. - Never stage unrelated dirty files. If unrelated changes exist, leave them alone.
- Run
-
Verify the change.
- Run the narrowest meaningful tests or checks for the work.
- If tests are unavailable or fail for unrelated reasons, record that clearly in the final response.
-
Export the Codex transcript.
- Use an existing repo convention for transcripts if one exists, such as
docs/codex-sessions/,codex-sessions/,.codex/chats/, ordevlog/. - Otherwise use
docs/codex-sessions/. - Run:
- Use an existing repo convention for transcripts if one exists, such as
python3 "${CODEX_HOME:-$HOME/.codex}/skills/commit-chat-push/scripts/export_codex_session.py" \
--repo "$(pwd)" \
--output-dir docs/codex-sessions \
--tool-output none
- Review the exported transcript before staging.
- Read enough of the file to confirm it is the intended session.
- Search for obvious secrets or private material:
rg -n "sk-|ghp_|github_pat_|BEGIN .*PRIVATE KEY|Authorization|Bearer |password|secret|token|api[_-]?key" docs/codex-sessions
- If sensitive content appears, edit the transcript or rerun the exporter with stricter omission choices before committing.
- Do not commit raw
~/.codex/sessions/*.jsonlunless the user explicitly asks for raw logs after being warned about the risk.
-
Stage exactly the intended files.
- Include the exported transcript.
- Prefer explicit pathspecs over
git add .when the worktree has unrelated changes. - Confirm with
git diff --cached --statandgit diff --cached.
-
Commit.
- Use the repo's commit-message style if visible.
- Mention the transcript in the body when helpful, for example:
feat: add commit transcript workflow
Includes Codex session transcript: docs/codex-sessions/2026-05-03-commit-transcript.md
- Push.
- If the branch already has an upstream, run
git push. - If it does not and a default remote exists, run
git push -u origin HEAD. - If push is rejected, inspect the reason and use the repo's normal sync workflow. Do not force-push unless the user explicitly requests it.
- If the branch already has an upstream, run
Selecting A Session
By default, export_codex_session.py selects the newest Codex JSONL session whose session_meta.cwd matches the current repository. If that is wrong, rerun it with --session /path/to/rollout-....jsonl.
Useful options:
python3 "${CODEX_HOME:-$HOME/.codex}/skills/commit-chat-push/scripts/export_codex_session.py" --help
--output-dir PATH: write a generated Markdown filename inPATH.--output PATH: write to an exact Markdown path.--session PATH: export a specific JSONL session.--tool-output none|brief|full: control command output included in the transcript. Default isnone; usebriefonly after considering whether prior commands printed secrets or raw session JSON.--include-local-paths: include full local source paths in metadata. By default, home paths are shortened to~.
Privacy Rules
- Treat the transcript as source-controlled provenance, not a private dump.
- Keep user and assistant messages, tool names, commands, and command exit status.
- Omit developer/system instructions, encrypted reasoning, token-count events, and bulky raw logs.
- Redaction is a helper, not a guarantee. Always scan the transcript before committing.
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (4,360 bytes)
- 📎 README.md (2,615 bytes)
- 📎 scripts/export_codex_session.py (16,368 bytes)