SworddustSworddustCommunityยท1 Agent Skills Included

codex-history

Manage, export, archive, and delete local Codex sessions

Lists, previews, exports, archives, recovers, and deletes local Codex conversation history by session ID. Exports any session to a clean Markdown file with timestamps and ordered user and assistant messages. Eliminates manual digging through session folders and history.jsonl files. Enforces strict safety rules so deletions require explicit confirmation and stay reversible via archiving.
npx skills add Sworddust/codex-history --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install codex-history?โ–ผ

Run `npx skills add Sworddust/codex-history --all -g -y` in your terminal to install this skill globally.

How to export a Codex conversation to Markdown?โ–ผ

Ask your agent to export a session by ID, and it writes a Markdown file with the session ID, source, timestamps, and ordered user and assistant messages into your current project directory.

Can I recover a deleted Codex session?โ–ผ

No, delete is a permanent physical removal that requires an explicit force flag. Use archive instead if you want a reversible option, since archived sessions can be restored anytime.

Does codex-history work with Claude Code or Cursor?โ–ผ

It is built specifically for Codex local history stored in CODEX_HOME or ~/.codex, and follows the standard SKILL.md format for agent compatibility.

Can codex-history delete sessions in bulk?โ–ผ

No. It only operates on explicit session IDs and refuses vague requests like deleting everything, which protects you from accidental data loss.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’