Skip to content
Back to skills

Session Fork

ASecurity

Resume or branch a captured Codex session from its session id and terminal binding, preserving the parent session's history.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsshelldatabase

Works with

  • terminal

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add jgwill/miadi-orchestration-kit --skill session-fork --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Fork?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Fork
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jgwill-session-fork-miadi-orchestration-kit/badge)](https://www.skillsdirectory.com/skills/jgwill-session-fork-miadi-orchestration-kit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-fork
description: Resume or branch a captured Codex session from its session id and terminal binding, preserving the parent session's history.
---

Find the requested session in `<capture-root>/data/terminal_bindings.jsonl`,
filtering `agent == "codex"`. Read its latest binding, user prompts and final
assistant response to confirm identity and cwd. Check that the source rollout
still exists under `CODEX_HOME` (default `~/.codex`). A sanitized capture is an
archive; it is not a substitute for Codex's native resume state.

For a requested branch, use `codex fork SESSION_ID` in the recorded cwd. For
continuation, use `codex resume SESSION_ID`. Pass an optional prompt as one shell
argument, with proper quoting. Use Codex's native fork instead of modifying its
rollout or database. When launching from an active terminal, create a separate
terminal using the host's supported terminal workflow; do not take over the
operator's current foreground session.

If the native state is missing, explain that limit and prepare a handoff from
the archive for a fresh session. Do not claim a native fork happened. A fork's
SessionStart is captured with `source: "fork"` when Codex emits it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.