al-agent-test

al-agent-test is a skill for Claude Code from javiarmesto/ALDC-AL-Development-Collection. It costs 50 tokens per session (1,330 once invoked), scanned A, original, MIT.

A workflow that generates test codeunits for Business Central Agent SDK integrations. A test codeunit is a group of automated checks written for Business Central code.

In plain words
What is it for?
Use it to create tests for agent registration, setup, metadata, task execution, task integration, and agent sessions.
Why use it?
It helps cover the different parts of an agent integration without manually writing every test case from the beginning.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aldc-extras plugin — 10 skills, 1 hook shipped together

Good fit Use it to create tests for agent registration, setup, metadata, task execution, task integration, and agent sessions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add javiarmesto/ALDC-AL-Development-Collection
Claude Code
/plugin install aldc-extras

Made for: Claude Code.

Or install aldc-extras, the plugin that ships this one along with the rest of its 10 skills, 1 hook.

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-agent-test

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/javiarmesto/aldc-al-development-collection/al-agent-test"><img src="https://agentmods.dev/badge/skills/javiarmesto/aldc-al-development-collection/al-agent-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,330 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.00050 $0.01330
Opus 5.5 $0.00020 $0.00532
Sonnet 5.5 $0.00010 $0.00266
Haiku 4.5 $0.00005 $0.00133

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

Security

Grade A, and why

al-agent-test 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-plugin-extras/skills/al-agent-test/SKILL.md · 198 lines

How it starts

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

Claude Code runtime: read ${CLAUDE_PLUGIN_ROOT}/docs/claude-runtime.md before running this workflow (gates, tools, paths, <Name from $ARGUMENTS> inputs). It runs in the main session.

Workflow: Test Agent SDK Integration

Generates tests for all Agent SDK layers. Interface signatures come from skill-agent-toolkit; task pattern verification rules come from skill-agent-task-patterns.

Load skills: skill-agent-toolkit (interface signatures), skill-agent-task-patterns (Pattern C/D/H rules for integration tests).

6 required test categories

1. Registration tests

[Test]
procedure CopilotCapabilityIsRegistered()
var
    CopilotCapability: Codeunit "Copilot Capability";
begin
    Assert.IsTrue(
        CopilotCapability.IsCapabilityRegistered(
            Enum::"Copilot Capability"::"{Agent} Capability"),
        'Copilot capability must be registered on install');
end;

[Test]
procedure AgentMetadataProviderEnumExists()
var
    Provider: Enum "Agent Metadata Provider";
begin
    Provider := Enum::"Agent Metadata Provider"::"{Agent}";
    Assert.AreEqual('{Agent}', Format(Provider), 'Enum must exist');
end;

2. Factory tests (IAgentFactory)

[Test]
procedure FactoryReturnsSetupPageId()
var
    Factory: Codeunit {Agent}Factory;
begin
    Assert.AreNotEqual(0, Factory.GetFirstTimeSetupPageId(), 'Must return setup page ID');
end;

[Test]
procedure FactoryReturnsDefaultInitials()
var
    Factory: Codeunit {Agent}Factory;
begin
    Assert.AreNotEqual('', Factory.GetDefaultInitials(), 'Must return initials');
end;

[Test]
procedure FactoryReturnsCopilotCapability()
var
    Factory: Codeunit {Agent}Factory;
begin
    Assert.AreEqual(
        Enum::"Copilot Capability"::"{Agent} Capability",
        Factory.GetCopilotCapability(),
        'Must return correct capability');
end;

[Test]
procedure FactoryReturnsDefaultProfile()
var
    Factory: Codeunit {Agent}Factory;
    TempProfile: Record "All Profile" temporary;
begin
    Factory.GetDefaultProfile(TempProfile);
    Assert.RecordIsNotEmpty(TempProfile);
end;

[Test]
procedure FactoryReturnsDefaultPermissions()
var
    Factory: Codeunit {Agent}Factory;
    TempAccess: Record "Access Control Buffer" temporary;
begin
    Factory.GetDefaultAccessControls(TempAccess);
    Assert.RecordIsNotEmpty(TempAccess);
end;

Read the full file on GitHub · 198 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 · -29 lines 767b192574d7
  2. 2mo ago Changed · +1 lines 00aef7004700
  3. 2mo ago First seen · 226 lines · 50 tokens per session scan A 3c06c3363163

Subscribe to this mod's changes

al-agent-test is a skill published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (115 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 1,330 once invoked, about $0.0002 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-09-19.

Related

al-agent-test compared with skills from other repositories

al-agent-test next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
al-agent-testjaviarmesto/ALDC-AL-Development-CollectionSkill115yesterdayMITA50Claude Code
android-device-testingGuillemRoca/agent-skills-androidSkill71mo agoMITA39Claude Code
api-and-interface-designGuillemRoca/agent-skills-androidSkill71mo agoMITA51Claude Code
deprecation-and-migrationGuillemRoca/agent-skills-androidSkill71mo agoMITA65Claude Code
security-and-hardeningGuillemRoca/agent-skills-androidSkill71mo agoMITA62Claude Code
android-data-persistenceGuillemRoca/agent-skills-androidSkill71mo agoMITA41Claude Code
ci-cd-and-automationGuillemRoca/agent-skills-androidSkill71mo agoMITA43Claude Code