Commit Graph
4 Commits
Author SHA1 Message Date
James Peter e3d2eac43c chore(merge): prepare workspace for vitual cherry-pick 2025-10-01 04:11:40 +10:00
dedrisian-oaiandGitHub 0bc0a945f3 Custom prompt args (numeric) (#4470)
[Cherry picked from /pull/3565]

Adds $1, $2, $3, $ARGUMENTS param parsing for custom prompts.
2025-09-29 16:14:37 -07:00
James Peter 01da2c5197 docs: clarify config directories (closes #181) 2025-09-18 17:21:12 +10:00
dedrisian-oaiandGitHub 22d852b2fe Custom /prompts (#2696)
Adds custom `/prompts` to `~/.codex/prompts/<command>.md`.

<img width="239" height="107" alt="Screenshot 2025-08-25 at 6 22 42 PM"
src="https://github.com/user-attachments/assets/fe6ebbaa-1bf6-49d3-95f9-fdc53b752679"
/>

---

Details:

1. Adds `Op::ListCustomPrompts` to core.
2. Returns `ListCustomPromptsResponse` with list of `CustomPrompt`
(name, content).
3. TUI calls the operation on load, and populates the custom prompts
(excluding prompts that collide with builtins).
4. Selecting the custom prompt automatically sends the prompt to the
agent.
2025-08-29 02:16:39 +00:00