跳到正文
cccskills
免费在 GitHub 公开

codex-adapter

Route ONE bounded, mechanical task to the Codex CLI as a non-Claude executor, under the same review-before-merge gate as any other agent-produced diff. Use when the user explicitly asks to hand a task to Codex, or names OpenAI Codex / a non-Claude executor for a mechanical change (rename a symbol across files, add a config entry, apply a scripted find/replace). Not for open-ended or strategic work -- that stays with the operating Claude session.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os星标 25(GitHub 25 + cccskills 0)
集成工具OpenAI

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Codex Adapter

This is aigent-OS's first (and currently only) non-Claude executor: a thin wrapper around daemons/codex-adapter.sh that runs a single bounded, mechanical task through the Codex CLI's non-interactive codex exec mode.

Scope -- what "bounded and mechanical" means

Good fits: a scripted rename, a config/gitignore entry, a repetitive multi-file edit with a clear before/after, a lint-fix pass. The task prompt you hand it should be checkable by a human (or you) glancing at the resulting diff -- if you can't describe in one sentence what "done" looks like, it's not bounded enough for this adapter; do it yourself instead.

Not a fit: architecture decisions, anything requiring judgment about tradeoffs, anything touching credentials/secrets/production config, anything the user hasn't explicitly asked to route to Codex.

Before you invoke it

  1. Confirm the Codex CLI is actually available: command -v codex (or whatever AIGENT_CODEX_BIN is set to). If it isn't installed, tell the user instead of guessing at a path.
  2. State the bounded task in one sentence, and the target directory. If either is unclear, ask -- don't invoke on a guess.

Invocation

bash daemons/codex-adapter.sh "<bounded task prompt>" --dir <path> [--sandbox <mode>]
  • AIGENT_CODEX_BIN (env, default codex) -- path or name of the Codex CLI binary. Never hardcode a machine-specific path in the invocation; set the env var if the binary isn't on PATH.
  • --dir <path> -- working directory the task runs in. Default: current directory.
  • --sandbox <mode> -- passed through to codex exec --sandbox. Default workspace-write (Codex may read/write inside --dir, nothing wider).

Example:

AIGENT_CODEX_BIN=codex bash daemons/codex-adapter.sh \
  "Add a .gitignore entry for *.tmp files" --dir .

After it runs -- the review gate

The adapter never commits or pushes. It writes:

  • .aigent/codex-runs/<timestamp>/output.log -- the raw Codex CLI transcript
  • .aigent/codex-runs/<timestamp>/review.diff -- a working-tree diff (tracked changes + a synthetic diff for any new untracked files) if --dir is a git repository
  • .aigent/codex-runs/<timestamp>/status.txt -- git status --porcelain for the same tree

Read review.diff before doing anything else. Treat a Codex-produced change exactly like a sub-agent's diff: verify it does what was asked, then decide whether to stage/commit it yourself. If --dir isn't a git repository, the adapter says so explicitly and you review the files directly instead.

What this is not

Not a general multi-LLM router -- it's one task class routed to one executor. Extending this to route by task type, or to wire additional CLIs (Gemini CLI, opencode, etc.) behind the same interface, is future work, not something to imply is already live.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

brief

免费

Generate a structured delegation brief for any task

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

查看 wrg32786 的全部技能

报告此技能的问题