Skip to content
Back to skills

Autopilot Commit Codex

ASecurity

在 Codex 中执行 autopilot 风格的智能提交时使用。适用于用户提到 autopilot commit、git commit、智能提交、提交代码、生成中文提交信息等场景。

  • 27 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 12, 2026
ai-agentsgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 12, 2026

npx -y skills add strzhao/autopilot --skill autopilot-commit-codex --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Autopilot Commit Codex?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Autopilot Commit Codex
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/strzhao-autopilot-commit-codex-autopilot/badge)](https://www.skillsdirectory.com/skills/strzhao-autopilot-commit-codex-autopilot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: autopilot-commit-codex
description: 在 Codex 中执行 autopilot 风格的智能提交时使用。适用于用户提到 autopilot commit、git commit、智能提交、提交代码、生成中文提交信息等场景。
---

# Autopilot Commit for Codex

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

## 基线文件

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

- `baselines/claude-autopilot-commit.md`

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

## Codex 覆盖规则

- 主链路状态文件使用 `.codex/autopilot.local.md`,不要读取 `.claude/autopilot.local.md`
- Codex 中没有 Claude 的 `AskUserQuestion`,需要用户输入时直接在对话中提问
- 如果要更新项目文档:
  - 优先更新当前项目真正给 Codex 使用的文档入口,例如 `.agents.md` 或 `AGENTS.md`
  - 如果 `AGENTS.md` 是既有软链接、镜像文件或 Claude 专用文档,不要盲改,先选择更安全的 Codex-facing 文件
  - 仅当改动确实影响 Claude 侧说明时,才同步更新 Claude 文档
- 不依赖 Claude 专有 hooks、Session 变量、bridge 或 watcher

## 执行要求

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

## 上下文感知

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

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

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

Files in this skill

  • SKILL.md1.6 KB
  • agents/openai.yaml243 B
  • baselines/claude-autopilot-commit.md9.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.