### Recording a New Skill: The Workflow
To teach Codex a recurring task, follow this streamlined process to transform a one-time demonstration into an automated, reusable skill.
### 1. Initiation
* **Trigger:** Open the Codex interface and select **"Record New Skill."**
* **Preparation:** Ensure you are at the starting state of the task (e.g., the dashboard of your expense management software).
* **Naming:** Give the skill a clear, descriptive name (e.g., "Monthly Office Supply Reimbursement") so you can easily invoke it later.
### 2. The Demonstration
* **Recording:** Once recording starts, perform the task exactly as you normally would.
* **Interactions:** Codex tracks your clicks, data entry, menu navigation, and API calls.
* **Natural Language Context:** While recording, you can speak or type contextual notes (e.g., *"When filling out the date field, always select the last Friday of the month"*). Codex integrates this logic into the skill.
* **Stop:** Click **"Finish Recording"** when the task is complete.
### 3. Inspection & Refinement
Codex processes the recording and presents it as an **editable workflow**.
* **Review Steps:** You will see a step-by-step breakdown of your actions.
* **Parameterization:** Identify static data that should be dynamic. For example, if you typed a specific amount, convert that field into a **variable** so Codex prompts you for the current value each time you run it.
* **Conditionals:** Add logic if needed (e.g., *"If the total amount is over $500, add a manager approval step"*).
### 4. Deployment
Once saved, the workflow becomes a **permanent skill**.
* **Execution:** Whenever the task arises, simply say, "Codex, run Monthly Office Supply Reimbursement."
* **Control:** Codex will pause at your defined variables to ask for input, execute the steps, and confirm completion once done.
> **Note:** Because these skills are inspectable, you can return to the workflow settings at any time to update, optimize, or delete steps as your processes evolve.