Borrowing it
Nothing to install: this file belongs to mort-lab/excel-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mort-lab/excel-mcp/main/.claude/commands/git-operations/smart-resolver.mdgit clone --depth 1 https://github.com/mort-lab/excel-mcpWrote 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/commands/mort-lab/excel-mcp/smart-resolver)<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/smart-resolver"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/smart-resolver/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.
<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/smart-resolver"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/smart-resolver.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.00412 |
| Opus 5.5 | $0.00000 | $0.00165 |
| Sonnet 5.5 | $0.00000 | $0.00082 |
| Haiku 4.5 | $0.00000 | $0.00041 |
Grade A, and why
smart-resolver 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 2mo 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 smart-resolver — 118 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.
What it actually says
Perform an intelligent merge conflict resolution with deep understanding of our codebase.
Pre-resolution analysis:
-
Understand what each branch was trying to achieve: git log --oneline origin/main..HEAD git log --oneline HEAD..origin/main
-
Check if there are any related issues or PRs: git log --grep="fix" --grep="feat" --oneline -20
- use the github cli as needed
-
Identify the type of conflicts (feature vs feature, fix vs refactor, etc.)
-
Think hard about your findings and plan accordingly
Resolution strategy:
For different file types:
Source code conflicts (.js, .ts, .py, etc.):
- Understand the business logic of both changes
- Merge both features if they're complementary
- If conflicting, check which has better test coverage
- Look for related files that might need updates
Test file conflicts:
- Usually merge both sets of tests
- Ensure no duplicate test names
- Update test descriptions if needed
Configuration files:
- package.json: Merge dependencies, scripts
- .env.example: Include all new variables
- CI/CD configs: Merge all jobs unless duplicate
Documentation conflicts:
- Merge both documentation updates
- Ensure consistency in terminology
- Update table of contents if needed
Lock files (package-lock.json, poetry.lock):
- Delete and regenerate after resolving package.json/pyproject.toml
Post-resolution verification:
- Run linters to check code style
- Run type checkers if applicable
- Run test suite
- Check for semantic conflicts (code that merges but breaks functionality)
- Verify no debugging code was left in
Final steps:
- Create a detailed summary of all resolutions
- If any resolutions are uncertain, mark them with TODO comments
- Suggest additional testing that might be needed
- Stage all resolved files
Begin by analyzing the current conflict situation with git status and understanding both branches.
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.
- 2mo ago First seen · 60 lines · 0 tokens per session scan A 739ee4c5d83c
smart-resolver is a command published in the GitHub repository mort-lab/excel-mcp (5 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 412 tokens. A static security scan graded it A with 0 findings. It is 100% identical to smart-resolver, differing in 118 lines, and is treated as a copy.
Other commands, from other repositories
release
A typical CI release creates the release, associates commits, finalizes it, and records a deploy. The sentry release create examples above show the full sequence.
code-mappings
Command "code-mappings" from getsentry/sentry-mcp, covering examples, upload code mappings from a json file, specify repository explicitly, specify repository and default branch and output as json.
CHANGELOG
Command "CHANGELOG" from bytedance/UI-TARS-desktop, covering 0.4.0 2024-12-10 - add logging, 1.2.29, 1.2.28, 1.2.26 and 1.2.25.
api-aqa-flow-execution-and-report-analysis
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED).
fix-issue
Analyze and fix a GitHub issue end-to-end.
AGENTS
Run the current binary in a temporary test repository with a real PTY. Use tmux-cli when available, capture terminal output, and inspect -vv logs when behavior depends on timing or shell state. Avoid treating a piped command as proof of interactive behavior.