git-assistant

git-assistant is a skill for Claude Code, Codex from ldclabs/anda-bot. It costs 33 tokens per session (378 once invoked), scanned A, original, Apache-2.0.

A guide for common Git tasks, where Git is the tool used to track changes to code and coordinate work between branches.

In plain words
What is it for?
Managing branches and commits, resolving merge conflicts, reviewing history, generating changelogs, and investigating changes with tools such as blame or bisect.
Why use it?
It helps users handle merges, conflicts, rebasing, and history changes while highlighting operations that can permanently discard or overwrite work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Managing branches and commits, resolving merge conflicts, reviewing history, generating changelogs, and investigating changes with tools such as blame or bisect.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ldclabs/anda-bot/git-assistant
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.

Any agent
npx skills add ldclabs/anda-bot --skill git-assistant
Clone the repo
git clone --depth 1 https://github.com/ldclabs/anda-bot

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-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/ldclabs/anda-bot/git-assistant/github.svg)](https://agentmods.dev/skills/ldclabs/anda-bot/git-assistant)
Your own site
<a href="https://agentmods.dev/skills/ldclabs/anda-bot/git-assistant"><img src="https://agentmods.dev/badge/skills/ldclabs/anda-bot/git-assistant/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-assistant

Your own site · 80×15
<a href="https://agentmods.dev/skills/ldclabs/anda-bot/git-assistant"><img src="https://agentmods.dev/badge/skills/ldclabs/anda-bot/git-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 30
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 31
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00033 $0.00378
Opus 5.5 $0.00013 $0.00151
Sonnet 5.5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

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

Security

Grade A, and why

git-assistant 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 2d 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.

skills/git-assistant/SKILL.md · 18 lines

What it actually says

Git assistant

Use shell in the repository selected for this Anda session. Confirm the root and branch with git rev-parse --show-toplevel and git status --short --branch. Inspect both git diff and git diff --cached on the affected paths. A requested commit may share a worktree or index with someone else's edits.

  • Commit. Stage the requested files or hunks. Review the staged diff, run relevant checks and git diff --cached --check. Include any attribution the user requested and report the branch and short commit ID. A request for a commit message only needs the proposed message.
  • Conflicts. Use git diff --name-only --diff-filter=U to find unresolved paths. Compare the base, both sides and their callers before editing. During a rebase, “ours” is the branch being replayed onto. Verify the result and inspect the index for unresolved entries with git ls-files -u before continuing.
  • History and changelogs. Establish the requested range, inspect the commits and their diffs, and group changes by user-visible effect. Attribute changes to the commits or tags that introduced them.
  • Shared history and publication. Use the user's requested branch and remote. Push, publish, discard local work or rewrite shared history only when the request covers that action and its target. If intent is ambiguous, explain the specific refs or changes at stake. Use a lease for an authorized force push.

Report what Git actually changed and any remaining conflicts or failed checks.

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. 2d ago Changed · -90 lines · -24 tokens per session d22fdba17dba
  2. 3mo ago First seen · 108 lines · 57 tokens per session scan A 4998bc021456

Subscribe to this mod's changes

git-assistant is a skill published in the GitHub repository ldclabs/anda-bot (27 stars, last pushed 3d ago), licensed Apache-2.0. It adds 33 tokens to every session and 378 once invoked, about $0.0001 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-30.

Related

git-assistant compared with skills from other repositories

git-assistant next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-assistantldclabs/anda-botSkill273d agoApache-2.0A33Claude Code, Codex
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill4.2k2d agoApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill2.0kyesterdayMITA68Claude Code, Codex
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k26d agoMITA53Claude Code, Codex