Works with the AI Agents you already use
git changed scope lister
Rank changed git files by line churn and estimated token size to scope reviews and agent context.
Free
git changed scope lister
Example session with this skill installed
list changed files and show the biggest diffs first
- Read your context and instructions
- Compiled the git changed scope
- Generated the document
I have surveyed the working tree and ranked the changes by line churn. Here is the scope of your current diff, including token estimates for LLM context planning.
Git Change Scope
| # | path | status | +add | -del | ~tokens |
|---|---|---|---|---|---|
| 1 | services/auth_provider.ts | M | 245 | 18 | 1,052 |
| 2 | components/Login/LoginForm.tsx | M | 82 | 45 | 508 |
| 3 | styles/globals.css | M | 60 | 5 | 260 |
| 4 | package.json | M | 12 | 2 | 56 |
| 5 | src/utils/logger.ts | D | 0 | 8 | 32 |
Scope: 5 files, 475 changed lines (~1.9k tokens est.)
Top Files to Review
- services/auth_provider.ts: Major logic changes (245 lines added). High risk.
- components/Login/LoginForm.tsx: Significant churn in UI logic and validation.
- styles/globals.css: Moderate style additions.
Next steps
- Review the logic in
services/auth_provider.tsfor security edge cases. - Run
git addon the verified components to narrow the next scope check. - Use a lean-context tool to feed the top 2 files to the agent for a detailed audit.
LoginForm.tsx
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Git diffs often become unmanageable when preparing a pull request or feeding context to an AI agent. This micro-skill surveys your working tree to rank file changes by size, providing line counts and token estimates to help you prioritize your review.
What it does
- Diff surveying identifies all changed, added, or deleted files in the working tree.
- Churn ranking sorts files by total line changes so you can find the largest diffs instantly.
- Token estimation calculates a heuristic token count to help manage LLM context windows.
- Context scoping generates a summary of the total impact of your current changes.
How it works
- Determine scope using
git statusandgit difffor the working tree, staged files, or specific commit ranges. - Collect metrics including file paths, git status codes, and specific line addition/deletion counts.
- Calculate estimates for token usage based on character churn heuristics.
- Format output into a ranked table showing the most significant changes at the top.
Frameworks & tools
This skill works with any Git repository and is compatible with CLAUDE_CODE, CURSOR, WINDSURF, and standard CLI environments.
Why this beats prompting it yourself
Writing a manual prompt to parse numstat often results in hallucinated line counts or poor sorting. This skill uses a logic-heavy procedure to ensure the math is consistent and the output is formatted for immediate technical decision-making.
Use cases
- Review prioritization to identify which complex files need a human eye before committing.
- Context management to see if a diff is too large to feed into an agent's context window.
- Pre-commit sanity checks to ensure no massive debug logs or unintended files were modified.
Known limitations
The token count is a heuristic estimate based on character churn and not a literal count from a specific model tokenizer.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
1 install
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 4 days ago
- Free to download with an account
Requires