Borrowing it
Nothing to install: this file belongs to akaghef/M3E. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/akaghef/M3E/main/.claude/skills/claude-codex-session-pack-20260214/skills/codex-session/SKILL.mdgit clone --depth 1 https://github.com/akaghef/M3EWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/akaghef/m3e/codex-session)<a href="https://agentmods.dev/skills/akaghef/m3e/codex-session"><img src="https://agentmods.dev/badge/skills/akaghef/m3e/codex-session/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/akaghef/m3e/codex-session"><img src="https://agentmods.dev/badge/skills/akaghef/m3e/codex-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00671 |
| Opus 5.5 | $0.00015 | $0.00268 |
| Sonnet 5.5 | $0.00008 | $0.00134 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
codex-session scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Codex Session Manager
Codex CLI のセッションIDを ~/.cache/ai-agent-sessions/codex-session-<name> に保存し、複数セッションを混同せずに継続できるようにする。
Note: このスキルは Bash スクリプト群で、
codexコマンドを別セッションとして起動・継続するためのものです。
Claude Code / Codex どちらの環境からでもシェルコマンドとして実行できます(スラッシュコマンドによる自動実行ではありません)。
使い方
セッション作成(ID保存)
~/.claude/skills/codex-session/scripts/start.sh [--cd <dir>] <name> "<初期プロンプト>"
例:
~/.claude/skills/codex-session/scripts/start.sh reviewer "コードレビュー役として動いてください"
# 作業ディレクトリを分離したい場合(このディレクトリの文脈/AGENTSから切り離す)
~/.claude/skills/codex-session/scripts/start.sh --cd /path/to/project reviewer "このリポジトリをレビューして"
セッション継続(保存済みIDでresume)
~/.claude/skills/codex-session/scripts/send.sh [--cd <dir>] <name> "<追加プロンプト>"
例:
# start 時と同じディレクトリを自動再利用(--cd省略可)
~/.claude/skills/codex-session/scripts/send.sh reviewer "この差分をレビューして"
# 明示的に上書きしたい場合
~/.claude/skills/codex-session/scripts/send.sh --cd /path/to/project reviewer "この差分をレビューして"
セッション一覧
~/.claude/skills/codex-session/scripts/list.sh
セッション削除
# 特定のセッションを削除
~/.claude/skills/codex-session/scripts/clear.sh <name>
# 全セッションを削除
~/.claude/skills/codex-session/scripts/clear.sh --all
注意事項
- セッションIDは
~/.cache/ai-agent-sessionsに保存される - 推論強度は
high(REASONING_EFFORT=high)で実行される - Codexの401エラーが頻発する場合は
codex logout && codex loginを試す - 実装は共通コアに統一され、ログ探索結果をメタ情報として再利用するため、継続実行時の無駄な探索を減らしている
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 66 lines · 38 tokens per session scan A 07da356ec512
codex-session is a skill published in the GitHub repository akaghef/M3E (16 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 671 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
codex-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-sessionakaghef/M3E | Skill | 16 | 2d ago | MIT | A | 38 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 30 | Claude Code, Codex |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | 11d ago | MIT | A | 184 | Claude Code |
| feishuHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 33 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 5d ago | MIT | A | 52 | Claude Code, Codex |