convention-checker

convention-checker is an agent for Claude Code from synaptiai/synapti-marketplace. It costs 53 tokens per session (1,297 once invoked), scanned A, original, Apache-2.0.

A Git-convention checker that reviews commit messages, branch names, pull-request format, and code patterns against repository rules.

In plain words
What is it for?
Use it to validate commits, branches, pull requests, and other repository conventions.
Why use it?
It catches workflow and naming inconsistencies that can make project history harder to understand or violate team standards.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to validate commits, branches, pull requests, and other repository conventions.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 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 convention-checker

README.md
[![agentmods](https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/convention-checker/github.svg)](https://agentmods.dev/agents/synaptiai/synapti-marketplace/convention-checker)
Your own site
<a href="https://agentmods.dev/agents/synaptiai/synapti-marketplace/convention-checker"><img src="https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/convention-checker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for convention-checker

Your own site · 80×15
<a href="https://agentmods.dev/agents/synaptiai/synapti-marketplace/convention-checker"><img src="https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/convention-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 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,297 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00053 $0.01297
Opus 5.5 $0.00021 $0.00519
Sonnet 5.5 $0.00011 $0.00259
Haiku 4.5 $0.00005 $0.00130

Measured 1mo ago against content hash 04ad8b148fa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

convention-checker 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 1mo ago.

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/agents/convention-checker.md · 104 lines

How it starts

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

Convention Checker Agent

You are a Git convention validator for the flow plugin. Verify adherence to repository standards.

Process

Step 1: Read Settings

# Read convention settings via bin/cascade-resolve.sh. The jq expression
# defends against non-array values (e.g., user typo'd a string instead of
# an array) — those return empty from the filter and the helper falls
# through to the next source.
DEFAULT_TYPES="feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert|improve"
HELPER="$(__t=$(git rev-parse --show-toplevel 2>/dev/null);__x=0;[ -z "$__t" ]||{ __t=$(cd "$__t" 2>/dev/null&&pwd -P);[ -n "$__t" ]||__x=1; };[ "$__x" = 1 ]||{ printf '%s\n' "${CLAUDE_PLUGIN_ROOT:-}";ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do __p=${__p%/};[ -n "$__p" ]&&[ -x "$__p/bin/cascade-resolve.sh" ]||continue;__r=$(cd "$__p" 2>/dev/null&&pwd -P)||continue;[ -n "$__r" ]||continue;[ -z "$__t" ]||{ __d=$__r;__in=0;while :;do [ "$__d" -ef "$__t" ]&&{ __in=1;break; };[ "$__d" = / ]&&break;__d=$(dirname "$__d");done;[ "$__in" = 1 ]&&continue; };printf '%s\n' "$__r";break;done)/bin/cascade-resolve.sh"
COMMIT_TYPES="$DEFAULT_TYPES"
[ -x "$HELPER" ] && COMMIT_TYPES=$("$HELPER" --default "$DEFAULT_TYPES" '.conventions.commitTypes // empty | if type == "array" then join("|") else empty end')
printf '%s\n' "Commit types: $COMMIT_TYPES"

Step 2: Check CLAUDE.md

The conventions are the base branch's: a pull request that edits its CLAUDE.md does not choose the rules it is checked against.

DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null || printf '%s\n' "main")
CONVENTIONS_FROM=""
for CLAUDE_MD in .claude/CLAUDE.md CLAUDE.md; do
  if git -C "${REVIEW_TREE:-.}" cat-file -e "origin/$DEFAULT_BRANCH:$CLAUDE_MD" 2>/dev/null; then
    CONVENTIONS_FROM="origin/$DEFAULT_BRANCH:$CLAUDE_MD"
    git -C "${REVIEW_TREE:-.}" show "$CONVENTIONS_FROM" | grep -A5 -E "(Branch|Commit|Convention)"
    break
  fi
done
# Reading nothing is not the same as a project with no conventions: say which.
if [ -z "$CONVENTIONS_FROM" ]; then
  printf '%s\n' "CONVENTIONS=unavailable"
  printf '%s\n' "REASON=neither .claude/CLAUDE.md nor CLAUDE.md resolves at origin/$DEFAULT_BRANCH in ${REVIEW_TREE:-.}"
else
  printf '%s\n' "CONVENTIONS=$CONVENTIONS_FROM"
fi

Read the full file on GitHub · 104 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. 1mo ago Changed 04ad8b148fa0
  2. 2mo ago Changed · +20 lines 28501a882aba
  3. 2mo ago Changed 150c7910305c
  4. 2mo ago Changed 3bc8ca3fdcce
  5. 2mo ago Changed · +25 tokens per session edc08515255e
  6. 3mo ago First seen · 84 lines · 28 tokens per session scan A b4584ca7ca95

Subscribe to this mod's changes

convention-checker is an agent published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 1,297 once invoked, about $0.0002 per session on Opus 5.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

convention-checker compared with agents from other repositories

convention-checker next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
convention-checkersynaptiai/synapti-marketplaceAgent9todayApache-2.0A53Claude Code
git-publisherrhawk117/agentmasterAgent14mo agoMITA72Claude Code
commit-detectorfusengine/agentsAgent341mo agoMITA46Claude Code
git-flowjtprogru/bear-skillsAgent126d agoMITA83Claude Code
part-implementerscolladon/craftAgent213d agoMITA41Claude Code
mr-description-creator-defaultGantisStorm/essentials-claude-codeAgent899mo agoUnlicenseA59Claude Code
stack-plannerSeanningTatum/cf-saas-starter-react-routerAgent510d agononeA66Claude Code