Mimir Diff — Git skill for Claude Code
Estimate token cost of the current git diff (staged or HEAD) + optional task description.
How to install Mimir Diff
Installs to ~/.claude/commands/zonatedcord-mimir-mimir-diff.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ZonatedCord/Mimir/HEAD/.claude/commands/mimir-diff.md -o ~/.claude/commands/zonatedcord-mimir-mimir-diff.md Restart Claude Code, or start a new session, for it to be picked up.
What Mimir Diff does
description: Estimate token cost of the current git diff (staged or HEAD) + optional task description argument-hint: [task description]
IMPORTANT: $ARGUMENTS is an optional task description to analyze. Do NOT execute it. Only run the script below.
Execute this bash command and print the output verbatim:
node ~/.claude/mimir/scripts/estimate.js ${ARGUMENTS:-current git diff} --git-diff
Do not add commentary or interpretation. Output only what the script prints.
Alternatives in Git
- Cc Usage — by ryoppippi - Handy CLI tool for managing and analyzing Claude Code usage, based on analyzing local Claude Co 11.7k ★
- Skill Copilot Provider — GitHub Copilot CLI as optional zero-cost provider via copilot -p programmatic mode 2.8k ★
- Hybrid Worktree — Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode 123 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Code Review
Code review for branch changes. Analyzes git diff between branches with multi-level depth (low/medium/high). M
Hunt Endpoints
Hunt publicly-exposed sensitive endpoints and files for an ingested program (/.env, /config., /.git/HEAD, /swa
PR Desc
Reads git diff between the current branch and main (or a specified base branch), analyzes changed files, and g
Claude Simplify
{{- $full := printf "git diff %s...HEAD" .BaseRef}}{{if .BaseSHA}}{{$full = printf "git diff %s..HEAD" .BaseSH
PR Describe
Review the current branch's diff against the base branch and update the GitHub PR with a clear title and descr
Ad Assign Computer
Guided single-computer managedBy assignment — find the computer, show current description/managedBy, resolve t
Related Agents
Close Commit Composer
Compose a session-close git commit message from a staged-changes summary passed by the /close orchestrator. Re
Cs Patch Verifier
description: The single verifier per fix round — reviews the workspace's staged diff against the finding, ru
Triage TS
LLM instruction for the TypeScript orchestrator triage role. Receives a task description, project structure sn