ase-docs-distill

ase-docs-distill is a skill for Claude Code from rse/ase. It costs 74 tokens per session (1,359 once invoked), scanned A, original, Apache-2.0.

A document summarizer for extracting the most important points from a file or pasted text. Each point includes an importance score, an explanation, and a quoted line reference.

In plain words
What is it for?
Distilling requirements, notes, specifications, or other documents into a ranked list of key facts and decisions.
Why use it?
It saves you from manually scanning a long document and makes the source of each summary point easy to check.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the ase plugin — 50 skills, 8 agents, 5 hooks shipped together

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-docs-distill
Any agent
npx skills add rse/ase --skill ase-docs-distill
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 50 skills, 8 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-docs-distill

README.md
[![agentmods](https://agentmods.dev/badge/skills/rse/ase/ase-docs-distill.svg)](https://agentmods.dev/skills/rse/ase/ase-docs-distill)
Your own site
<a href="https://agentmods.dev/skills/rse/ase/ase-docs-distill"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-docs-distill.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,359 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.1 $0.00074 $0.01359
Opus 5 $0.00037 $0.00679
Sonnet 5 $0.00015 $0.00272
Haiku 4.5 $0.00007 $0.00136

Measured 6d ago against content hash 18277cc567c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ase-docs-distill 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 6d 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-docs-distill/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 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. Resolve the document source from using probe-as-file-first semantics:

    1. Only output the following and then STOP immediately:

    2. Treat the entire as a file path. If it resolves to a readable file, read that file and capture its content together with its line numbers into , and set to the file path.

    3. Treat verbatim as pasted text, capture it into numbering its lines from 1, and set to empty (so locations are cited as :Ls-Le).

    4. Only output the following and then STOP immediately:

    You MUST NOT output anything else in this STEP 1.

  2. Read and distill it into its key points.

    1. Extract the document's key points, where each point is one atomic, self-contained claim, decision, or fact - not a section-level summary that blends several claims.

    2. For each point, determine:

      • A on a 0-10 salience scale reflecting its importance-to-the-reader (impact, centrality, consequence)

        • not its position in the document.
      • A one-line that justifies why the point earns that .

      • A citing the exact source line range as <origin/>:Ls-Le (for a file) or :Ls-Le (for pasted text), where Ls is the start line and Le is the end line.

      • A verbatim snippet, copied exactly from (but with all newlines replaced with spaces and multiple spaces collapsed into a single space), that proves the point. The cited snippet MUST prove the point verbatim. If it does not, re-investigate and re-cite correctly.

    3. Sort the points by from highest to lowest. Within the same rank, keep the order of first appearance in .

    4. Apply the top-bound as an upper bound only: keep at most min(<getopt-option-top/>, number of salient points) points and never pad the list with filler to reach the bound. If is non-numeric or less than or equal to 0, use the default 5 instead.

    You MUST NOT output anything in this STEP 2.

  3. For each distilled point, emit the following , where is its salience rank, is the atomic claim, is its line-range citation, is the verbatim proving snippet, and is the one-line salience justification:

Read the full file on GitHub · 153 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. 6d ago First seen · 153 lines · 74 tokens per session scan A 18277cc567c4

Subscribe to this mod's changes

ase-docs-distill is a skill published in the GitHub repository rse/ase (47 stars, last pushed 8d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,359 once invoked, about $0.0004 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

moai-docs-generation

Documentation generation patterns for technical specs, API docs, user guides, and knowledge bases using real tools like Sphinx, MkDocs, TypeDoc, and Nextra. Use when creating docs from code, building doc sites, or automating documentation workflows.

modu-ai/moai-adk · 56 tokens

nw-diagram

Generates C4 architecture diagrams (context, container, component) in Mermaid or PlantUML. Use when creating or updating architecture visualizations.

nWave-ai/nWave · 33 tokens

ospec

Document-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.

clawplays/ospec · 26 tokens

moai-domain-html-report

Markdown-to-single-file-HTML report renderer. Six modes (status, incident, plan, explainer, financial, pr) selected by report type, crossed with three audience tiers (expert, basic, learn) derived from the active output style. The basic and learn tiers enrich the HTML with mermaid flowcharts, worked examples, and…

modu-ai/moai-adk · 128 tokens

ai-provider-claude-vision

Image understanding and document analysis with Claude's multimodal capabilities -- image input formats, PDF processing, multi-image patterns, structured extraction, and token cost estimation.

agents-inc/skills · 38 tokens

confluence-publisher

Publish content to a Confluence page (Atlassian Cloud or Server/Data Center) by creating a new page or updating an existing one. Accepts Markdown (default), raw Confluence storage XHTML, or plain text. Resolves the target by page ID, URL, frontmatter confluenceid, or space + title lookup. Handles optimistic-locking…

eugenelim/agent-ready-repo · 109 tokens