ase-repo-dissect

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

A Git change decomposer that breaks a large staged change set into cohesive parts and creates a separate Git worktree for each part. A worktree is an additional working directory connected to the same repository.

In plain words
What is it for?
Use it to split an epic or tangled change set into atomic parts when you want separately committable work.
Why use it?
It removes the manual effort of separating an oversized change into smaller pieces that can be reviewed or committed independently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it to split an epic or tangled change set into atomic parts when you want separately committable work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rse/ase/ase-repo-dissect
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-dissect
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-dissect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rse/ase/ase-repo-dissect"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-repo-dissect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,187 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.00075 $0.04187
Opus 5.5 $0.00030 $0.01675
Sonnet 5.5 $0.00015 $0.00837
Haiku 4.5 $0.00007 $0.00419

Measured 16d ago against content hash 9cd41d9cdfbb, 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-dissect 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-dissect/SKILL.md · 402 lines

How it starts

The opening of the file, as written. The whole thing — 402 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

@${CLAUDE_SKILL_DIR}/../../meta/ase-common-dissect.md

Procedure

    1. Determine the dissection hint: set , with any leading and trailing whitespace stripped. Additionally, inherit the always existing from the current context, as it names the worktrees and branches of all derived parts.

    2. Determine the repository root by running the corresponding command (taken exactly as given) and capturing its output into :

      git rev-parse --show-toplevel

    3. Determine the diff details and the diff statistics by running the corresponding commands (taken exactly as given) and capturing their full outputs into and :

      git diff --cached --numstat HEAD git diff

      git diff --numstat

    4. git -C "<repo-root/>" -c core.quotepath=off ls-files --others --exclude-standard

      Skip every listed entry below the .ase/ directory -- it carries ASE's own state and the worktrees created by this very skill, and hence is never part of the user's change set.

      Then, for every remaining listed file, capture its creation diff by running the corresponding command (taken exactly as given) and append its output to :

      git -C "<repo-root/>" diff --no-index --binary /dev/null "<file/>"

      This command intentionally exits with a non-zero status, because the two compared paths differ; treat this exit status as success, not as an error. Judge the outcome by the output instead: a run which emits no diff on standard output but an error: or fatal: message (e.g. the entry is a nested Git repository, which git ls-files reports as a directory) is a real failure -- append nothing for that entry and only output the following , then continue with the next file:

Read the full file on GitHub · 402 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 · 402 lines · 75 tokens per session scan A 9cd41d9cdfbb

Subscribe to this mod's changes

ase-repo-dissect is a skill published in the GitHub repository rse/ase (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 75 tokens to every session and 4,187 once invoked, about $0.0003 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