/al-agent-harness:chat-exportfrom al-agent-harness
Exports an agent session as a diagnostic report showing which skills, agents, and MCP servers were available vs. used, tool failures, and loops. For harness debugging, not code problems.
Ships in al-agent-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A session where the harness failed is the best bug report the harness will ever get, and it is gone when the session is. This skill keeps it and turns it into something a devlead can read in two minutes.
A skill that was available but never triggered is the strongest signal there is: its
description does not match how developers ask. That is a fix to the skill, not to the
developer.
Not for ordinary code problems: a red build or a failing test is not harness friction.
Use what the host offers:
| Host | How |
|---|---|
| Claude Code | the developer runs /export <file> (a slash command only they can run), or you read the session file under ~/.claude/projects/<project>/<session-id>.jsonl |
| GitHub Copilot (VS Code) | Chat: Export Chat... from the command palette, saves JSON |
Save it outside the repo (for example ~/Downloads/), so it can never be committed.
Read the transcript and collect, with turn numbers:
Next to the export, <name>-diagnose.md:
Chat export - <date> - <one-line topic>
Ask: "<the developer's request>" (turn 1)
Skills: offered 9, used 3 never triggered: al-object-id-assignment (turn 4: new table)
Agents: al-coder (subagent, turn 6)
MCP: al-object-id-ninja failed to connect; microsoft-learn 2 calls
Errors: al_build "project not loaded" x3 (turns 7-9)
Loops: same build fix 3 times (turns 7-9)
Suggested: al-object-id-assignment description lacks "create a table"
Give the developer the two file paths and one line to send with them: what they tried to do, what they expected the agent to do, what it did instead. Only they know the last part.
AGENTS.md - the skill table whose descriptions this report tests.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub waldo1001/directionsemea.alagentharness --plugin al-agent-harness6 skills in this plugin
/al-build-validationBuild, diagnose and fix AL code until the build is green. Use when: you created or changed any .al file or app.json, before saying a task is done, before a review or a PR, and when the user asks "does it compile". Provides the build -> diagnostics -> fix -> rebuild loop and a fixed report. Code is not finished until this is green. Does not run tests./al-knowledgeFind sourced Business Central / AL guidance instead of answering from memory. Use when: asked "how should I ..." about AL or BC, choosing a pattern (events, error handling, labels, permissions, performance, upgrade, testing), checking what an object, field, event or procedure is or does in this BC version, finding the base-app event to subscribe to, asking what changed between BC versions, or reviewing AL against best practice. Routes to the BC Observatory plugin, BCQuality or the symbols, and cites the source./al-object-id-assignmentReserve object, field and enum-value IDs with AL Object ID Ninja BEFORE writing the AL artifact, and release IDs that end up unused. Use when: creating any new AL object (table, tableextension, page, pageextension, codeunit, report, enum, enumextension, query, xmlport, permissionset, ...), adding a field through a tableextension, adding an enum value through an enumextension, or deleting/reverting an object whose ID you reserved. Never pick an ID yourself./company-rulesLoad and apply the company AL rules in rules/ as mandatory constraints, and report PASS / FAIL per rule. Use BEFORE writing or designing any AL code, when reviewing AL, and for /done line D7. Enumerates the folder every time: a new rule file applies without editing this skill./definition-of-doneCheck a change against DEFINITION-OF-DONE.md mechanically: every line gets a command or tool call as evidence, then one word, done or not done. Use when: /done, "is it done?", "can I open a PR?", before handing work to review, after the al-coder agent finishes. Never fixes: reports. D8 publishes to the sandbox and runs the tests, nothing else changes.Other plugins' skills for the same job