smart_git
Execute git commands with filtered, compact output to minimize token consumption. Handles status, diff, log, and actions like commit, push, pull, add, branch.
Instructions
Execute git operations with compact, optimized output. Supports: status (compact summary), diff (filtered hunks), log (one-line format), and action commands (commit/push/pull/add/branch with minimal confirmation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory | |
| args | No | Additional arguments for the git command | |
| operation | Yes | Git operation to execute | |
| filter_level | No | Filter aggressiveness. Use "passthrough" to get the full raw git output without filtering |