{
  "id": 21841876,
  "title": "12 Claude Code and Codex CLI Flags for Running AI Agents From Scripts on Your Mac (2026)",
  "url": "https://urgent.news/2026/11/25/12-claude-code-and-codex-cli-flags-for-running-ai-agents-from-scripts",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-25T19:17:54.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jeff_feldman_7ab3898/12-claude-code-and-codex-cli-flags-for-running-ai-agents-from-scripts-on-your-mac-2026-4lk8"
  },
  "original_language": "en",
  "account": "As you read through the 12 Claude Code and Codex CLI flags for running AI agents from scripts on your Mac, keep in mind that some of these flags have already found their way into your shell aliases. The remaining flags offer powerful features that could streamline your workflows, but they may require some additional setup or configuration. Take a moment to review each flag and consider which ones would be most beneficial to incorporate into your scripts.",
  "summary": "If your agent scripts still pass --full-auto to codex exec , they're out of date. OpenAI's non-interactive mode docs now say the flag is no longer supported. Both big coding agents have quietly grown a solid set of flags for running without a chat window: in a shell alias, a git hook, a cron job or CI. Here are the 12 I'd learn first, all checked against the official docs this month. Claude Code…",
  "key_points": [
    "12 Claude Code and Codex CLI flags available for Mac scripts",
    "Some flags already used in shell aliases",
    "Remaining flags offer powerful workflow features"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}