基于 commit skill 的自主提交流程。适用于 implement 阶段在提交前规划范围并通过 bash 完成 git 提交。

Apache-2.0Auto-check passedDevelopment

Install Commit

skills CLI
$ npx skills add openJiuwen-ai/agent-core --skill commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openJiuwen-ai/agent-core commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openJiuwen-ai/agent-core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/openjiuwen/rsi/harness_rsi/auto_harness/skills/commit .claude/skills/commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit
GitHub stars
442
Token cost
~196 tokens
SKILL.md length
72 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
Apache-2.0

At a glance

基于 commit skill 的自主提交流程。适用于 implement 阶段在提交前规划范围并通过 bash 完成 git 提交。

  • Works in 6 steps: 读取当前 git 状态,确认 dirty files、旧脏文件和测试上下文 → 收缩提交范围,只保留当前任务真实需要的文件 → 按 communicate skill 的规范生成 commit message → …
  • Tasks that involve Git workflow
  • SKILL.md covers 固定工作流, 提交约束 and 调整原则
  • Calls git

What it does

Commit is an agent skill from openJiuwen-ai/agent-core. 基于 commit skill 的自主提交流程。适用于 implement 阶段在提交前规划范围并通过 bash 完成 git 提交。

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git workflow. It works with Git and Bash. The repository describes itself as: openJiuwen agent-core provides a complete set of SDK capabilities related to AI Agent development, running, optimization, and evolution. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Git workflow

Example prompts

  • “/commit”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 读取当前 git 状态,确认 dirty files、旧脏文件和测试上下文
  2. 收缩提交范围,只保留当前任务真实需要的文件
  3. 按 communicate skill 的规范生成 commit message
  4. 用明确文件路径执行 git add
  5. 用 git commit -m 完成提交
  6. 提交后再次检查 git status --porcelain 和 git show --stat -1

What it can do on your machine

Read from SKILL.md and the folder at commit 8345a27. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit loads about 196 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 72 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~196

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openJiuwen-ai/agent-core at commit 8345a27, republished under its Apache-2.0 licence (© openJiuwen-ai). 72 words, ~196 tokens.

Download SKILL.mdSave it as .claude/skills/commit/SKILL.md (or your agent's skills folder).
name
commit
description
基于 commit skill 的自主提交流程。适用于 implement 阶段在提交前规划范围并通过 bash 完成 git 提交。
immutable
true
tools
read_file, glob_tool, grep_tool, bash_tool

Commit Skill

你是 auto-harness 的提交阶段 agent,负责把当前任务的变更整理成一次本地 git 提交。

固定工作流

  1. 读取当前 git 状态,确认 dirty files、旧脏文件和测试上下文
  2. 收缩提交范围,只保留当前任务真实需要的文件
  3. 按 communicate skill 的规范生成 commit message
  4. 用明确文件路径执行 git add <file ...>
  5. 用 git commit -m 完成提交
  6. 提交后再次检查 git status --porcelain 和 git show --stat -1

提交约束

  • 提交动作通过 bash_tool 完成
  • 不要混入 preexisting_dirty_files
  • 不要提交当前任务之外的文件
  • 若文件已不再 dirty,应先从提交列表中移除
  • 使用明确路径 git add <file ...>,不要盲目批量暂存

调整原则

  • 优先缩小提交范围,而不是扩大范围
  • 如果出现额外 dirty files,先解释来源,再决定是否清理
  • 如果测试文件需要一并提交,确保它们与当前修改直接相关
  • 在 git add 前后都重新查看 git status --porcelain

© openJiuwen-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in openjiuwen/rsi/harness_rsi/auto_harness/skills/commit of openJiuwen-ai/agent-core.

Open the folder on GitHubat commit 8345a27

Compare with similar skills

Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit this skillopenJiuwen-ai/agent-core442—~196Automated safety check: PassApache-2.0
Wednesday Gitwednesday-solutions/ai-agent-skills170—~702Automated safety check: PassMIT
Speckit Git Featurekunstmusik/blue1545 repos~861Automated safety check: PassGPL-3.0
Speckit Git Initializekunstmusik/blue1546 repos~438Automated safety check: PassGPL-3.0
Trace And Isolaterohitg00/skillkit1.5k—~1.8kAutomated safety check: PassApache-2.0
Claude Code Bash Patternssecondsky/claude-skills2271 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Wednesday Git

    wednesday-solutions/ai-agent-skills

    Unified Git workflow. An agent skill from wednesday-solutions/ai-agent-skills.

    170 GitHub stars~702 tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Speckit Git Feature

    kunstmusik/blue

    Create a feature branch with sequential or timestamp numbering

    154 GitHub starsUsed in 5 repos~861 tokens
    DevelopmentAuto-check passed
  • Speckit Git Initialize

    kunstmusik/blue

    Initialize a Git repository with an initial commit. An agent skill from kunstmusik/blue.

    154 GitHub starsUsed in 6 repos~438 tokens
    DevelopmentAuto-check passed
  • Trace And Isolate

    rohitg00/skillkit

    Applies systematic tracing and isolation techniques to pinpoint exactly where a bug originates in code.

    1.5k GitHub stars~1.8k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed
  • Claude Code Bash Patterns

    secondsky/claude-skills

    Claude Code Bash tool patterns with hooks, automation, git workflows.

    227 GitHub starsUsed in 1 repo~2.1k tokens
    DevelopmentAuto-check passed
  • Tapd Iteration Init

    TencentBlueKing/bk-bcs

    迭代执行流水线启动器。分三个阶段执行:信息检查(验证 git 环境、获取迭代信息、 解析迭代分支)→ 恢复检测(已有状态文件时判定恢复策略)→ 新流程初始化(创建分支、 迭代目录和 iteration-state.json)。

    840 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from openJiuwen-ai/agent-core

All 10 skills in this repo
  • Skill Safety Evaluator

    openJiuwen-ai/agent-core

    Static safety audit of a SKILL.md that scores five dimensions and acts as a gate: skills below the pass line do not ship, whatever else they score.

    442 GitHub stars~3.5k tokensUpdated today
    Auto-check: warnings
  • Repository Health and Gap Assessor

    openJiuwen-ai/agent-core

    Runs a read-only assessment in one of two modes, a repository health check or a runtime extension gap review, and reports findings as a markdown table.

    442 GitHub stars~613 tokensUpdated today
    Auto-check passed
  • Engineering Communication Rules

    openJiuwen-ai/agent-core

    Chinese-language rules for how an agent writes commit messages, PR descriptions, session journals, handoff issues and requests for help.

    442 GitHub stars~625 tokensUpdated today
    Auto-check passed
  • Python Patterns for agent-core

    openJiuwen-ai/agent-core

    Reference for idiomatic Python in the agent-core codebase: immutability, protocols, exception hierarchies, context managers and async patterns.

    442 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Agent-Core Python Testing

    openJiuwen-ai/agent-core

    Pytest patterns for the agent-core codebase: a red-green-refactor workflow, conftest fixtures, custom marks, monkeypatch and patch mocking, and async tests.

    442 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Agent-Core Security Checklist

    openJiuwen-ai/agent-core

    A ten-category security checklist for the agent-core codebase, to run before any security-sensitive change or pull request: secrets, input validation, SQL, access control and prompt injection.

    442 GitHub stars~1.7k tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about Commit

What does Commit do?

基于 commit skill 的自主提交流程。适用于 implement 阶段在提交前规划范围并通过 bash 完成 git 提交。. Commit is an agent skill from openJiuwen-ai/agent-core.

When should I use Commit?

Commit fits situations like: tasks that involve Git workflow.

How do I install Commit in Claude Code?

Run `npx skills add openJiuwen-ai/agent-core --skill commit -a claude-code`. Or copy the skill folder (openjiuwen/rsi/harness_rsi/auto_harness/skills/commit in openJiuwen-ai/agent-core) into .claude/skills/commit in your project. Claude Code loads it when a task matches its description.

How do I install Commit in Codex?

Run `npx skills add openJiuwen-ai/agent-core --skill commit -a codex`. Or copy the skill folder (openjiuwen/rsi/harness_rsi/auto_harness/skills/commit in openJiuwen-ai/agent-core) into .agents/skills/commit in your project. Codex loads it when a task matches its description.

Can I use Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openJiuwen-ai/agent-core --skill commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit, .gemini/skills/commit, .github/skills/commit and .opencode/skills/commit in your project.

What does Commit need to run?

Going by SKILL.md and its folder, Commit needs the command-line tools its instructions call (git).

Does Commit access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit use?

Commit is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit use?

About 196 tokens (SKILL.md is roughly 784 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit?

Skills that share tags, products or a category with Commit: Wednesday Git (wednesday-solutions/ai-agent-skills, 170 stars), Speckit Git Feature (kunstmusik/blue, 154 stars), Speckit Git Initialize (kunstmusik/blue, 154 stars) and Trace And Isolate (rohitg00/skillkit, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit?

openJiuwen-ai (a GitHub organization) maintains it in openJiuwen-ai/agent-core, which has 442 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

Source: openJiuwen-ai/agent-core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.