ase-help-diagnose

ase-help-diagnose is a skill for Claude Code from rse/ase. It costs 126 tokens per session (3,194 once invoked), scanned A, original, Apache-2.0.

A read-only diagnostic tool for Claude Code, Codex, or Copilot CLI sessions. It reads saved session transcripts and reports problems with severity, file-and-line evidence, and likely causes.

In plain words
What is it for?
Use it to investigate errors, repeated work, stalled progress, poor plan adherence, or other problems in a current or named coding-agent session.
Why use it?
It helps explain why an agent session went wrong without changing the session files or applying fixes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Part of the ase plugin — 65 skills, 12 agents, 5 hooks shipped together

Good fit Use it to investigate errors, repeated work, stalled progress, poor plan adherence, or other problems in a current or named coding-agent session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rse/ase/ase-help-diagnose
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-help-diagnose
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 65 skills, 12 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-help-diagnose

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

agentmods 80×15 button for ase-help-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/rse/ase/ase-help-diagnose"><img src="https://agentmods.dev/badge/skills/rse/ase/ase-help-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,194 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.00126 $0.03194
Opus 5.5 $0.00050 $0.01278
Sonnet 5.5 $0.00025 $0.00639
Haiku 4.5 $0.00013 $0.00319

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

Security

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.

plugin/skills/ase-help-diagnose/SKILL.md · 302 lines

How it starts

The opening of the file, as written. The whole thing — 302 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. Set (with any leading and trailing whitespace stripped). If is empty, set and yes, as the current session is still running. Otherwise, set and no. Do not output anything.

    2. Call the ase_session(session: "<session-id/>", kinds: [ "prompt", "dispatch", "compaction", "error", "tool-error" ], limit: 300) tool of the ase MCP server, which auto-detects the agent tool of the session. From its returned summary, set to the agent tool, to the JSON array of the absolute paths of all transcript files, to the event counts per kind, to the token usage as recorded, and to the returned timeline of prompts, dispatches, compactions, and errors. Do not output anything.

    3. If is no and the end of the period of the session lies within the last few minutes, set yes, as a named session can be a parallel, still running one. Do not output anything.

    4. Output only the following :

    1. Do not output anything.

    2. Set to the list skill-timeline, plan-adherence, repeated-work, stumbles, quality-evidence, request-conflicts, cost-and-time, and ase-conformance, followed by issue-hint if is not empty. Do not output anything.

    3. Use the following to give a hint on this step:

    4. Dispatch the investigation to sub-agents via the Agent tool, so that no transcript details leak into the user-visible transcript. Invoke the following tool once per dimension of (apart from the single retry below), with all invocations issued in parallel within a single message:

          Agent(
              description:       "Diagnosis Investigation (<dimension/>)",
              subagent_type:     "ase:ase-help-diagnose",
              prompt:            "Diagnose the dimension <dimension/> of the session <session-id/> of the agent tool <tool/> -- files: <files/> -- in progress: <in-progress/> -- hint: <hint/> -- focus: <focus/>",
              run_in_background: false
          )
      

Read the full file on GitHub · 302 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. 2d ago First seen · 302 lines · 126 tokens per session scan A c9beba10bd28

Subscribe to this mod's changes

ase-help-diagnose is a skill published in the GitHub repository rse/ase (78 stars, last pushed today), licensed Apache-2.0. It adds 126 tokens to every session and 3,194 once invoked, about $0.0005 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.

Related

ase-help-diagnose compared with skills from other repositories

ase-help-diagnose next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ase-help-diagnoserse/aseSkill78todayApache-2.0A126Claude Code
hns-lsel-curatormodu-ai/moai-adkSkill1.3ktodayApache-2.0A135Claude Code
moai-workflow-dddmodu-ai/moai-adkSkill1.3ktodayApache-2.0A44Claude Code
moai-lane-watchdogmodu-ai/moai-adkSkill1.3ktodayApache-2.0A86Claude Code
moai-workflow-loopmodu-ai/moai-adkSkill1.3ktodayApache-2.0A44Claude Code
moai-workflow-testingmodu-ai/moai-adkSkill1.3ktodayApache-2.0A47Claude Code
moai-fixmodu-ai/moai-adkSkill1.3ktodayApache-2.0A21Claude Code