/al-agent-harness:al-knowledgefrom al-agent-harness
Routes Business Central / AL questions to the right knowledge source based on the type of query. Chooses between BC Observatory, BCQuality, BC Code Atlas, Microsoft Learn, and local symbols for versioned object lookups, pattern guidance, code review, and version diff analysis.
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 skill tells you how to do X and is loaded only when X comes up. An MCP server adds context
and tools, and every tool it exposes costs context on every turn whether you use it or not.
Keep both lean: this skill decides which source answers which question, so BC knowledge
does not have to live in AGENTS.md.
app/app.json, or what
the base app actually does there.| Question | Source | How |
|---|---|---|
| Which object / field / event / procedure, its ID, where it is documented | BC Observatory | load the bc-observatory:bcobs-lookup skill (bc_search, bc_get_object) |
| What the base app actually does: a procedure body, who calls it, who subscribes, the exact event signature | BC Observatory + BC Code Atlas | load the bc-observatory:bcobs-grounding skill and follow it (bc_get_object for identity, then bcatlas_resolve_node / bcatlas_get_signature / bcatlas_get_procedure_body) |
| What changed between versions, what is new | BC Observatory | load the bc-observatory:bcobs-whats-new skill (bc_diff_object, bc_whats_new) |
| Best practice, pattern, anti-pattern ("how should I handle this Error for translation?") | BCQuality knowledge | step 2 |
| Review AL code against best practice | BCQuality al-code-review skill | scoped to the changed files |
| Official behavior: syntax, property, method, platform limits | Microsoft Learn (comes with the BC Observatory plugin) | microsoft_docs_search, then microsoft_docs_fetch |
| Does it exist in our symbols, will it compile here | symbols | al_symbolsearch (AL MCP server) |
Load the skill named in the row with the Skill tool before you call its tools: it knows the
right tool order. BC Code Atlas answers from BC 28 unless you pass a version: resolve the
version in app/app.json (bcatlas_resolve_version, bcatlas_list_warm_versions) and pass its
commit_sha; say which version an answer comes from. An event publisher is declared
[IntegrationEvent(...)] local procedure: when a signature shows no attribute, read the
declaration with bcatlas_get_object_source instead of guessing. Two sources apply? Use both: BCQuality for the pattern, BC Observatory / Atlas / symbols for
the facts. Never take an ID or a signature from memory or from Learn prose.
Locate the installed plugin: the folder that contains plugin.json, knowledge-index.json and
microsoft/knowledge/ (an installed plugin lives under ~/.claude/plugins/; one loaded for this
session is listed as an additional working directory).
knowledge-index.json, or the frontmatter keywords and the titles in microsoft/knowledge/** and
community/knowledge/** for the concern (for example label, error, translation)..good.al / .bad.al.## Best Practice and ## Anti Pattern sections as guidance.Company rules are not here: they live in rules/ and win over BCQuality when the two disagree.
Answer: <the guidance, applied to the user's code or question>
Sources:
- bc-observatory: codeunit/414 "Release Sales Document" (official)
- bc-code-atlas (w1-28): Release Sales Document.OnBeforeReleaseSalesDoc - signature
- bcquality microsoft/knowledge/error-handling/<article>.md (+ .good.al)
Not found: <what you searched and did not find, if anything>
claude plugin marketplace add waldo1001/waldo.BCObservatory, then
claude plugin install bc-observatory@bc-observatory. Fall back to the symbols and label the
answer "base-app body not checked"./plugin marketplace add microsoft/BCQuality, then
/plugin install bcquality@bcquality) and label the answer "not checked against BCQuality".Never present memory as a sourced answer.
A simple lookup ("which event fires before a sales document is released?", "what is the
Label pattern for an error with a placeholder?") does not need the expensive model or the
main conversation's context. Hand it to the al-lookup agent: it runs on a cheaper model
(haiku), in its own context, and returns only the answer and its sources. Pass it the
developer's question as asked: never your own answer, never a list of what to find.
al-lookup agent - runs this skill on a cheaper model for simple questions.bcobs-lookup, bcobs-grounding, bcobs-whats-new, bcobs-localization.al-build-validation - the compiler is the final judge of whether the guidance compiled.company-rules - your own rules, which override general guidance.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
business-central, al-language, bc-knowledge, code-review, best-practices
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-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./chat-exportExport an agent session and turn it into a short diagnose report for whoever maintains the harness: which skills, agents and MCP servers were available versus actually used, which tools failed, where the agent looped. Use when: "export this chat", "why did it not use the skill", "send this session to the devlead", the developer says the tooling (not the code) is failing them. Never runs unasked./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