ai-commit
Commit and push vault artifacts or explicitly scoped code changes.
Skill by cristiano-pacheco
Chalk Labs
Need help deploying ai-commit?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cristiano-pacheco-ai-commit
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ai-commit
What's inside
- Skill name
ai-commit- Description
- Commit and push vault artifacts or explicitly scoped code changes.
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
This skill owns vault Git operations for the `ai-*` suite. Other skills delegate vault staging, commits, and pushes here. The default target is `vault`; only `ai-review-and-fix` may request `code`.
## Inputs
- `target` is `vault` by default, or `code`.
- `message` is optional. Prefer the caller's Conventional Commit message; otherwise compose one from the staged diff.
- `code paths` is required for `code`. The caller must inspect `git status --short` and supply exact repository-relative paths it changed, excluding unrelated work.
## Resolve repositories
1. Set `V="${OBSIDIAN_AI_VAULT:-$HOME/Documents/obsidian/obsidian}"`. Verify the directory exists and is a Git repository. On failure, stop and tell the user to run `ai-setup` or set `OBSIDIAN_AI_VAULT`.
2. Resolve `VAULT_TOPLEVEL` with `git -C "$V" rev-parse --show-toplevel` and `CWD_TOPLEVEL` with `git rev-parse --show-toplevel`. The code target requires the latter to succeed.
3. If the toplevels match, abort. The caller must run from the code repository, not the vault.
## Stage and commit
Use only the selected repository. For `vault`, run every Git command with `git -C "$V"`. For `code`, use `git -C "$CWD_TOPLEVEL"`.
### Vault target
1. Run `git -C "$V" add -A`. This includes unrelated vault changes, preserving the suite's existing behavior. Callers should invoke this skill immediately after writing their artifacts.
2. Inspect `git -C "$V" diff --cached`. If empty, report that the vault is up to date and stop.
3. Commit with `git -C "$V" commit -m "<message>"`.
### Code target
1. Require a non-empty `code paths` list. Reject absolute paths, `..` traversal, and any path that resolves outside `CWD_TOPLEVEL`.
2. Stage only those paths with `git -C "$CWD_TOPLEVEL" add -- <paths>`.
3. Inspect the staged diff restricted to those paths. If empty, report that no code commit is needed and stop.
4. Commit only those paths with `git -C "$CWD_TOPLEVEL" commit --only -m "<message>" -- <paths>`. Leave unrelated staged changes untouched.
Use `<type>(<optional scope>): <description>`, omitting parentheses when there is no scope. Write a lowercase, imperative description with no final period. Preserve body line breaks and omit `Co-Authored-By` trailers.
If a commit fails, report the exact error and stop for the user to resolve it. Create new commits only; never amend or rewrite history.
## Push and report
After a successful commit, push the current branch if the selected repository has `origin`. Never force-push. A missing origin or failed push is non-fatal; report the outcome and keep the local commit. `ai-setup` configures the vault remote.
Report the commit hash and whether the push succeeded, failed, or was skipped. If a repository guard stopped the workflow, report that reason instead.From cristiano-pacheco/ai-tools, MIT.
More from cristiano-pacheco/ai-tools
- 0.583score
ai-create-pr
cristiano-pacheco
Write a PR title and description.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
ai-full-code-review
cristiano-pacheco
Review a branch diff for production risk.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
ai-code-review
cristiano-pacheco
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillAFreshness: A★ 1Claude Code +9 - 0.556score
ai-implement
cristiano-pacheco
Implement a piece of work based on a spec or set of tickets.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
100-go-rules
cristiano-pacheco
Apply a compact, Go-version-aware rulebook derived from the 100 numbered mistakes cataloged by 100go.co when writing, reviewing, debugging, refactoring…
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-create-plan
cristiano-pacheco
Create a technical implementation plan.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-create-techspec
cristiano-pacheco
Create a tech spec from a PRD.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-reindex
cristiano-pacheco
Rebuild Obsidian wikilink indexes.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-execute-plan
cristiano-pacheco
Execute a technical implementation plan.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-review-techspec
cristiano-pacheco
Review a tech spec as principal architect.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-execute-task
cristiano-pacheco
Implement the next task from a list.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-codebase-review
cristiano-pacheco
Audit a whole codebase for bottlenecks.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 2, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/cristiano-pacheco/ai-tools
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from cristiano-pacheco
- 0.583score
ai-full-code-review
cristiano-pacheco
Review a branch diff for production risk.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
ai-create-pr
cristiano-pacheco
Write a PR title and description.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
ai-code-review
cristiano-pacheco
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillAFreshness: A★ 1Claude Code +9 - 0.556score
ai-implement
cristiano-pacheco
Implement a piece of work based on a spec or set of tickets.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
100-go-rules
cristiano-pacheco
Apply a compact, Go-version-aware rulebook derived from the 100 numbered mistakes cataloged by 100go.co when writing, reviewing, debugging, refactoring…
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
ai-codebase-review
cristiano-pacheco
Audit a whole codebase for bottlenecks.
SkillBFreshness: B★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get ai-commit running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
ai-commit skill. Agent Mart. https://agentmart.dev/skills/cristiano-pacheco-ai-commit (last updated 2026-10-24)