ase-code-insight

A high-level summary workflow for understanding a software project’s source code.

In plain words
What is it for?
Use it to produce a project abstract, inspect source files or README files, and report contributor information from Git history.
Why use it?
It gives a concise view of what a project does and provides project information without requiring a full manual scan.

Skill for Claude CodeCodex

View the source file rse/ase
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.

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

Made for: Claude Code, Codex.

Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 949 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.00949
Opus 5 $0.00006 $0.00475
Sonnet 5 $0.00002 $0.00190
Haiku 4.5 $0.00001 $0.00095

Measured 2d ago against content hash a7dba521205b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ase-code-insight 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 2d 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-code-insight/SKILL.md · 123 lines

What it actually says

@${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>
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. 2d ago First seen · 123 lines · 12 tokens per session scan A a7dba521205b

Subscribe to this mod's changes

ase-code-insight is a skill published in the GitHub repository rse/ase (47 stars, last pushed 4d ago), licensed Apache-2.0. It adds 12 tokens to every session and 949 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories