commit

commit is a command for Claude Code from Sunbird-Knowlg/knowledge-platform. It costs 11 tokens per session (823 once invoked), scanned A, original, MIT.

Create a Conventional Commits git commit for the current changes.

Command for Claude Code

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/sunbird-knowlg/knowledge-platform/commit
Clone the repo
git clone --depth 1 https://github.com/Sunbird-Knowlg/knowledge-platform

Made for: Claude Code.

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/sunbird-knowlg/knowledge-platform/commit.svg)](https://agentmods.dev/commands/sunbird-knowlg/knowledge-platform/commit)
Your own site
<a href="https://agentmods.dev/commands/sunbird-knowlg/knowledge-platform/commit"><img src="https://agentmods.dev/badge/commands/sunbird-knowlg/knowledge-platform/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 823 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.00011 $0.00823
Opus 5 $0.00005 $0.00411
Sonnet 5 $0.00002 $0.00165
Haiku 4.5 $0.00001 $0.00082

Measured today against content hash 6ebe8bf5b9ac, 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 today.

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.

.claude/commands/commit.md · 100 lines

How it starts

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

You are creating a git commit for knowledge-platform (Scala/Play/Maven). Extra hint from the user (may be empty): $ARGUMENTS

Pre-loaded context

Status: !git status --porcelain=v1 -b

Staged diff: !git diff --staged

Recent commit style (mirror it): !git log --oneline -12

Steps

  1. Analyze the changes above and determine the commit type and scope.
  2. If nothing is staged, propose the files to stage and ask the user before running git add. Never stage secrets (.env*, *.pem, *.key).
  3. By default don't stage .md files — ask the user before including any documentation changes.
  4. Present the proposed commit message and wait for confirmation before committing.
  5. Create the commit with git commit.

Commit Message Format

{type}({scope}): {short description}

{optional body — only if the change needs explanation}

Types

  • feat — new feature or API
  • fix — bug fix
  • refactor — code restructure without behavior change
  • style — formatting only, no logic change
  • test — adding or fixing tests
  • chore — build, config, dependency changes
  • docs — documentation only

Scope

Use the module being changed:

  • platform-core — shared core (BaseActor, exceptions, Platform config, TelemetryManager, cache)
  • ontology-engine — knowledge-graph engine (JanusGraph/Neo4j)
  • content-api — content management service
  • search-api — composite search service
  • assessment-api — QuestionSet / assessment service
  • taxonomy-api — categories & frameworks service
  • platform-modules — import / mimetype / url managers
  • knowlg-service — general knowledge service
  • sync-tool — data sync tool
  • schema — request JSON schemas in schemas/
  • build — Maven / pom / dependency changes (e.g. Netty pinning)
  • ci — GitHub Actions / CircleCI / SonarCloud workflows

Omit the scope only if the change is genuinely cross-cutting.

Rules

  • Subject line: max 72 characters, imperative mood ("add", not "added" or "adds")
  • No period at the end of the subject line
  • Body (if needed): explain why, not what — the diff shows what
  • Reference issue numbers if relevant: fixes #123
  • Do NOT add a copyright header to any file
  • Do NOT add Co-Authored-By: Claude or any Claude/AI authorship trailer

Read the full file on GitHub · 100 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. today First seen · 100 lines · 11 tokens per session scan A 6ebe8bf5b9ac

Subscribe to this mod's changes

commit is a command published in the GitHub repository Sunbird-Knowlg/knowledge-platform (17 stars, last pushed 2d ago), licensed MIT. It adds 11 tokens to every session and 823 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-04.