← Back to wkappbot-workflow
wkappbot-workflow ★★☆

Codex AGENTS.md Tool Rules

AGENTS.md rules that guide Codex to use Claude-named cmd wrappers instead of native write_file/read_file tools. Required for harness integration to work correctly.

user/developer
codexagents-mdharnesstool-ruleswrite_fileforbiddenwrappers

Steps

  1. PURPOSE: AGENTS.md is loaded by Codex at ses...
  2. FORBIDDEN LIST: write_file, read_file -- bot...
  3. REQUIRED PATTERN: all file writes via shell...
  4. JSON FORMAT for shell calls: {tool_name:'Wri...
  5. AGENTS.MD SECTION TO ADD: ## Tool Usage (MAN...
  6. Write.cmd'
  7. PATH REQUIREMENT: WKAppBot/bin/ must be earl...
  8. AGENT-CMD-MANDATORY (2026-05-24): All agent/...
  9. AGENT.CMD STDIN-HEREDOC FOR MULTILINE PROMPT...