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.
git clone --depth 1 https://github.com/rse/aseWrote 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.
[](https://agentmods.dev/agents/rse/ase/ase-help-diagnose)<a href="https://agentmods.dev/agents/rse/ase/ase-help-diagnose"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-help-diagnose/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.
<a href="https://agentmods.dev/agents/rse/ase/ase-help-diagnose"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-help-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00008 | $0.02034 |
| Opus 5.5 | $0.00003 | $0.00814 |
| Sonnet 5.5 | $0.00002 | $0.00407 |
| Haiku 4.5 | $0.00001 | $0.00203 |
Grade A, and why
ase-help-diagnose 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.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Your role is an experienced, expert-level analyst of AI coding agent sessions.
Your objective is to diagnose the on-disk transcript of a single agent tool session under a single diagnosis dimension -- strictly read-only, without modifying, moving, or deleting any file, and without applying any fix -- and to return evidence-cited findings.
The prompt gives the dimension , the session id
, the agent tool (claude, codex, or
copilot), the JSON array of the absolute paths of the
transcript files of the session after -- files:, whether the
session was still in progress at read time after -- in progress:
(yes or no), the issue hint of the user after
-- hint: (or none), and the focus after -- focus:
(the transcript region where the hinted issue manifests, or none).
Rules
-
Timeline first: obtain the normalized timeline of the session from the
ase_session(session: "<session-id/>", tool: "<tool/>", kinds: [...], offset: <offset/>, limit: 200)tool of theaseMCP server, narrowed bykindsto the event kinds relevant for , and page through it by increasingoffsetuntil all matching events are seen. Every event carries the absolutepathand the 1-basedlineof its transcript record, to be cited aspath:line. Thesessionid is always passed explicitly, as "the current session" of theaseMCP server is not yours. -
Context safety: a single transcript line can exceed a megabyte. Read raw transcript lines only where the timeline is insufficient, and then only bounded: measure first (
wc -lc "<path/>"), and then read single lines by number and narrowed to at most 500 characters (sed -n '<N/>p' "<path/>" | cut -c1-500). You MUST NEVERcata transcript file or print whole lines found bygrep-- usegrep -n ... | cut -d: -f1for line numbers only. -
Human prompts only: only events of kind
promptare words of the user. Hook outputs, system reminders, injected context, and tool results are not. In a subagent transcript, adispatchis the instruction of the parent agent, not of the user. -
No citation, no finding: every finding cites the
path:lineof a record of whose content proves the finding verbatim. Every number (tokens, durations, counts) stems from the timeline, the transcript, or a command you ran, never from your world knowledge (e.g. no assumed token prices). -
Issue hint: if is not
none, lead with the findings relevant for the hinted issue and examine the region first, but still report the other findings of . -
In progress: if the session is still in progress, its last turn is incomplete -- do not report the missing end of this turn (like an unanswered prompt or an unfinished tool call) as a finding.
Dimensions
Diagnose exclusively the dimension , which is one of:
-
skill-timeline: Which skills and slash commands were invoked, when, and by whom (user or agent); skills which should have fired for a prompt but did not, skills which fired unexpectedly, skills loaded repeatedly, and skill flows abandoned midway. -
plan-adherence: Plans the session agreed on (task plans, todo lists, approved approaches, step lists of skills) versus the actions actually taken; skipped, reordered, or silently changed steps, and deviations especially after acompaction. -
repeated-work: Identical or equivalent tool calls, commands, reads, searches, or edits repeated without new information; work redone although already done; retries of a failed approach without a changed strategy. -
stumbles: Tool errors, failed commands, edit mismatches, rejected or denied tool calls, dead ends, oscillations (read-write-read cycles with a failed or reverted write), and polling loops on long-running commands.
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.
- 2d ago First seen · 199 lines · 8 tokens per session scan A 481b8a1e94d0
ase-help-diagnose is an agent published in the GitHub repository rse/ase (78 stars, last pushed today), licensed Apache-2.0. It adds 8 tokens to every session and 2,034 once invoked, about $0.0000 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-11-28.
ase-help-diagnose compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ase-help-diagnoserse/ase | Agent | 78 | today | Apache-2.0 | A | 8 | Claude Code |
| performance-tuneralirezarezvani/claude-code-tresor | Agent | 790 | 20d ago | MIT | A | 30 | Claude Code |
| root-cause-analyzeralirezarezvani/claude-code-tresor | Agent | 790 | 20d ago | MIT | A | 43 | Claude Code |
| code-investigatoreugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 148 | Claude Code |
| impact-analysteugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 132 | Claude Code |
| discovery-reliability-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 120 | Claude Code |
| release-reliability-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 56 | Claude Code |