Codex Fluent logo

Codex Fluent

Community
majiayu000
codex-fluent

Use when Codex feels slow, bloated, or heavy after heavy use. Provides safe session hygiene, archive strategy, and handoff discipline to keep daily Codex usage responsive and low-friction. Always pairs with comprehensive handoffs before archiving active work.

Overview

Publishermajiayu000
Repositoryspellbook
Skill namecodex-fluent
Stars
280
Forks
26
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by majiayu000 on GitHub. Read the source before you install it.

Installation

Install the Codex Fluent AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/majiayu000/spellbook.git /tmp/spellbook
mkdir -p .claude/skills
cp -r /tmp/spellbook/skills/codex-fluent .claude/skills/codex-fluent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Codex Fluent in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Codex Fluent on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Codex Fluent is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Recommended Cadence

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

The skill will report on:

  • Active vs archived session sizes
  • Largest active sessions and their ages
  • Stale worktrees
  • Large log files
  • Potential thread metadata bloat (title/preview)
  • Dead config entries
  • Heavy background processes (reported only)

2. Handoff Creation (Mandatory for Valuable Work)

Before any archiving of chats you care about, create excellent handoffs.

Use the template in references/handoff-template.md.

The reactivation prompt must allow a completely fresh Codex thread (or even Claude via the codex skill) to pick up without the old giant context.

3. Apply Maintenance

Only after handoffs exist for everything important:

Use codex-fluent to perform safe maintenance now. I have created handoffs for the sessions I want to keep continuity on. Codex is closed.

What a normal apply does:

  • Timestamped backup to ~/Documents/Codex/codex-backups/codex-fluent-YYYYMMDD-HHMM/
  • Move qualifying old sessions to ~/.codex/archived_sessions/
  • Move stale worktrees to ~/.codex/archived_worktrees/
  • Rotate oversized logs
  • Clean dead project entries from config
  • Normalize certain path issues where safe

4. Verification

Run diagnosis again and compare before/after sizes and feel.

5. (Optional) Recurring Reminder

Generate a safe, report-only weekly reminder prompt that never applies changes automatically.

Integration with Other Spellbook Skills

  • After running codex-retrospective, if Codex complains about "having to re-read huge context every time" or repeated state loss, this skill is the natural follow-up.
  • Design handoff documents as the compact representation of a thread: preserve the objective, constraints, decisions, verification, and unresolved work.
  • Handoff documents created here are excellent material to feed into future codex-retrospective runs.

What This Skill Will Not Do

  • Automatically delete anything.
  • Kill processes.
  • Touch credentials or irreplaceable memory.
  • Archive pinned or explicitly marked "do not touch" sessions without confirmation.
  • Promise universal speedups (results depend on your usage patterns).

Gotchas

  • A large session is not automatically safe to archive. If the work is active, blocked, or likely to resume, create the handoff first and verify that the reactivation prompt points to a real file.
  • Reported size reductions do not prove product speedups by themselves. Compare before/after active-state size and a fresh startup or session-switch test.
  • Never treat "Codex is closed" as an assumption. If apply mode would touch active state, verify process state or get explicit user acceptance first.
  • Do not normalize paths, prune config, or move global skills in the same pass as session archiving unless the diagnosis explicitly named those candidates.

References

  • references/handoff-template.md — High-quality handoff document template + reactivation prompt
  • references/maintenance-checklist.md — Step-by-step safe maintenance checklist
  • references/examples/ — Real-world (anonymized) before/after reports and handoff examples

Success Criteria

After using this skill properly you should experience:

  • Noticeably faster Codex startup and session switching
  • Lower anxiety about "losing history"
  • Clear, searchable handoff documents in your important repos
  • A repeatable, low-risk maintenance habit

Start with a diagnosis run. The rest follows naturally.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Codex Fluent AI skill do?

Use when Codex feels slow, bloated, or heavy after heavy use. Provides safe session hygiene, archive strategy, and handoff discipline to keep daily Codex usage responsive and low-friction. Always pairs with comprehensive handoffs before archiving active work.

Why use Codex Fluent on TypingMind?

Because you install it once and use it with any model. Codex Fluent is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Codex Fluent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/majiayu000/spellbook/tree/main/skills/codex-fluent. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Codex Fluent?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Codex Fluent?

As many as you like. As long as a model supports skills, you can use Codex Fluent with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Codex Fluent AI skill free?

Yes. It is published on GitHub by majiayu000 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇