ase-code-insight

SkillDev tools

Give insights into the source code.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the ase-code-insight skill

What this skill tells your AI

The instructions your AI receives, as published by rse/ase in plugin/skills/ase-code-insight/SKILL.md and read by ahel’s review.

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

<if condition="<ase-project-boxing/> is equal `black`">

The project source artifacts are classified as a *black box*, so the
user does *not* want them inspected or their internals surfaced.
*Skip* the entire insight gathering: do *not* read any source, only
output the following <template/> and then *SKIP* the remaining steps
STEP 2 through STEP 4:

<template>
<ase-tpl-bullet-normal/> **PROJECT INSIGHT**: *suppressed* (`project.boxing` is `black`)
</template>

</if>

Determine an <abstract/> summary of this project.
For this, check a potentially existing `README.*` file
or scan the source files of <getopt-arguments/> and figure it out
indirectly.

Display the results with the following <template/>:

<template>
<ase-tpl-bullet-normal/> **PROJECT ABSTRACT**:

<abstract/>
</template>
</step>

2. Determine the of this project. For this, run the following command...

```
git shortlog -sn --no-merges HEAD
```

...and then display the results with the following <template/>:

<template>
<ase-tpl-bullet-normal/> **PROJECT AUTHOR**:

<author/>
</template>
</step>

3. Display the source files of which caused the most churn by figuring out which of them have the most commits. Display the following :

<template>
<ase-tpl-bullet-normal/> **SOURCE CHURN**:
</template>

Then run the following command...

```
git log --format=format: --name-only --since="1 year ago" -- <getopt-arguments/> | grep -v '^$' | sort | uniq -c | sort -nr | head -10
```

...and then display its result as a table with a table head and
columns named "Commits" and "Source File". Do not display any
further explanation of this result.
</step>

4. Display the following :

<template>
<ase-tpl-bullet-normal/> **MODULE STRUCTURE**:
</template>

Find all modules (or OOP classes) of <getopt-arguments/> and build a
Mermaid specification <mermaid-spec/> for a `flowchart TB` diagram
with all modules as boxes and the imports between modules as the
directed edges. Then
dispatch the rendering to the `ase-meta-diagram` sub-agent by
calling the tool `Agent(description: "Diagram Rendering",
subagent_type: "ase:ase-meta-diagram", prompt: <mermaid-spec/>,
run_in_background: false)` and reproduce its
returned fenced code block verbatim in the response text. Do not
display any further explanation except for this diagram.
</step>

Signals

GitHub stars
52
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
ase-code-insight
Source
github.com/rse/ase