autopilot-commit-codex

autopilot-commit-codex is a skill for Codex from strzhao/autopilot. It costs 50 tokens per session (469 once invoked), scanned A, original, MIT.

A Codex skill for making autopilot-style Git commits. Git commits are saved checkpoints that record code changes.

In plain words
What is it for?
It is for autopilot commits, ordinary Git commits, intelligent commit requests, and generating Chinese commit messages.
Why use it?
It helps turn completed changes into a commit and can produce a commit message in Chinese when requested.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; installed under .agents/ (shared by several agents).

Good fit It is for autopilot commits, ordinary Git commits, intelligent commit requests, and generating Chinese commit messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strzhao/autopilot/autopilot-commit-codex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add strzhao/autopilot --skill autopilot-commit-codex
Clone the repo
git clone --depth 1 https://github.com/strzhao/autopilot

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autopilot-commit-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/strzhao/autopilot/autopilot-commit-codex/github.svg)](https://agentmods.dev/skills/strzhao/autopilot/autopilot-commit-codex)
Your own site
<a href="https://agentmods.dev/skills/strzhao/autopilot/autopilot-commit-codex"><img src="https://agentmods.dev/badge/skills/strzhao/autopilot/autopilot-commit-codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autopilot-commit-codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/strzhao/autopilot/autopilot-commit-codex"><img src="https://agentmods.dev/badge/skills/strzhao/autopilot/autopilot-commit-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00469
Opus 5.5 $0.00020 $0.00188
Sonnet 5.5 $0.00010 $0.00094
Haiku 4.5 $0.00005 $0.00047

Measured 1mo ago against content hash 9e3af149dd2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autopilot-commit-codex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/autopilot-commit-codex/SKILL.md · 46 lines

What it actually says

Autopilot Commit for Codex

这是 Claude 版 autopilot-commit 的 Codex 兼容入口。

基线文件

把以下文件当作详细工作流基线:

  • plugins/autopilot/skills/autopilot-commit/SKILL.md

先读取基线,再按下面的 Codex 覆盖规则执行。

Codex 覆盖规则

  • Codex 版主链路状态文件使用 .codex/autopilot.local.md,不要读取 .claude/autopilot.local.md
  • Codex 中没有 Claude 的 AskUserQuestion,需要用户输入时直接在对话中提问
  • 如果要更新项目文档:
    • Codex-facing 规则 优先更新 .agents.md,必要时同步更新 .codex/AGENTS.md
    • 本仓库不要直接更新根目录 AGENTS.md,因为它是指向 CLAUDE.md 的既有软链接
    • Claude-facing 规则 仅当改动确实影响 Claude 插件说明时才更新 CLAUDE.md
  • 不依赖 Claude 专有插件 hooks 或 Session 变量

执行要求

  • 先看 git 状态与改动内容
  • 按基线工作流决定 commit type
  • 需要 bugfix 证据时,优先运行真实验证
  • 生成中文提交信息,格式仍保持:
    • type(scope): 业务描述 (技术说明)
  • 如果 ai-todo 可用,按基线逻辑同步任务

上下文感知

如果 .codex/autopilot.local.md 存在且当前 phase=merge:

  • 视为主链路模式
  • 跳过会破坏已验证状态的重复优化
  • 保留必要的提交前检查和最终总结

否则按独立模式完整执行。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 46 lines · 50 tokens per session scan A 9e3af149dd2f

Subscribe to this mod's changes

autopilot-commit-codex is a skill published in the GitHub repository strzhao/autopilot (32 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 469 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.