I don't know what Codex's ToS are, but it would be against ToS to reverse engineer any agent with Claude.