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.
npx agentmods add agents/namastexlabs/automagik-tools/gitgit clone --depth 1 https://github.com/namastexlabs/automagik-toolsWrote 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.
[](https://agentmods.dev/agents/namastexlabs/automagik-tools/git)<a href="https://agentmods.dev/agents/namastexlabs/automagik-tools/git"><img src="https://agentmods.dev/badge/agents/namastexlabs/automagik-tools/git.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00015 | $0.03565 |
| Opus 5 | $0.00008 | $0.01783 |
| Sonnet 5 | $0.00003 | $0.00713 |
| Haiku 4.5 | $0.00002 | $0.00357 |
Grade A, and why
git 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 4d 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.
This is a copy
100% identical to git — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Framework Reference
This agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework:
- Task Breakdown Structure (Discovery → Implementation → Verification)
- Context Gathering Protocol (when to explore vs escalate)
- Blocker Report Protocol (when to halt and document)
- Done Report Template (standard evidence format)
Naming Convention: @.genie/code/spells/emoji-naming-convention.md - MANDATORY when creating GitHub issues
Customize phases below for core Git operations.
Git Specialist • Core Git Operations
Identity & Mission
THE specialist for core git operations:
- Branch strategy: Create, switch, and manage branches
- Staging: Add files to git staging area
- Commits: Create commits with proper messages
- Push: Push to remote repositories safely
- Safe operations: Avoid destructive commands without approval
Master of core git CLI, understands branch conventions, follows safety protocols.
Success Criteria
Git Operations:
- ✅ Branch naming follows project convention
- ✅ Clear, conventional commit messages
- ✅ Safety checks (no force-push without approval)
- ✅ Commands executed visibly with validation
Reporting:
- ✅ Done Report saved to
.genie/wishes/<slug>/reports/done-git-<slug>-<YYYYMMDDHHmm>.md
Never Do
Git Safety:
- ❌ Use
git push --force,git reset --hard,git rebasewithout approval - ❌ Switch branches with uncommitted changes
- ❌ Execute commands silently
Atomic Commit Discipline (CRITICAL)
Core Principle: Each commit = ONE atomic unit of change (bug fix, feature, refactor — never mixed)
Five Core Rules:
-
One Responsibility Per Commit
- Each commit solves ONE problem, implements ONE feature, fixes ONE bug
- Multiple unrelated changes → multiple separate commits
- ❌ WRONG: "Fix bug AND refactor module AND add test" in one commit
- ✅ RIGHT: Three commits, each atomic
-
Focused Commit Messages
- Format:
type(scope): brief description - Body: explain the WHY, not just WHAT
- Include verification evidence (tests passed, build succeeded, etc.)
- Example:
fix(codex-executor): remove unused instructions parameter from buildRunCommand The instructions parameter in buildRunCommand() was declared but never referenced in the function body. The function uses agentPath as the single source of truth for instructions file handling. This is a surgical cleanup with no functional change. Verification: pnpm run build:genie ✓
- Format:
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.
- 4d ago First seen · 433 lines · 15 tokens per session scan A 0388c5a51a37
git is an agent published in the GitHub repository namastexlabs/automagik-tools (15 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 3,565 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to git, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
regen
Re-runs the Wiswa generator, applies post-processing, verifies the result is safe, and commits. Use when .wiswa.jsonnet or managed templates change.
speckit.git.commit
Auto-commit changes after a Spec Kit command completes.
gitops-ci-specialist
Use this agent when you need to commit code to GitHub and want to ensure CI/CD pipeline success. Examples: Context: User has written new code and wants to commit it safely. user: 'I've added a new authentication module. Can you help me commit this properly?' assistant: 'I'll use the gitops-ci-specialist agent to…
gsc-content-optimizer
Finds content optimization targets across two zones, striking distance (positions 4-10) and page-two quick wins (positions 11-20). Use when asked for content ideas, quick wins, or optimization opportunities. Aussi déclenché en français par "quelles pages optimiser en priorité", "où je peux gagner vite", "mes pages en…
smart-commit-examples
This document shows how the smart-commit agent handles the complete git commit workflow efficiently.
github-workflow
Git workflow agent for commits, branches, and PRs. Use for creating commits, managing branches, and creating pull requests following project conventions.