grok-mcp-server: Skill for Claude Code

.claude/skills/commit/SKILL.md

commit is a skill for Claude Code from valda/grok-mcp-server. It costs 46 tokens per session (377 once invoked), scanned A, original, MIT.

A commit workflow that runs the project’s tests before creating a Git commit. Git is a tool for recording changes to code over time.

In plain words
What is it for?
Use it when committing code changes, especially when the project requires tests, selected files, and Conventional Commits messages before saving the change.
Why use it?
It prevents a commit from being created when the test suite fails and checks the intended files and commit-message style first.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is valda/grok-mcp-server's own configuration. It tells Claude Code how to work on grok-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything grok-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to valda/grok-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/valda/grok-mcp-server/main/.claude/skills/commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/valda/grok-mcp-server

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/skills/valda/grok-mcp-server/commit/github.svg)](https://agentmods.dev/skills/valda/grok-mcp-server/commit)
Your own site
<a href="https://agentmods.dev/skills/valda/grok-mcp-server/commit"><img src="https://agentmods.dev/badge/skills/valda/grok-mcp-server/commit/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 commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/valda/grok-mcp-server/commit"><img src="https://agentmods.dev/badge/skills/valda/grok-mcp-server/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.00046 $0.00377
Opus 5.5 $0.00018 $0.00151
Sonnet 5.5 $0.00009 $0.00075
Haiku 4.5 $0.00005 $0.00038

Measured 2mo ago against content hash 42a39b2eae82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

.claude/skills/commit/SKILL.md · 34 lines

What it actually says

Commit with Pre-commit Test

コミット前に必ずテストを実行し、全テストがパスした場合のみコミットを作成する。

ワークフロー

  1. npm test を実行してテスト結果を確認する
  2. テストが失敗した場合、コミットを中止しエラー内容を報告する
  3. テストが全パスした場合のみ、通常のコミットフローに進む

テスト実行

npm test

テスト失敗時はコミットを作成せず、失敗したテストの内容をユーザーに報告して修正を促す。

コミット作成

テスト成功後、以下の手順でコミットを作成する:

  1. git status で変更ファイルを確認する
  2. git diff でステージ済み・未ステージの差分を確認する
  3. git log --oneline -5 で直近のコミットメッセージのスタイルを確認する
  4. 変更内容に基づいて Conventional Commits 形式(日本語)のコミットメッセージを作成する
  5. 関連ファイルを git add でステージする(git add -A は使わない)
  6. コミットを作成する(Co-Authored-By 行を含める)
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. 2mo ago First seen · 34 lines · 46 tokens per session scan A 42a39b2eae82

Subscribe to this mod's changes

commit is a skill published in the GitHub repository valda/grok-mcp-server (0 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 377 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-08-31.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitvalda/grok-mcp-serverSkill05mo agoMITA46Claude Code
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3k3d agoMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.3kyesterdayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9kyesterdayApache-2.0A25Claude Code
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k2d agoMITA53Claude Code, Codex