n8n-pilot: Command for Claude Code

.claude/commands/commit.md

commit is a command for Claude Code from AI-agents-incubator/n8n-pilot. It costs 9 tokens per session (1,156 once invoked), scanned A, original, MIT.

A command that reviews changed files and creates a Git commit with a concise message, while avoiding common secrets and generated files unless explicitly requested.

In plain words
What is it for?
Use it to inspect changes, select specific files, and record them as one Git commit.
Why use it?
It reduces accidental commits of sensitive or temporary files and keeps commit messages consistent with the project's recent history.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is AI-agents-incubator/n8n-pilot's own configuration. It tells Claude Code how to work on n8n-pilot 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 n8n-pilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AI-agents-incubator/n8n-pilot. 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/AI-agents-incubator/n8n-pilot/main/.claude/commands/commit.md
Clone the repo
git clone --depth 1 https://github.com/AI-agents-incubator/n8n-pilot

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/ai-agents-incubator/n8n-pilot/commit.svg)](https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/commit)
Your own site
<a href="https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/commit"><img src="https://agentmods.dev/badge/commands/ai-agents-incubator/n8n-pilot/commit.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 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,156 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.1 $0.00009 $0.01156
Opus 5 $0.00005 $0.00578
Sonnet 5 $0.00002 $0.00231
Haiku 4.5 $0.00001 $0.00116

Measured yesterday against content hash 3eb8cb6cf6d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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.

.claude/commands/commit.md · 147 lines

How it starts

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

Создай git commit следуя лучшим практикам.

ВАЖНО: НЕ используй git add . бездумно!

Процесс:

1. Анализ изменений

Выполни параллельно:

  • git status - посмотри все измененные файлы
  • git diff - посмотри unstaged изменения
  • git diff --staged - посмотри staged изменения
  • git log --oneline -n 5 - посмотри последние коммиты для стиля

2. Проверь что коммитить нельзя

❌ НЕ добавляй в коммит:

  • .env или .env.local (секреты!)
  • node_modules/
  • dist/, build/, .next/ (build артефакты)
  • Файлы с секретами (credentials.json, secrets.yaml и т.д.)
  • Временные файлы (*.log, *.tmp, .DS_Store)

⚠️ Если пользователь явно просит закоммитить эти файлы - предупреди его о рисках!

3. Добавь нужные файлы

Добавляй файлы по отдельности или группами, НЕ git add .:

git add path/to/file1.ts path/to/file2.ts

Или по паттерну:

git add src/**/*.ts

4. Составь commit message

Формат:

<type>: <краткое описание> (до 50 символов)

<детальное описание - ПОЧЕМУ, а не ЧТО>
- Причина изменения
- Какую проблему решает
- Важные детали

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

Types:

  • feat: новая функциональность
  • fix: исправление бага
  • refactor: рефакторинг без изменения функциональности
  • docs: документация
  • style: форматирование, точки с запятой
  • test: добавление тестов
  • chore: обновление зависимостей, настройка CI

Примеры хороших сообщений:

feat: add user authentication with JWT

Implement JWT-based authentication to secure API endpoints.
- Add login/logout endpoints
- Create auth middleware for protected routes
- Store tokens in httpOnly cookies for security

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
fix: prevent memory leak in useEffect cleanup

Users reported app slowdown after long sessions. Root cause
was missing cleanup in dashboard useEffect hook.
- Add cleanup function to WebSocket subscription
- Clear intervals on component unmount

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

Read the full file on GitHub · 147 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 · 147 lines · 9 tokens per session scan A 3eb8cb6cf6d0

Subscribe to this mod's changes

commit is a command published in the GitHub repository AI-agents-incubator/n8n-pilot (29 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 1,156 once invoked, about $0.0000 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.