[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C0ZP5KAH2NTYVFTA4F05BT":3,"skill-same:01M7C0ZP5KAH2NTYVFTA4F05BT":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M7C0ZP5KAH2NTYVFTA4F05BT","codex",null,"Delegate coding to OpenAI Codex CLI (features, PRs).","RafaelMKn\u002FAkmon-Skills","RafaelMKn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33702746?v=4","01M7C0HAH83ZQ8D0FEK993RBX4","Rafael Muraro Klement","01M7C0HAHX5T9ZK9Z4GZJ9AE5W",10,"MIT","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F05-dev-harness-cli\u002Fcodex\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: codex\ndescription: \"Delegate coding to OpenAI Codex CLI (features, PRs).\"\nversion: 1.0.1\nauthor: Hermes Agent\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [Coding-Agent, Codex, OpenAI, Code-Review, Refactoring]\n    related_skills: [claude-code, hermes-agent]\n---\n\n# Codex CLI\n\nDelegate coding tasks to [Codex](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex) via the Hermes terminal. Codex is OpenAI's autonomous coding agent CLI.\n\n## When to use\n\n- Building features\n- Refactoring\n- PR reviews\n- Batch issue fixing\n\nRequires the codex CLI and a git repository.\n\n## Prerequisites\n\n- Codex installed: `npm install -g @openai\u002Fcodex`\n- OpenAI auth configured: either `OPENAI_API_KEY` or Codex OAuth credentials\n  from the Codex CLI login flow\n- **Must run inside a git repository** — Codex refuses to run outside one\n- Use `pty=true` in terminal calls — Codex is an interactive terminal app\n\nFor Hermes itself, `model.provider: openai-codex` uses Hermes-managed Codex\nOAuth from `~\u002F.hermes\u002Fauth.json` after `hermes auth add openai-codex`. For the\nstandalone Codex CLI, a valid CLI OAuth session may live under\n`~\u002F.codex\u002Fauth.json`; do not treat a missing `OPENAI_API_KEY` alone as proof\nthat Codex auth is missing.\n\n## One-Shot Tasks\n\n```\nterminal(command=\"codex exec 'Add dark mode toggle to settings'\", workdir=\"~\u002Fproject\", pty=true)\n```\n\nFor scratch work (Codex needs a git repo):\n```\nterminal(command=\"cd $(mktemp -d) && git init && codex exec 'Build a snake game in Python'\", pty=true)\n```\n\n## Background Mode (Long Tasks)\n\n```\n# Start in background with PTY\nterminal(command=\"codex exec --sandbox workspace-write 'Refactor the auth module'\", workdir=\"~\u002Fproject\", background=true, pty=true)\n# Returns session_id\n\n# Monitor progress\nprocess(action=\"poll\", session_id=\"\u003Cid>\")\nprocess(action=\"log\", session_id=\"\u003Cid>\")\n\n# Send input if Codex asks a question\nprocess(action=\"submit\", session_id=\"\u003Cid>\", data=\"yes\")\n\n# Kill if needed\nprocess(action=\"kill\", session_id=\"\u003Cid>\")\n```\n\n## Key Flags\n\n| Flag | Effect |\n|------|--------|\n| `exec \"prompt\"` | One-shot execution, exits when done |\n| `--sandbox workspace-write` (`-s`) | Sandboxed but auto-approves file changes in the workspace (the recommended auto-build mode) |\n| `--dangerously-bypass-approvals-and-sandbox` | No sandbox, no approvals (fastest, most dangerous; `--yolo` still works as a hidden alias) |\n| `--sandbox danger-full-access` | No Codex sandbox; useful when the host service context breaks bubblewrap |\n\n> **Deprecated:** `--full-auto` still works but the live CLI warns to use `--sandbox workspace-write` instead.\n\n## Hermes Gateway Caveat\n\nWhen invoking the Codex CLI from a Hermes gateway\u002Fservice context (for example,\nTelegram-driven agent sessions), Codex `workspace-write` sandboxing may fail even\nwhen the same command works in the user's interactive shell. A typical symptom is\nbubblewrap\u002Fuser-namespace errors such as `setting up uid map: Permission denied`\nor `loopback: Failed RTM_NEWADDR: Operation not permitted`.\n\nIn that context, prefer:\n\n```\ncodex exec --sandbox danger-full-access \"\u003Ctask>\"\n```\n\nUse process boundaries as the safety layer instead: explicit `workdir`, clean git\nstatus before launch, narrow task prompts, `git diff` review, targeted tests, and\nhuman\u002Fagent confirmation before committing broad changes.\n\n## PR Reviews\n\nClone to a temp directory for safe review:\n\n```\nterminal(command=\"REVIEW=$(mktemp -d) && git clone https:\u002F\u002Fgithub.com\u002Fuser\u002Frepo.git $REVIEW && cd $REVIEW && gh pr checkout 42 && codex review --base origin\u002Fmain\", pty=true)\n```\n\n## Parallel Issue Fixing with Worktrees\n\n```\n# Create worktrees\nterminal(command=\"git worktree add -b fix\u002Fissue-78 ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78 main\", workdir=\"~\u002Fproject\")\nterminal(command=\"git worktree add -b fix\u002Fissue-99 ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-99 main\", workdir=\"~\u002Fproject\")\n\n# Launch Codex in each\nterminal(command=\"codex --sandbox workspace-write exec 'Fix issue #78: \u003Cdescription>. Commit when done.'\", workdir=\"~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78\", background=true, pty=true)\nterminal(command=\"codex --sandbox workspace-write exec 'Fix issue #99: \u003Cdescription>. Commit when done.'\", workdir=\"~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-99\", background=true, pty=true)\n\n# Monitor\nprocess(action=\"list\")\n\n# After completion, push and create PRs\nterminal(command=\"cd ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78 && git push -u origin fix\u002Fissue-78\")\nterminal(command=\"gh pr create --repo user\u002Frepo --head fix\u002Fissue-78 --title 'fix: ...' --body '...'\")\n\n# Cleanup\nterminal(command=\"git worktree remove ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78\", workdir=\"~\u002Fproject\")\n```\n\n## Batch PR Reviews\n\n```\n# Fetch all PR refs\nterminal(command=\"git fetch origin '+refs\u002Fpull\u002F*\u002Fhead:refs\u002Fremotes\u002Forigin\u002Fpr\u002F*'\", workdir=\"~\u002Fproject\")\n\n# Review multiple PRs in parallel\nterminal(command=\"codex exec 'Review PR #86. git diff origin\u002Fmain...origin\u002Fpr\u002F86'\", workdir=\"~\u002Fproject\", background=true, pty=true)\nterminal(command=\"codex exec 'Review PR #87. git diff origin\u002Fmain...origin\u002Fpr\u002F87'\", workdir=\"~\u002Fproject\", background=true, pty=true)\n\n# Post results\nterminal(command=\"gh pr comment 86 --body '\u003Creview>'\", workdir=\"~\u002Fproject\")\n```\n\n## Rules\n\n1. **Always use `pty=true`** — Codex is an interactive terminal app and hangs without a PTY\n2. **Git repo required** — Codex won't run outside a git directory. Use `mktemp -d && git init` for scratch\n3. **Use `exec` for one-shots** — `codex exec \"prompt\"` runs and exits cleanly\n4. **`--sandbox workspace-write` for building** — auto-approves changes within the sandbox (`--full-auto` is deprecated for this)\n5. **Background for long tasks** — use `background=true` and monitor with `process` tool\n6. **Don't interfere** — monitor with `poll`\u002F`log`, be patient with long-running tasks\n7. **Parallel is fine** — run multiple Codex processes at once for batch work\n","# Codex CLI\n\nDelegate coding tasks to [Codex](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex) via the Hermes terminal. Codex is OpenAI's autonomous coding agent CLI.\n\n## When to use\n\n- Building features\n- Refactoring\n- PR reviews\n- Batch issue fixing\n\nRequires the codex CLI and a git repository.\n\n## Prerequisites\n\n- Codex installed: `npm install -g @openai\u002Fcodex`\n- OpenAI auth configured: either `OPENAI_API_KEY` or Codex OAuth credentials\n  from the Codex CLI login flow\n- **Must run inside a git repository** — Codex refuses to run outside one\n- Use `pty=true` in terminal calls — Codex is an interactive terminal app\n\nFor Hermes itself, `model.provider: openai-codex` uses Hermes-managed Codex\nOAuth from `~\u002F.hermes\u002Fauth.json` after `hermes auth add openai-codex`. For the\nstandalone Codex CLI, a valid CLI OAuth session may live under\n`~\u002F.codex\u002Fauth.json`; do not treat a missing `OPENAI_API_KEY` alone as proof\nthat Codex auth is missing.\n\n## One-Shot Tasks\n\n```\nterminal(command=\"codex exec 'Add dark mode toggle to settings'\", workdir=\"~\u002Fproject\", pty=true)\n```\n\nFor scratch work (Codex needs a git repo):\n```\nterminal(command=\"cd $(mktemp -d) && git init && codex exec 'Build a snake game in Python'\", pty=true)\n```\n\n## Background Mode (Long Tasks)\n\n```\n# Start in background with PTY\nterminal(command=\"codex exec --sandbox workspace-write 'Refactor the auth module'\", workdir=\"~\u002Fproject\", background=true, pty=true)\n# Returns session_id\n\n# Monitor progress\nprocess(action=\"poll\", session_id=\"\u003Cid>\")\nprocess(action=\"log\", session_id=\"\u003Cid>\")\n\n# Send input if Codex asks a question\nprocess(action=\"submit\", session_id=\"\u003Cid>\", data=\"yes\")\n\n# Kill if needed\nprocess(action=\"kill\", session_id=\"\u003Cid>\")\n```\n\n## Key Flags\n\n| Flag | Effect |\n|------|--------|\n| `exec \"prompt\"` | One-shot execution, exits when done |\n| `--sandbox workspace-write` (`-s`) | Sandboxed but auto-approves file changes in the workspace (the recommended auto-build mode) |\n| `--dangerously-bypass-approvals-and-sandbox` | No sandbox, no approvals (fastest, most dangerous; `--yolo` still works as a hidden alias) |\n| `--sandbox danger-full-access` | No Codex sandbox; useful when the host service context breaks bubblewrap |\n\n> **Deprecated:** `--full-auto` still works but the live CLI warns to use `--sandbox workspace-write` instead.\n\n## Hermes Gateway Caveat\n\nWhen invoking the Codex CLI from a Hermes gateway\u002Fservice context (for example,\nTelegram-driven agent sessions), Codex `workspace-write` sandboxing may fail even\nwhen the same command works in the user's interactive shell. A typical symptom is\nbubblewrap\u002Fuser-namespace errors such as `setting up uid map: Permission denied`\nor `loopback: Failed RTM_NEWADDR: Operation not permitted`.\n\nIn that context, prefer:\n\n```\ncodex exec --sandbox danger-full-access \"\u003Ctask>\"\n```\n\nUse process boundaries as the safety layer instead: explicit `workdir`, clean git\nstatus before launch, narrow task prompts, `git diff` review, targeted tests, and\nhuman\u002Fagent confirmation before committing broad changes.\n\n## PR Reviews\n\nClone to a temp directory for safe review:\n\n```\nterminal(command=\"REVIEW=$(mktemp -d) && git clone https:\u002F\u002Fgithub.com\u002Fuser\u002Frepo.git $REVIEW && cd $REVIEW && gh pr checkout 42 && codex review --base origin\u002Fmain\", pty=true)\n```\n\n## Parallel Issue Fixing with Worktrees\n\n```\n# Create worktrees\nterminal(command=\"git worktree add -b fix\u002Fissue-78 ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78 main\", workdir=\"~\u002Fproject\")\nterminal(command=\"git worktree add -b fix\u002Fissue-99 ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-99 main\", workdir=\"~\u002Fproject\")\n\n# Launch Codex in each\nterminal(command=\"codex --sandbox workspace-write exec 'Fix issue #78: \u003Cdescription>. Commit when done.'\", workdir=\"~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78\", background=true, pty=true)\nterminal(command=\"codex --sandbox workspace-write exec 'Fix issue #99: \u003Cdescription>. Commit when done.'\", workdir=\"~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-99\", background=true, pty=true)\n\n# Monitor\nprocess(action=\"list\")\n\n# After completion, push and create PRs\nterminal(command=\"cd ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78 && git push -u origin fix\u002Fissue-78\")\nterminal(command=\"gh pr create --repo user\u002Frepo --head fix\u002Fissue-78 --title 'fix: ...' --body '...'\")\n\n# Cleanup\nterminal(command=\"git worktree remove ~\u002F.hermes\u002Fcache\u002Fscratch\u002Fissue-78\", workdir=\"~\u002Fproject\")\n```\n\n## Batch PR Reviews\n\n```\n# Fetch all PR refs\nterminal(command=\"git fetch origin '+refs\u002Fpull\u002F*\u002Fhead:refs\u002Fremotes\u002Forigin\u002Fpr\u002F*'\", workdir=\"~\u002Fproject\")\n\n# Review multiple PRs in parallel\nterminal(command=\"codex exec 'Review PR #86. git diff origin\u002Fmain...origin\u002Fpr\u002F86'\", workdir=\"~\u002Fproject\", background=true, pty=true)\nterminal(command=\"codex exec 'Review PR #87. git diff origin\u002Fmain...origin\u002Fpr\u002F87'\", workdir=\"~\u002Fproject\", background=true, pty=true)\n\n# Post results\nterminal(command=\"gh pr comment 86 --body '\u003Creview>'\", workdir=\"~\u002Fproject\")\n```\n\n## Rules\n\n1. **Always use `pty=true`** — Codex is an interactive terminal app and hangs without a PTY\n2. **Git repo required** — Codex won't run outside a git directory. Use `mktemp -d && git init` for scratch\n3. **Use `exec` for one-shots** — `codex exec \"prompt\"` runs and exits cleanly\n4. **`--sandbox workspace-write` for building** — auto-approves changes within the sandbox (`--full-auto` is deprecated for this)\n5. **Background for long tasks** — use `background=true` and monitor with `process` tool\n6. **Don't interfere** — monitor with `poll`\u002F`log`, be patient with long-running tasks\n7. **Parallel is fine** — run multiple Codex processes at once for batch work\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":37,"description":7},"Hermes Agent","1.0.1",{"hermes":27},{"tags":28,"related_skills":34},[29,30,31,32,33],"Coding-Agent","Codex","OpenAI","Code-Review","Refactoring",[35,36],"claude-code","hermes-agent",[38,39,40],"linux","macos","windows","main","9b9e0b431996bedce768dc65557e8c5adefd2571","05-dev-harness-cli\u002Fcodex",0,"https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills","https:\u002F\u002Fgithub.com\u002FRafaelMKn","Dale whisky, code e coffee","2026-11-12 04:51:36",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add RafaelMKn\u002FAkmon-Skills --skill codex",{"tool":55,"command":56},"bunx","bunx skills add RafaelMKn\u002FAkmon-Skills --skill codex",{"tool":58,"command":59},"pnpm","pnpm dlx skills add RafaelMKn\u002FAkmon-Skills --skill codex","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F05-dev-harness-cli\u002Fcodex\u002FSKILL.md",true,[],[64,71,78,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7C19A2Z9K9X4MT26JZVNT05","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7C196CZ8QN3D3CY6ZB8JW44","xurl","X\u002FTwitter via xurl CLI: raw post search, posting, DM, media.","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7C1941WGH7Z18R3PCVY4FZY","xlsx","Create, read, edit Excel .xlsx workbooks and CSVs.","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fxlsx\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7C19055TJ9DDGJM2X53WMRP","whatsapp-baileys-local","Use when sending WhatsApp via the local Baileys bench.","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fwhatsapp-baileys-local\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7C18XMCX9NPM8QN7H9YZ35J","weekly-review-planning","Weekly reset: commitments, stalled work, next-week plan.","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fweekly-review-planning\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7C18TK97ZZMJ9DP4MB7TD5K","teams-meeting-pipeline","Teams meeting summaries, job replay, Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FRafaelMKn\u002FAkmon-Skills\u002Fblob\u002Fmain\u002F06-produtividade-pesquisa-docs\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[]]