ase-repo-diff

ase-repo-diff is a skill for Claude Code from rse/ase. It costs 58 tokens per session (4,058 once invoked), scanned A, original, Apache-2.0.

A Git change summarizer that reads staged changes—the edits prepared for the next commit—and groups them by purpose instead of listing files. It can also assess whether the edits fit together and report possible risk and affected areas.

In plain words
What is it for?
Use it to summarize staged edits, group them as features, fixes, updates, or refactoring, and optionally review their coherence, risk, and likely impact.
Why use it?
It removes the need to inspect a long Git diff and work out the overall intent manually. It gives a short explanation of what changed and why before you commit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the ase plugin — 57 skills, 10 agents, 5 hooks shipped together

Good fit Use it to summarize staged edits, group them as features, fixes, updates, or refactoring, and optionally review their coherence, risk, and likely impact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rse/ase/ase-repo-diff
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rse/ase --skill ase-repo-diff
Clone the repo
git clone --depth 1 https://github.com/rse/ase

Made for: Claude Code.

Or install ase, the plugin that ships this one along with the rest of its 57 skills, 10 agents, 5 hooks.

Wrote 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.

agentmods badge for ase-repo-diff

README.md
[![agentmods](https://agentmods.dev/badge/skills/rse/ase/ase-repo-diff/github.svg)](https://agentmods.dev/skills/rse/ase/ase-repo-diff)
Your own site
<a href="https://agentmods.dev/skills/rse/ase/ase-repo-diff"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-repo-diff/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.

agentmods 80×15 button for ase-repo-diff

Your own site · 80×15
<a href="https://agentmods.dev/skills/rse/ase/ase-repo-diff"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-repo-diff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,058 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.04058
Opus 5.5 $0.00023 $0.01623
Sonnet 5.5 $0.00012 $0.00812
Haiku 4.5 $0.00006 $0.00406

Measured 16d ago against content hash ea6874b5eadc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ase-repo-diff 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 16d 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.

plugin/skills/ase-repo-diff/SKILL.md · 381 lines

How it starts

The opening of the file, as written. The whole thing — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md

$ARGUMENTS

Procedure

    1. Determine the diff details by running the corresponding command (taken exactly as given) and capturing the full diff output into for the subsequent analysis:

      git diff --cached

    2. Determine the diff statistics by running the corresponding command (taken exactly as given) and capturing the full stat output into for the subsequent analysis:

      git diff --cached --numstat

    1. Analyze the and and synthesize a concise narrative of WHAT changed and WHY, grouped by intent rather than by file. Honor the following intents:

      • FEATURE: new functionality or configuration
      • IMPROVEMENT: improved functionality or configuration
      • BUGFIX: corrected functionality or configuration
      • UPDATE: updated functionality or configuration
      • CLEANUP: cleaned up functionality or configuration
      • REFACTOR: refactored functionality or configuration
    2. <template>
      
      <ase-tpl-bullet-normal/> **CHANGE INTENT REPORT**:
      
      </template>
      

      2. Render a three-column table with one row per discovered intent group present in the . Output the following table header :

      <template>
      | Intent | Changes (LoC) | Files &amp; Description |
      | ------ | ------------- | ----------------------- |
      </template>
      

      3. For each discovered intent group, emit the following row , where is the intent label, is the total number of lines changed per intent group in format +N/-M, is the list of affected file references, and is a brief one-to-two-sentence narrative of what changed and why:

      <template>
      | **<intent/>** | <changes/> | <files/>: <description/> |
      </template>
      
      In the <files/> part of the second column, mark up all file
      references as code (with backticks), prepend them with `▢ `,
      append ` [+N/-M]` (based on the information in <stat/>) to them,
      and separate them with `, ` (a comma and space). Do *not* repeat
      file references in the <description/>.
      
      Keep the overall report *concise* and *brief*. Try to keep the
      number of intent groups (table rows) in the range of 1-10. Do
      *not* output any further explanation.
      
    3. The project source artifacts are classified as a black box, so the user does not want the staged changes scrutinized or their coherence, risk, and blast-radius findings surfaced. The requested scrutiny of STEP 3 through STEP 5 is therefore suppressed: only output the following and then SKIP the remaining steps STEP 3 through STEP 5:

Read the full file on GitHub · 381 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 16d ago First seen · 381 lines · 58 tokens per session scan A ea6874b5eadc

Subscribe to this mod's changes

ase-repo-diff is a skill published in the GitHub repository rse/ase (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 4,058 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

Other skills, from other repositories