Codex Module – TEMPLATE
CODEX MODULE
[MODULE NAME HERE]
Domain: [Domain]
Mode: [Mode]
Version: 1.0
Section Purpose

[Describe what this module does and why it exists.]

Section Input
#PRIMARY_INPUT#

[Describe the primary input expected by this module.]

#METADATA#
#type:
[text/poem/code/etc]
#mode:
[analysis/generation/comparison/etc]
#constraints:
[optional constraints or notes]
Section Output

Expected outputs:

  • [Key output element]
  • [Another output element]
Recommended output structure (for LLMs)
{ "field_1": <value>, "field_2": "<text>", "nested": { "subfield": "<text>" } }
Section Process
Step 1: [Label]
  • [Action item]
  • [Action item]
Step 2: [Label]
  • [Action item]
  • [Action item]
Step 3: [Label]
  • [Action item]
  • [Action item]
Section Constraints
  • [Constraint 1]
  • [Constraint 2]
Section Examples
Example Input
[Example primary input and metadata]
Example Output
[Example output sketch]
Section Variants
[variant-1] [variant-2]

[Describe how these variants alter the module’s behavior.]

Section Reflexion Cycle
# REFLEXION CYCLE 1 Observation: <what the model did well or poorly> Adjustment: <how the process should be tuned next time> Next Action: <re‑run with modified constraints / metadata>

Comments