Agent skill

Session Recovery Codex

by cnfjlhj in cnfjlhj/ai-collab-playbook

A skill your agent uses when recovering a Codex session, especially if the user provides a Codex session id or wants recent Codex sessions listed before resuming work.

No licenceAuto-check passed

Install Session Recovery Codex

skills CLI
$ npx skills add cnfjlhj/ai-collab-playbook --skill session-recovery-codex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cnfjlhj/ai-collab-playbook session-recovery-codex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cnfjlhj/ai-collab-playbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/full/session-recovery-codex .claude/skills/session-recovery-codex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
session-recovery-codex
GitHub stars
454
Token cost
~295 tokens
SKILL.md length
80 words
Files
4 (incl. scripts)
Skills in repo
17
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when recovering a Codex session, especially if the user provides a Codex session id or wants recent Codex sessions listed before resuming work.

  • Works in 2 steps: 将脚本输出的最近 5 个会话概览展示给用户,并让用户输入要恢复的序号(1–5)。 → 用户选择后,拿到对应 session id,再运行统一入口脚本做精确恢复
  • Recovering a Codex session
  • SKILL.md covers 使用流程 and 注意事项
  • Runs Python scripts from its folder; calls python3

What it does

Session Recovery Codex is an agent skill from cnfjlhj/ai-collab-playbook. Use when recovering a Codex session, especially if the user provides a Codex session id or wants recent Codex sessions listed before resuming work.

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/analyze-session.py`, `scripts/list-sessions.py` and `scripts/recover-session.py`).

It works with Python. The repository describes itself as: Practical AI collaboration playbook for research, writing, reading, and coding: article, prompts, agent rules, and reusable skills.

When your agent uses it

  • Recovering a Codex session
  • Especially if the user provides a Codex session id
  • Wants recent Codex sessions listed before resuming work

Example prompts

  • “/session-recovery-codex”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. 将脚本输出的最近 5 个会话概览展示给用户,并让用户输入要恢复的序号(1–5)。
  2. 用户选择后,拿到对应 session id,再运行统一入口脚本做精确恢复

What it can do on your machine

Read from SKILL.md and the folder at commit b3ee0d6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Session Recovery Codex loads about 295 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 80 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~295

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 80 words (~295 tokens).

“当用户消息里已经包含形如 019b6d01-790f-7a32-9d75-932700db98a4 的 session id 时:”

— opening of SKILL.md by cnfjlhj
name
session-recovery-codex

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts) in skills/full/session-recovery-codex of cnfjlhj/ai-collab-playbook.

  • SKILL.md
  • scripts/analyze-session.py
  • scripts/list-sessions.py
  • scripts/recover-session.py

Open the folder on GitHubat commit b3ee0d6

Compare with similar skills

Session Recovery Codex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Session Recovery Codex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Session Recovery Codex this skillcnfjlhj/ai-collab-playbook454—~295Automated safety check: PassNone
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k47 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use29k6 repos~3kAutomated safety check: PassMIT
PPT Masterhugohe3/ppt-master59k1 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 47 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    29k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    59k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Scikit Learn

    zLanqing/codex-claude-academic-skills

    Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.

    4.7k GitHub starsUsed in 16 repos~3.9k tokens
    Data & AnalyticsAuto-check passed

More from cnfjlhj/ai-collab-playbook

All 17 skills in this repo
  • Paper2html

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when turning an academic paper PDF/arXiv/OpenReview page/local LaTeX source into a single-file Chinese HTML deep-reading page, especially when the user wants a Cheat-Sheet…

    454 GitHub stars~2.4k tokensUpdated 26 days ago
    Auto-check passed
  • Xhs Longform Private Publisher

    cnfjlhj/ai-collab-playbook

    This skill should be used when the user wants to publish an existing Markdown article to Xiaohongshu as a private longform post, keep the original wording and structure, insert inline images in…

    454 GitHub stars~1.1k tokensUpdated 26 days ago
    Auto-check passed
  • Collaborating With Codex

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when you explicitly want a second local or SSH remote Codex CLI session to prototype, debug, or review code, while your current session remains the primary owner of the final…

    454 GitHub stars~1.4k tokensUpdated 26 days ago
    Auto-check passed
  • Paperreview

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user explicitly wants to upload a final or near-final PDF to paperreview.ai for an external second opinion.

    454 GitHub stars~668 tokensUpdated 26 days ago
    Auto-check passed
  • Research Lead Sidecar

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user wants multi-agent division of labor for research-led work and the lead should stay on the critical path while 1-2 bounded sidecars handle low-coupling tasks.

    454 GitHub stars~842 tokensUpdated 26 days ago
    Auto-check passed
  • Xhs Note Creator

    cnfjlhj/ai-collab-playbook

    A skill your agent uses when the user wants Xiaohongshu note materials such as the note text, cover card, body cards, or publishing-ready assets.

    454 GitHub stars~638 tokensUpdated 26 days ago
    Auto-check: notes

Works with

Questions about Session Recovery Codex

What does Session Recovery Codex do?

A skill your agent uses when recovering a Codex session, especially if the user provides a Codex session id or wants recent Codex sessions listed before resuming work. Session Recovery Codex is an agent skill from cnfjlhj/ai-collab-playbook. Use when recovering a Codex session, especially if the user provides a Codex session id or wants recent Codex sessions listed before resuming work.

When should I use Session Recovery Codex?

Session Recovery Codex fits situations like: recovering a Codex session; especially if the user provides a Codex session id; wants recent Codex sessions listed before resuming work.

How do I install Session Recovery Codex in Claude Code?

Run `npx skills add cnfjlhj/ai-collab-playbook --skill session-recovery-codex -a claude-code`. Or copy the skill folder (skills/full/session-recovery-codex in cnfjlhj/ai-collab-playbook) into .claude/skills/session-recovery-codex in your project. Claude Code loads it when a task matches its description.

How do I install Session Recovery Codex in Codex?

Run `npx skills add cnfjlhj/ai-collab-playbook --skill session-recovery-codex -a codex`. Or copy the skill folder (skills/full/session-recovery-codex in cnfjlhj/ai-collab-playbook) into .agents/skills/session-recovery-codex in your project. Codex loads it when a task matches its description.

Can I use Session Recovery Codex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cnfjlhj/ai-collab-playbook --skill session-recovery-codex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-recovery-codex, .gemini/skills/session-recovery-codex, .github/skills/session-recovery-codex and .opencode/skills/session-recovery-codex in your project.

What does Session Recovery Codex need to run?

Going by SKILL.md and its folder, Session Recovery Codex needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Session Recovery Codex access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Session Recovery Codex safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Session Recovery Codex use?

No licence was found for Session Recovery Codex or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Session Recovery Codex use?

About 295 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Session Recovery Codex?

Skills that share tags, products or a category with Session Recovery Codex: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Session Recovery Codex?

cnfjlhj (a GitHub user) maintains it in cnfjlhj/ai-collab-playbook, which has 454 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on September 14, 2026.

Source: cnfjlhj/ai-collab-playbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.