commit-dis
What it does
This skill has the AI commit just the files it changed during the current conversation to the branch you are already on. It is for people who want a quick way to save their work in Git.
When to use it
- ✓When you say commit this, save my work, or commit what we did in this chat.
- ✓When you want only the files from this chat committed, without touching unrelated changes.
- ✓When you want the commit kept on your current branch with no push or pull request.
Skill link
https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Commit the changes we just made in this chat on my current branch, and leave everything else alone.”
5 new skills a week. 1 minute to read.
How it works
The AI checks the current branch and the list of changed files, adds only the files from this session by name, and makes one commit. It does not push or open a pull request.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
commit-dis — commit this session's work, here, now
Stage and commit the changes produced during this conversation onto the current branch. Nothing more. This is the quick "save what we just did" button.
THE RULES
- Stay on the current branch. Do NOT create, switch, or rename a branch.
Commit wherever
HEADalready points — even if that'smain. Never rungit checkout -b,git switch -c, orgit branch. - Only commit what this session changed. Stage the specific files you
created or edited in this thread by path. Do NOT
git add -A/git add .blindly — that risks sweeping in unrelated working-tree changes, untracked scratch files, or another task's edits. No overcommitting. - No push, no PR. Stop after the commit unless the user explicitly asks to push or open a PR.
- One commit for the session's work unless the user asks otherwise.
Steps
- Confirm the branch and see what's changed:
git rev-parse --abbrev-ref HEAD git status --short - Identify the exact files this session touched. If anything in
git statuswas NOT changed by this session, leave it unstaged. If it's ambiguous whether a dirty file belongs to this session, ask the user rather than guessing. - Stage by explicit path (never
-A/.):git add <file1> <file2> ... - Commit with a clear message describing what this session did. End the
message with the standard trailer:
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> - Confirm:
git log --oneline -1
Don't
- Don't create or switch branches.
- Don't
git add -A,git add ., orgit commit -a. - Don't push or open a PR.
- Don't amend or rebase prior commits.
- Don't stage files you didn't touch this session (build artifacts, other in-flight work, untracked scratch).
FAQ
Will it create a new branch?
No. It commits on the branch that is already checked out, even if that is main.
What if a changed file is not from this chat?
The skill says to leave it unstaged, and to ask you when it is unclear whether a file belongs to this session.
Does it push my commit?
No. The skill stops after the commit unless you ask it to push or open a pull request.
Details
Original description by the author
Stage and commit ONLY the work done in this session, on the CURRENT branch — no new branch, no PR, no push. Load whenever the user says 'commit this', 'commit-dis', 'git add commit what we did', 'commit dis', 'save my work', or otherwise asks to commit the changes from the current thread. Enforces: stay on the already-checked-out branch, never overcommit unrelated files.
repo: kortix-ai/suna
Popularity
- GitHub stars
- 20k
- Ranking position
- #10372
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
claude-code
20kLets your agent hand a coding, review, or planning task to Anthropic's Claude Code CLI and capture the result so it can be checked.
codex-cli
20kLets your agent hand a coding or review task to OpenAI's Codex CLI and capture the result, so a second model can check the work.
composio
20kHelps your agent use Composio to connect apps like Gmail, Slack, GitHub, and Notion, for your own agent or for a product you build.
e2e
20kTeaches your agent to write end-to-end tests that drive a web or mobile app with plain-language goals and exact checks.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.