Skip to content

feat: add first-class Codex support #16

Open

Description

@ShengLin1001

Context

Fluent currently packages its skills and hooks for Claude Code. I maintain a fork that also runs the same learning workflow in Codex, but the local workspace layout is not suitable for upstream as-is.

Proposed portable scope

  • expose Codex-discoverable skills under .agents/skills
  • add project-local Codex hooks without changing a user's global config
  • keep the Fluent runtime in a repository-relative location
  • use Codex request_user_input when available, with a plain-message fallback; do not call Claude's AskUserQuestion
  • reuse upstream's UTF-8 handling and current milestones instead of carrying fork-specific fixes

Explicit non-goals

  • no .codex/config.toml synchronization
  • no absolute Windows paths or personal virtual-environment paths
  • no personal mymarketplace directory
  • no changes to Claude-only skills, hooks, or setup behavior from the Codex setup path

Would you prefer the first PR to support repository/clone mode only, or should Codex marketplace packaging be included from the start? I can prepare the smaller clone-mode implementation first.

Activity

  1. m98 commented on Nov 21, 2026

    @m98
    Owner

    Thanks @ShengLin1001, and thank you for separating the portable scope from your fork's local setup; the non-goals list is exactly what we would have asked for.

    To answer your question: clone/repository mode only, please. We would like to keep Fluent small and predictable (the same reasoning as in #9), so we are happy to accept a tightly scoped PR but not Codex marketplace packaging for now.

    What would make it mergeable:

    • No duplicated skills. .agents/skills should point at or reuse the existing .claude/skills content, so there is one source of truth and a fix never has to be made twice.
    • No behaviour change for Claude Code users. The Claude skills, hooks and setup path stay untouched, as you already propose.
    • Project-local Codex hooks only, repository-relative paths, and the request_user_input / plain-message fallback you describe.
    • Reuse the Python helpers as they are (update-db.py, read-db.py, fluent_paths.py). Note that fix(hooks): UTF-8 stdin, atomic multi-DB save, and unique backup dirs in update-db.py #17 and fix: prevent accidental answer leaks during exercises #15 were just merged, so please base on current main.
    • A short README section, clearly marked as community-supported, since we cannot test Codex ourselves on every change.

    If the smallest version turns out to need copies of the skills or changes to the Claude path, let's discuss it here before you invest the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions