# commit-planner

> Plans small, focused git commits with Conventional Commits messages from uncommitted changes. Writes COMMIT_PLAN.md for review, commits on "proceed", never pushes. Use when the user wants to commit, split, group or tidy changes, or asks for commit messages. Options - pre-commit, pre-commit-clean, ci

commit-planner is a free AI agent skill on Agensi by Abdulwahab, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Abdulwahab](https://www.agensi.io/creators/abdulwahab)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.1
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/commit-planner
- Tags: coding, git, automation

## About this skill

Turn uncommitted changes into a short series of focused commits. Plan first, commit only
after the user approves.

The user can add these words to the request, e.g. `/commit-planner pre-commit ci` or "plan
my commits with pre-commit". With no options, go straight to Step 1.

| Option | What it adds |
|---|---|
| `pre-commit` | Run the repo's pre-commit hooks on all files before planning, at the versions pinned in `.pre-commit-config.yaml`. |
| `pre-commit-clean` | Same, but run `pre-commit clean` first to clear the hook cache. Use when hooks behave differently than in CI. |
| `ci` | Read the CI config and check what it enforces beyond the hooks (tests, migrations, ...), so the commits won't fail CI. |

If the repo has a `.pre-commit-config.yaml` and no pre-commit option was requested,
mention in the final summary that the `pre-commit` option exists.

## Requires

- Git
- Bash
- Python 3
- Optional: pre-commit

## Known limitations

Never pushes. Stages whole files only (no partial/hunk staging), so a file mixing two concerns goes into its best-fit commit. Does not rewrite existing history (no amend, rebase or squash).

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the commit-planner skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does commit-planner do?

Plans small, focused git commits with Conventional Commits messages from uncommitted changes. Writes COMMIT_PLAN.md for review, commits on "proceed", never pushes. Use when the user wants to commit, split, group or tidy changes, or asks for commit messages. Options - pre-commit, pre-commit-clean, ci

### Which AI agents support commit-planner?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use commit-planner?

Connect your AI agent to Agensi through MCP, then ask it to use commit-planner on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
