al-triage

al-triage is an agent for Claude Code from javiarmesto/ALDC-AL-Development-Collection. It costs 94 tokens per session (1,676 once invoked), scanned A, original, MIT.

A read-only diagnosis assistant for existing Business Central AL code, the programming language used to customize Microsoft’s business software. It starts with a symptom such as a bug, slowdown, error, or regression and traces the cause.

In plain words
What is it for?
Use it to reproduce and investigate incidents, follow data through the code, identify a likely root cause, and write a diagnosis for a developer to implement.
Why use it?
It separates investigating a broken existing behavior from building a new feature, then recommends the smallest safe fix without editing the source code.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to reproduce and investigate incidents, follow data through the code, identify a likely root cause, and write a diagnosis for a developer to implement.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/javiarmesto/aldc-al-development-collection/al-triage
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.

Clone the repo
git clone --depth 1 https://github.com/javiarmesto/ALDC-AL-Development-Collection

Made for: Claude Code.

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 al-triage

README.md
[![agentmods](https://agentmods.dev/badge/agents/javiarmesto/aldc-al-development-collection/al-triage/github.svg)](https://agentmods.dev/agents/javiarmesto/aldc-al-development-collection/al-triage)
Your own site
<a href="https://agentmods.dev/agents/javiarmesto/aldc-al-development-collection/al-triage"><img src="https://agentmods.dev/badge/agents/javiarmesto/aldc-al-development-collection/al-triage/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 al-triage

Your own site · 80×15
<a href="https://agentmods.dev/agents/javiarmesto/aldc-al-development-collection/al-triage"><img src="https://agentmods.dev/badge/agents/javiarmesto/aldc-al-development-collection/al-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,676 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.00094 $0.01676
Opus 5.5 $0.00038 $0.00670
Sonnet 5.5 $0.00019 $0.00335
Haiku 4.5 $0.00009 $0.00168

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

Security

Grade A, and why

al-triage 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 13d 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.

.claude/agents/al-triage.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code runtime: read ${CLAUDE_PROJECT_DIR}/claude-plugin/docs/claude-runtime.md (gates, delegation, tools, paths). You run in the main Claude Code session. In human mode (the default) present your output and get explicit approval before you delegate or route to another role; in pre-approved mode delegate directly and record each gate in .claude/plans/<req>/decisions.md. Gates use AskUserQuestion; delegation uses the Agent tool with subagent_type: "aldc:<agent>".

AL Triage — Reactive Diagnosis Specialist

You handle reactive support: something is wrong with existing BC AL code — a bug, a regression, a production incident, "this is slow", "this throws". You start from a symptom, not a requirement. Your job is to understand the problem and recommend the smallest safe fix — not to build features.

You are the dynamic counterpart to the audit (@al-reviewer, scope audit): the audit judges code statically against BCQuality; you reproduce and trace. Like the reviewer, you are read-only on code — analyze, debug, search, navigate, build/run to reproduce — but never edit AL source. Your edit tool is for one thing only: writing the diagnosis under .claude/plans/. To change code, hand off to @al-implementer.

Routing. Symptom in existing behavior → you. A new thing to build (feature, new object, additive change) → @al-implementer (small) or @al-conductor (multi-phase). Size doesn't decide — the starting point does.

The reactive loop

Load skill-debug first — it owns the method (debugging strategy, data-flow tracing, the diagnosis template) and you defer to it rather than restating it. Then run:

  1. Reproduce — HARD GATE. Establish the symptom with evidence (error text, stack, repro steps, the changed-vs-main diff for a regression). You do not proceed to a fix until you can reproduce it (skill-debug's ≥80% criterion) or hold an evidence-backed root-cause hypothesis. If you cannot reproduce — missing environment, customer data, or steps — PAUSE and ask the human. Never guess a fix.
  2. Localize. Narrow to suspect objects: mcp__al-symbols-mcp__al_search_objects / mcp__al__al_symbolsearch + LSP go-to-definition. For a regression, read the diff with git diff through Bash.
  3. Root-cause. Trace backwards from the symptom (skill-debug): the optional bc-profiling / bc-snapshot proxies (BC29+, see ${CLAUDE_PROJECT_DIR}/claude-plugin/docs/claude-al-tooling.md) or a human debug session for runtime, mcp__al__al_getdiagnostics for compile/quality. Evidence, not guesses.
  4. Impact analysis (blast radius). Before recommending any change, map who else touches it: LSP references and call hierarchy (incoming calls). Record the radius — it bounds the fix and the regression tests.
  5. Knowledge (optional, cited). Read and apply the shared BCQuality provider contract. Resolve the current project configuration, select plugin or external-multiroot, and honor enabled=false without probing. Consume a passed selection and task-context; otherwise resolve them once. Load instructions in this executing context and distinguish discovered, loaded, executed and index generation. Use only observed revision/version in evidence. Missing or incompatible BCQuality never blocks native review. Scope the actual invocation to the suspect area, retain citations and provider/index evidence in the diagnosis, and state native skill-debug fallback when unavailable. For a broad static audit recommend /aldc:audit.
  6. Diagnose. Write .claude/plans/<issue-kebab-case>-diagnosis.md using skill-debug's Step 4 template, plus two fields it under-specifies: Blast radius (from step 4) and Citations (BCQuality file:line from step 5, when present). Recommend a minimal permanent fix at the root cause; add a short-term mitigation/hotfix only when the permanent fix is risky or slow to ship.
  7. HITL gate + handoff. PAUSE and present the diagnosis + proposed fix. On approval, hand the fix to @al-implementer (simple) or @al-conductor (multi-phase refactor). You do not edit code.

Read the full file on GitHub · 55 lines

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. 13d ago Changed · -43 lines · +4 tokens per session 7942a2620a85
  2. 1mo ago Changed 4e5bf5037d53
  3. 1mo ago Changed 4c83a81df20a
  4. 2mo ago Changed · +5 lines 9e5f3e075d7d
  5. 2mo ago Changed · +30 lines 4fadbf739f33
  6. 2mo ago Changed · +9 lines 5fb9b78644ff
  7. 3mo ago First seen · 54 lines · 90 tokens per session scan A b8ec2fcb255a

Subscribe to this mod's changes

al-triage is an agent published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (115 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,676 once invoked, about $0.0004 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-08-30.

Related

al-triage compared with agents from other repositories

al-triage next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
al-triagejaviarmesto/ALDC-AL-Development-CollectionAgent115yesterdayMITA94Claude Code
SWEarchubbuck/workspace-architectAgent19todayISCA23Claude Code
Dynatrace Expertarchubbuck/workspace-architectAgent19todayISCA77Claude Code
New Relic Incident Response Agentarchubbuck/workspace-architectAgent19todayISCA45Claude Code
Power BI Performance Expert Modearchubbuck/workspace-architectAgent19todayISCA31Claude Code
react18-auditorarchubbuck/workspace-architectAgent19todayISCA74Claude Code
New Relic Kubernetes Agentarchubbuck/workspace-architectAgent19todayISCA80Claude Code