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…
от majiayu000★ 301 звезда на 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-retrospectivesession where Codex itself flagged repeated context bloat or "I keep having to re-explain the current state".
Safety Rules (Hard)
- Inspect first, always. The first invocation must be report-only.
- 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.
- Backup before mutate. All changes must be preceded by a timestamped backup.
- Archive, never delete. Sessions, logs, and worktrees are moved to dedicated archive directories (
~/.codex/archived_sessions/,archived_worktrees/,archived_logs/). - Codex must be closed (or you explicitly accept
--wait-for-codex-exit) before any filesystem changes to active state. - 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-retrospectiveruns.
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/ma
Установить codex-fluent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл codex-fluent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codex-fluent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic