Skip to content

🎥 Make videos programmatically with React

Skills: Rename Codex task after checkout (#10314)

Jonny Burger00752aed5c00
diff --git a/.agents/skills/checkout/SKILL.md b/.agents/skills/checkout/SKILL.md
index 2fbf823254..a0f24efabd 100644
--- a/.agents/skills/checkout/SKILL.md
+++ b/.agents/skills/checkout/SKILL.md
@@ -1,9 +1,15 @@
---
name: checkout
-description: Checkout a requested branch or ref in the Remotion repo, then install dependencies and build. Use when the user asks to checkout a ref and prepare the workspace.
+description: Checkout a requested branch or ref in the Remotion repo, rename the current task to the associated PR title when running in Codex, then install dependencies and build. Use when the user asks to checkout a ref and prepare the workspace.
---
-Checkout the user-provided ref, then run:
+Checkout the user-provided ref. Only when running in Codex, use
+`gh pr view --json title --jq .title` to get the associated PR title, then use
+`set_thread_title` to rename the current Codex task to that title. If the ref has no
+associated PR, leave the task title unchanged and continue. Outside Codex, skip the
+PR title lookup and task rename.
+
+Then run:
```bash
bun i