M3E: Skill for Claude Code

.claude/skills/claude-codex-session-pack-20260214/skills/codex-session/SKILL.md

codex-session is a skill for Claude Code from akaghef/M3E. It costs 38 tokens per session (671 once invoked), scanned A, original, MIT.

A set of shell scripts for starting, resuming, listing, and deleting named Codex CLI sessions. Codex CLI is a command-line program for running coding-agent conversations, and the scripts save each session's identifier.

In plain words
What is it for?
Use it to create a session with an initial prompt, send follow-up prompts, separate its working directory, or clear saved sessions.
Why use it?
It prevents multiple agent sessions from being confused with one another and lets you continue a named session later.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

This is akaghef/M3E's own configuration. It tells Claude Code how to work on M3E itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything M3E configures →

View source ↗ akaghef/M3E
Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/akaghef/M3E/main/.claude/skills/claude-codex-session-pack-20260214/skills/codex-session/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/akaghef/M3E

Made for: Claude Code.

Wrote 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.

agentmods badge for codex-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/akaghef/m3e/codex-session/github.svg)](https://agentmods.dev/skills/akaghef/m3e/codex-session)
Your own site
<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.

agentmods 80×15 button for codex-session

Your own site · 80×15
<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>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 07da356ec512, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/clear.sh, scripts/list.sh, scripts/send.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/claude-codex-session-pack-20260214/skills/codex-session/SKILL.md · 66 lines

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 を試す
  • 実装は共通コアに統一され、ログ探索結果をメタ情報として再利用するため、継続実行時の無駄な探索を減らしている
Files

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.

Changes

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.

  1. 1mo ago First seen · 66 lines · 38 tokens per session scan A 07da356ec512

Subscribe to this mod's changes

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.

Related

codex-session compared with skills from other repositories

codex-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-sessionakaghef/M3ESkill162d agoMITA38Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill118kyesterdayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k11d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k5d agoMITA52Claude Code, Codex