Works with the AI Agents you already use

    git changed scope lister

    by Rachid Houmayni

    1

    See a ranked list of your biggest code changes and their estimated size before you review or send them to an AI.

    Free

    3 usesSecurity scanned

    What it does

    • Identifies all added, modified, or deleted files in your current work
    • Ranks files by the total number of line changes to find the biggest diffs first
    • Calculates an estimated token count to help manage your AI agent context window
    • Summarizes the total number of files and changed lines in one line
    • Highlights the top three files that are most important to review first

    Who it's for

    Developers preparing pull requests

    Find the biggest changes quickly so you know which files need the most attention during a code review.

    Try asking: “List my changed files and show the biggest diffs first.”

    AI agent users managing context limits

    See exactly how many tokens your changes will take up before you send them to your AI assistant.

    Try asking: “Scope my diff and tell me how many tokens it is.”

    Team leads reviewing work

    Get a clear table of file churn to see where the most work happened in a specific commit range.

    Try asking: “Show the biggest diffs for the last three commits.”

    git changed scope lister

    git changed scope lister

    Example session with this skill installed

    Show me what I changed in this project and rank them by size.

    • Read your context and instructions
    • Compiled the git changed scope

    I will survey your working tree and rank the changes by size.

    Here is the scope of your current changes

    #PathStatus+Add-Del~Tokens
    1src/main-logic.tsM14522668
    2tests/test-suite.tsM805340
    3README.mdM12256
    4.gitignoreA5020

    Scope: 4 files, 266 changed lines (~1.1k tokens est.)

    Top files to review first:

    1. src/main-logic.ts: This is your largest change with 167 lines of churn.
    2. tests/test-suite.ts: Significant updates to your testing logic.
    3. README.md: Minor documentation updates.

    Would you like me to explain the specific changes in the top file?

    README.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    When you have been coding for hours, your list of changed files can get messy. It is hard to know which files have the most changes or if your diff is getting too big for your AI agent to handle. This skill looks at your current work and ranks every file by how much it has changed. It gives you a clear table showing additions, deletions, and a guess of how much space it will take up in your AI's memory.

    How it works

    1. Ask your AI agent to show your changes or scope your diff.
    2. The skill looks at your git status and counts the lines added or removed in each file.
    3. It calculates a size estimate so you know if the diff is too big.
    4. You get a ranked list with the biggest changes at the top.

    What you get: A sorted table of changed files and a summary of the total impact on your project.

    Token estimate is a heuristic, not a literal tokenizer count. Requires a local Git repository.

    This skill uses git status --porcelain and git diff --numstat to gather metrics. It supports --staged and --range flags to limit scope. It is compatible with CLI-based agents like Claude Code, Cursor, and Windsurf. Token estimation uses a heuristic of (added + removed + changed) multiplied by 4 characters divided by 4.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    3 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Listed1 month ago
    Updated1 day ago

    What's inside

    Frequently Asked Questions

    This skill helps you avoid 'context overflow' by ranking changed files by line churn and token size, allowing you to selectively feed only the most relevant diffs to your AI agent rather than overwhelming it with a massive, unorganized diff.

    Yes, while optimized for standard CLI environments, it is fully compatible with agentic editors like Claude Code, Cursor, and Windsurf, enabling these tools to better self-regulate the data they ingest from your repository.

    The token count is calculated using a high-fidelity character-based heuristic designed to approximate standard LLM tokenizers, giving you a reliable 'safety margin' for context management.

    No complex setup is required; as long as you have Git installed and are within a repository, the skill can immediately survey your staged changes, working tree, or specific commit ranges.

    Unlike a basic prompt that might misinterpret raw 'git diff' output, this skill uses a structured logic procedure to parse file metrics, ensuring that line counts and rankings are mathematically precise every time.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free