Skip to content

[Night Shift] Document --prompt-file for shell-safe prompt passing#399

Open
Pgarciapg wants to merge 1 commit into
openai:mainfrom
Pgarciapg:exec-assistant/2026-06-24
Open

[Night Shift] Document --prompt-file for shell-safe prompt passing#399
Pgarciapg wants to merge 1 commit into
openai:mainfrom
Pgarciapg:exec-assistant/2026-06-24

Conversation

@Pgarciapg

Copy link
Copy Markdown

Summary

  • Updated skills/codex-cli-runtime/SKILL.md to document --prompt-file as the recommended approach for passing prompts to codex-companion
  • This avoids shell escaping issues with special characters ($, backticks, quotes, newlines)
  • Kept positional argument form documented as legacy for simple prompts
  • Updated test assertion to match new documentation

Test plan

  • All 90 tests pass
  • Test assertion updated to match new --prompt-file style

🤖 Generated with Claude Code

…ell-safe prompts

The codex-companion.mjs already supports --prompt-file to read prompts
from a file, which avoids shell escaping issues with special characters
like $, backticks, quotes, and newlines. Updated the skill documentation
to recommend this approach as the primary method, keeping the positional
argument form as a legacy option for simple prompts.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Pgarciapg Pgarciapg requested a review from a team June 24, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant