ai-multi-agent-system: Skill for Claude Code

.agents/skills/git-discipline/SKILL.md

git-discipline is a skill for Claude Code, Codex from radif-ru/ai-multi-agent-system. It costs 50 tokens per session (970 once invoked), scanned A, original, MIT.

A set of project rules for using Git: how to name branches, write commits, and start and finish tracked tasks.

In plain words
What is it for?
Use it when creating a feature branch, making commits, or closing a sprint task. It helps run pytest and flake8 checks and update task statuses.
Why use it?
It keeps changes organized and makes every task follow the same process. It also requires tests and code checks to pass before committing, while keeping secrets out of Git.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is radif-ru/ai-multi-agent-system's own configuration. It tells Claude Code and Codex how to work on ai-multi-agent-system 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 ai-multi-agent-system configures →

Reuse

Borrowing it

Nothing to install: this file belongs to radif-ru/ai-multi-agent-system. 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/radif-ru/ai-multi-agent-system/main/.agents/skills/git-discipline/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/radif-ru/ai-multi-agent-system

Made for: Claude Code, Codex.

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 git-discipline

README.md
[![agentmods](https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/git-discipline/github.svg)](https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/git-discipline)
Your own site
<a href="https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/git-discipline"><img src="https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/git-discipline/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 git-discipline

Your own site · 80×15
<a href="https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/git-discipline"><img src="https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/git-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 970 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.00050 $0.00970
Opus 5.5 $0.00020 $0.00388
Sonnet 5.5 $0.00010 $0.00194
Haiku 4.5 $0.00005 $0.00097

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

Security

Grade A, and why

git-discipline 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/preflight.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/git-discipline/SKILL.md · 44 lines

How it starts

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

Skill: git-discipline

Правила работы с git. Источник истины — _docs/instructions.md §2 и _board/process.md §7.

Когда использовать

  • Начинаешь/закрываешь задачу спринта.
  • Готовишь любой коммит.
  • Настраиваешь ветку под спринт.

Алгоритм

  1. Ветки. Основная — main, рабочие — feature/<NN>-<short-name> (по одной на спринт, от main).
  2. Коммиты — атомарные, в императиве, по Conventional Commits. Текст — на русском, идентификаторы — латиницей.
    • feat(handlers): добавить команду /new
    • fix(memory): обработать недоступность sqlite-vec при старте
    • test(tools): покрыть calculator случаем деления на ноль
    • docs(architecture): уточнить поток /new в §5
  3. Ритуал задачи (трёхэтапный). ID в сообщении — <NN>.<stage>.<task>, где <NN> — двузначный номер спринта (_board/process.md §3 п.3):
    • Начать: python3 -m scripts.task start <NN>.<stage>.<task>.
    • Код/доки: атомарные коммиты содержимого (feat/fix/docs/test/...).
    • Закрыть: python3 -m scripts.task done <NN>.<stage>.<task> --note "<что сделано>". Скрипт сам меняет статус в заголовке задачи и сводной таблице, проставляет чекбоксы DoD, дописывает историю спринта, пересчитывает счётчики plan.md, прогоняет check_sprint_sync и коммитит оба файла. Править эти места руками не нужно; DoD должен быть фактически выполнен до done.
  4. Перед каждым кодовым коммитом (кроме chore(plan): ...) — одна команда, зелёная: bash .agents/skills/git-discipline/scripts/preflight.sh (артефакты, flake8, pytest с порогом покрытия, все скрипты-гейты — список в _board/process.md §7.10). Если что-то красное (даже не относящееся к задаче) — сначала чинится. Отдельные pytest -q / flake8 app tests — только для точечной проверки по ходу работы.
  5. Коммит вне спринта (активного спринта нет, правка ≤ S или доки) — через журнал: запись в _board/maintenance.md тем же коммитом, что и правка (_board/process.md §12). Новая функциональность и правки > S — только спринтом.
  6. .gitignore обязан содержать: .env, .venv/, __pycache__/, *.pyc, logs/, data/, *.db, .pytest_cache/, .idea/, .vscode/.

Read the full file on GitHub · 44 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 44 lines · 50 tokens per session scan A dace13a2d0ac

Subscribe to this mod's changes

git-discipline is a skill published in the GitHub repository radif-ru/ai-multi-agent-system (6 stars, last pushed 21d ago), licensed MIT. It adds 50 tokens to every session and 970 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

Other skills, from other repositories

working-in-turns

Keep each turn bounded, checkpointed, and reviewable.

Team-Commonly/commonly · 17 tokens

guardian

Gatekeeping Git/PR by classifying change essence and recommending granularity, naming, and strategy; the ship recipe also executes PR delivery (create, CI watch, merge, cleanup) with Ask First on merge. Use when PR preparation, commit strategy, or gated PR delivery is needed.

simota/agent-skills · 62 tokens

git

Run git version control commands for repository management. Use when the user asks to check status, view history or diffs, stage and commit changes, manage branches, merge or rebase, work with remotes, stash changes, tag releases, cherry-pick commits, bisect regressions, resolve conflicts, manage worktrees or…

bug-ops/zeph · 106 tokens

trail

Investigating git history, analyzing regression root causes, and performing code archaeology. Time-travels through commits to uncover truth. Use for git history investigation.

simota/agent-skills · 33 tokens

pr-authoring

Playbook for deployment-aware pull requests — the 11-section format that turns a PR into a reviewable contract; why, decision requested, change map, review order, evidence, verification, risk, rollback. Used for the Define→build handoff and any PR a great-pm-driven project opens.

VandanaAjayDubey111/great-pm · 65 tokens

pr-review

Playbook for reviewing pull requests — verdict format, verification-not-trust, severity-ranked findings with concrete fixes, risk acceptance on the record. The reviewer-side counterpart of pr-authoring.

VandanaAjayDubey111/great-pm · 40 tokens