commit

commit is a command for coding agents from synaptiai/synapti-marketplace. It costs 24 tokens per session (1,802 once invoked), scanned A, original, Apache-2.0.

A command for reviewing uncommitted code changes and creating focused commits, which are saved snapshots of work in Git.

In plain words
What is it for?
Use it to classify changes, separate them into atomic commits, check commit-message rules, and flag files that may not belong.
Why use it?
It catches unrelated or suspicious changes and helps keep commit messages consistent with the project's conventions.

Command

Part of the flow plugin — 31 skills, 21 commands, 9 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/synaptiai/synapti-marketplace/commit
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Or install flow, the plugin that ships this one along with the rest of its 31 skills, 21 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for commit

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/commit.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/commit)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/commit"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,802 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.01802
Opus 5 $0.00012 $0.00901
Sonnet 5 $0.00005 $0.00360
Haiku 4.5 $0.00002 $0.00180

Measured yesterday against content hash 1cbaece4c95a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/flow/commands/commit.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context-Aware Commit

Classify changes, flag anomalies, and create atomic conventional commits. Follows the Explore > Verify pattern (lightweight — no plan/code phases needed).

Required Skills

  • llm-operator-principles — foundational operator stance: convergence = zero findings, in-PR fixes by default, no calendar-time estimates, narrow escalation triggers. MUST be consulted before any other phase
  • change-classification — signal-based change analysis
  • convention-enforcement — commit message validation

References

Phase 1: EXPLORE

# Output: `###`-headed sections + KEY=value per
# `references/command-output-format.md`.

echo "### Branch Context"
BRANCH=$(git branch --show-current 2>/dev/null)
DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null || echo "main")
echo "BRANCH=$BRANCH"
echo "DEFAULT_BRANCH=$DEFAULT_BRANCH"

echo ""
echo "### Uncommitted Changes"
UNCOMMITTED_COUNT=$(git status --porcelain 2>/dev/null | wc -l | tr -d ' ')
echo "UNCOMMITTED_COUNT=$UNCOMMITTED_COUNT"
if [ "$UNCOMMITTED_COUNT" = "0" ]; then
  echo "STATE=empty"
else
  git status --porcelain 2>/dev/null | sed 's/^/UNCOMMITTED_LINE=/'
fi

echo ""
echo "### Branch Files (vs default)"
BRANCH_FILES=$(git diff --name-only "$DEFAULT_BRANCH"...HEAD 2>/dev/null)
# `grep -c '.' || echo 0` produces multi-line `0\n0` on empty input (grep
# exits 1, the `||` ALSO fires). Use explicit empty-check.
if [ -z "$BRANCH_FILES" ]; then
  BRANCH_FILE_COUNT=0
else
  BRANCH_FILE_COUNT=$(printf '%s\n' "$BRANCH_FILES" | wc -l | tr -d ' ')
fi
echo "BRANCH_FILE_COUNT=$BRANCH_FILE_COUNT"
if [ "$BRANCH_FILE_COUNT" = "0" ]; then
  echo "STATE=empty"
else
  printf '%s\n' "$BRANCH_FILES" | sed 's/^/BRANCH_FILE=/'
fi

echo ""
echo "### Issue Context"
ISSUE_NUM=$(echo "$BRANCH" | grep -oE 'issue-[0-9]+' | grep -oE '[0-9]+')
# Quote parenthesized fallback per command-output-format.md rule 2.
echo "ISSUE_NUM=${ISSUE_NUM:-\"(none)\"}"
if [ -n "$ISSUE_NUM" ]; then
  gh issue view "$ISSUE_NUM" --json title,body --jq '"ISSUE_TITLE=\"\(.title)\"\nISSUE_BODY_LENGTH=\(.body | length)"' 2>/dev/null
fi

echo ""
echo "### Recent Commits (for style)"
# Capture so an empty log (new repo) emits STATE=empty rather than silent
# heading.
RECENT_COMMITS=$(git log --oneline -10 2>/dev/null)
if [ -z "$RECENT_COMMITS" ]; then
  echo "STATE=empty"
else
  printf '%s\n' "$RECENT_COMMITS" | sed 's/^/COMMIT=/'
fi

true

Read the full file on GitHub · 178 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 178 lines · 24 tokens per session scan A 1cbaece4c95a

Subscribe to this mod's changes

commit is a command published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 1,802 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other commands, from other repositories

create-worktree

Follow these steps to create a git worktree.

CaptainMe-AI/lead-dev-os · 0 tokens

yolo-abort

Immediate halt of /yolo Hive session mid-action — partial state saved, in-flight git operations rolled back where possible, audit log finalized with abort flag.

frankxai/Starlight-Intelligence-System · 31 tokens

hf.memory

Scan the current conversation for architectural decisions, bug root causes, configuration choices, codebase patterns, and workflow preferences. Write each as a memory item to the local JSONL store for ingestion by the memory sync worker.

T-rav/hydraflow · 0 tokens

paper-trail-ingest

Ingest the citations of one SOTA into the registry. Extracts bibliographic sections, parses citations via the citation-parser sub-agent, resolves DOI via Crossref/S2, deduplicates against the registry, creates new candidate refs, and substitutes free-text citations with [[wikilinks]]. Required first step to make a…

roomi-fields/paper-trail · 75 tokens

paper-trail-new-paper

Start writing an academic paper (IMRaD structure) on a topic, with anti-hallucination citation verification at every step. Builds on existing audited SOTAs.

roomi-fields/paper-trail · 35 tokens

paper-trail-linkify

Dernière passe du pipeline cible refondu. Insère les wikilinks finaux dans le SOTA (vers PDF si validé, sinon vers ancre dans une section ## Statut des sources régénérée idempotemment en bas du fichier). Présuppose que les passes identify/purge/acquire ont été lancées.

roomi-fields/paper-trail · 70 tokens