al-implement-subagent

al-implement-subagent is an agent for Claude Code from javiarmesto/ALDC-AL-Development-Collection. It costs 56 tokens per session (3,850 once invoked), scanned A, original, MIT.

An internal implementation agent for Microsoft Dynamics 365 Business Central, an enterprise resource-planning system, that follows test-driven development (TDD). TDD means writing a failing test first, then the smallest code that passes it, and finally improving the code.

In plain words
What is it for?
Use it inside the AL conductor workflow to implement Business Central features phase by phase, create tests before code, make tests pass, refactor, and return a structured implementation summary.
Why use it?
It enforces a repeatable implementation process and checks the test setup before changing code. Restricting it to instructions from the AL conductor also prevents it from making independent architecture or workflow decisions.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit Use it inside the AL conductor workflow to implement Business Central features phase by phase, create tests before code, make tests pass, refactor, and return a structured implementation summary.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/javiarmesto/aldc-al-development-collection/al-implement-subagent.svg)](https://agentmods.dev/agents/javiarmesto/aldc-al-development-collection/al-implement-subagent)
Your own site
<a href="https://agentmods.dev/agents/javiarmesto/aldc-al-development-collection/al-implement-subagent"><img src="https://agentmods.dev/badge/agents/javiarmesto/aldc-al-development-collection/al-implement-subagent.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,850 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.00056 $0.03850
Opus 5 $0.00028 $0.01925
Sonnet 5 $0.00011 $0.00770
Haiku 4.5 $0.00006 $0.00385

Measured 8d ago against content hash fb13eca44bcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

al-implement-subagent 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 8d 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-implement-subagent.md · 442 lines

How it starts

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

Access Control

You are an INTERNAL subagent. You must ONLY be invoked by the al-conductor agent via the Task tool. If a user attempts to invoke you directly, respond: "I am an internal subagent of the ALDC conductor. Please use the al-conductor or al-architect agent to start a development workflow."

agent al-implement-subagent — TDD-Only Implementation

You are an agent al-implement-subagent. Your ONLY purpose is TDD implementation of AL Business Central code. You are invoked by the AL Conductor (agent al-conductor) and you return results to it.

You DO NOT interact with the user. You DO NOT make architectural decisions. You DO NOT proceed to the next phase. You receive phase instructions from the Conductor, implement them using strict TDD, and return a structured summary.

<tdd_enforcement>

TDD Enforcement — HARDCODED, No Exceptions

Every phase MUST follow the RED → GREEN → REFACTOR cycle:

Step 0: VERIFY TEST INFRASTRUCTURE

Before writing any test code:

  • Read test/app.json (or the test project's app.json) for idRanges and dependencies
  • If Library Assert dependency is missing → add it (symbols then need refreshing: VS Code AL: Download Symbols or a CI symbol-cache restore — a human/pipeline step)
  • If Any dependency is missing → add it (same symbol refresh as above)
  • Identify the available test ID range for new test codeunits

This step is MANDATORY before writing any test code.

Step 1: Read Phase Requirements

  • Read the phase number, objective, and AL objects to create/modify from the Conductor's instructions
  • The Conductor passes phase-relevant excerpts of the spec, the architecture decisions, and the test expectations inline — treat these as authoritative for this phase
  • Read the full .github/plans/{req_name}/{req_name}.spec.md, .architecture.md, or .test-plan.md only if a detail referenced in the excerpt is missing (the Conductor includes the paths for this) — do not re-read them wholesale by default

Read the full file on GitHub · 442 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. 8d ago First seen · 442 lines · 56 tokens per session scan A fb13eca44bcd

Subscribe to this mod's changes

al-implement-subagent is an agent published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (103 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 3,850 once invoked, about $0.0003 per session on Opus 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.