fix: harden codex copied skill rewriting (#285)

This commit is contained in:
Kieran Klaassen
2026-03-16 21:25:59 -07:00
committed by GitHub
parent 82c1fe86df
commit 6f561f94b4
6 changed files with 111 additions and 3 deletions

View File

@@ -66,7 +66,12 @@ async function copyCodexSkillDir(
if (entry.name === "SKILL.md") {
const content = await readText(sourcePath)
await writeText(targetPath, transformContentForCodex(content, invocationTargets))
await writeText(
targetPath,
transformContentForCodex(content, invocationTargets, {
unknownSlashBehavior: "preserve",
}),
)
continue
}