codex-fluent

codex-fluent is a skill for Claude Code, Codex from majiayu000/spellbook. It costs 57 tokens per session (1,264 once invoked), scanned A, original, MIT.

A guide to keeping long-running Codex sessions manageable by reviewing old session state, preserving useful handoffs, and archiving inactive work. It focuses on reducing accumulated context and workspace clutter.

In plain words
What is it for?
Use it for session cleanup, preparing handoff notes before archiving work, and maintaining clear restore paths for projects you may continue later.
Why use it?
It helps when Codex becomes slow or when old conversations make it harder to resume current work without repeating background information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads ~/.codex paths; mentions Codex.

Good fit Use it for session cleanup, preparing handoff notes before archiving work, and maintaining clear restore paths for projects you may continue later.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiayu000/spellbook/codex-fluent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add majiayu000/spellbook --skill codex-fluent
Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Claude Code, Codex.

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-fluent

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiayu000/spellbook/codex-fluent/github.svg)](https://agentmods.dev/skills/majiayu000/spellbook/codex-fluent)
Your own site
<a href="https://agentmods.dev/skills/majiayu000/spellbook/codex-fluent"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/codex-fluent/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-fluent

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiayu000/spellbook/codex-fluent"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/codex-fluent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,264 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 61
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 99
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 102
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00057 $0.01264
Opus 5.5 $0.00023 $0.00506
Sonnet 5.5 $0.00011 $0.00253
Haiku 4.5 $0.00006 $0.00126

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

Security

Grade A, and why

codex-fluent 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 3mo 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.

skills/codex-fluent/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Fluent

Keep Codex feeling fast, light, and pleasant to use over months of heavy daily work.

This skill is about operational fluency — the subjective experience of Codex staying responsive, starting quickly, and not forcing you to fight accumulated context and state.

Core Philosophy

  • Fresh small state = speed and low mental load.
  • Old work must be preserved, but moved out of the active path.
  • Handoffs are non-negotiable before archiving anything you might still need.
  • Never delete. Archive with clear restore paths.

When to Use This Skill

  • Codex feels laggy on startup or when switching sessions.
  • You have many long-running or old chats you rarely touch but don't want to lose.
  • Before big maintenance or after noticing session directory growth.
  • After a codex-retrospective session where Codex itself flagged repeated context bloat or "I keep having to re-explain the current state".

Safety Rules (Hard)

  1. Inspect first, always. The first invocation must be report-only.
  2. Handoff before archive. For any active repo chat you might continue, a high-quality handoff document + reactivation prompt must exist before it is moved to archive.
  3. Backup before mutate. All changes must be preceded by a timestamped backup.
  4. Archive, never delete. Sessions, logs, and worktrees are moved to dedicated archive directories (~/.codex/archived_sessions/, archived_worktrees/, archived_logs/).
  5. Codex must be closed (or you explicitly accept --wait-for-codex-exit) before any filesystem changes to active state.
  6. Never touch credentials, global skills you still use, or memory files without explicit confirmation.
  • Heavy daily multi-repo users: weekly report + maintenance when needed.
  • Moderate users: every 10–14 days.
  • The skill can generate a recurring report-only reminder prompt for you.

Workflow

1. Diagnosis (Report Mode)

Ask:

Use codex-fluent to inspect my current Codex local state and give me a clear picture of what is causing drag.

Read the full file on GitHub · 132 lines

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. 3mo ago First seen · 132 lines · 57 tokens per session scan A 1887dc9e9075

Subscribe to this mod's changes

codex-fluent is a skill published in the GitHub repository majiayu000/spellbook (303 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 1,264 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-08-30.

Related

codex-fluent compared with skills from other repositories

codex-fluent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-fluentmajiayu000/spellbookSkill3034d agoMITA57Claude Code, Codex
cao-session-managementawslabs/cli-agent-orchestratorSkill1.9kyesterdayApache-2.0B83Claude Code
workflowzhinkgit/embeddedskillsSkill829yesterdayMITA65Claude Code
agent-deckasheshgoplani/agent-deckSkill1.4kyesterdayMITA63Claude Code, Codex
fast-resumeangristan/fast-resumeSkill198yesterdayMITA50Claude Code, Codex
pneuma-sessionpandazki/pneuma-skillsSkill1624d agoMITA127Claude Code, Codex
lov-organize-storagelovstudio/skillsSkill72todayMITA58Claude Code