al-initialize

al-initialize is a command for Claude Code from javiarmesto/ALDC-AL-Development-Collection. It costs 28 tokens per session (2,895 once invoked), scanned A, original, MIT.

A setup command for initializing an AL development workspace for Microsoft Dynamics 365 Business Central. AL is the programming language used to customize Business Central.

In plain words
What is it for?
Use it when starting a Business Central project or configuring an existing workspace. It prepares the AL workspace and copies project rules into the expected configuration directory.
Why use it?
It gathers the environment setup and project rules needed before development begins. It also adds guidance for coding style, naming, performance, errors, and telemetry.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; 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 plugin — 10 commands, 1 hook shipped together

Good fit Use it when starting a Business Central project or configuring an existing workspace. It prepares the AL workspace and copies project rules into the expected configuration directory.

Compare 6 commands 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

Made for: Claude Code.

Or install aldc, the plugin that ships this one along with the rest of its 10 commands, 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-initialize

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/javiarmesto/aldc-al-development-collection/al-initialize"><img src="https://agentmods.dev/badge/commands/javiarmesto/aldc-al-development-collection/al-initialize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,895 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.00028 $0.02895
Opus 5 $0.00014 $0.01448
Sonnet 5 $0.00006 $0.00579
Haiku 4.5 $0.00003 $0.00290

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

Security

Grade A, and why

al-initialize 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 9d 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/commands/al-initialize.md · 458 lines

How it starts

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

AL Environment Initialization

Your goal is to initialize the AL development environment and workspace for ${input:ProjectName}.

This workflow covers environment setup, AL workspace configuration, and ALDC rules injection into your project.

Phase 0: ALDC Rules Injection (Plugin Mode)

When ALDC is installed as a Claude Code plugin, path-scoped rules must be copied to the project's .claude/rules/ directory. This phase handles that automatically.

Rules Installation

Copy the following rule templates from the plugin's rules-templates/ directory to your project's .claude/rules/:

# Create project rules directory
mkdir -p .claude/rules

# Copy ALDC rule templates to project
cp "${CLAUDE_PLUGIN_ROOT}/rules-templates/"*.md .claude/rules/

Rules installed:

Rule Scope Purpose
al-guidelines.md **/*.al, **/*.json Core AL development principles
al-code-style.md **/*.al Code formatting and structure
al-naming-conventions.md **/*.al Consistent naming patterns
al-performance.md **/*.al Performance optimization
al-error-handling.md **/*.al Error handling and telemetry
al-events.md **/*.al Event-driven development
al-testing.md **/test/**/*.al Test implementation patterns
al-agent-toolkit.md **/*.al AI Development Toolkit patterns

CLAUDE.md Generation

Generate a project-level CLAUDE.md that references ALDC:

# ${input:ProjectName} — Claude Code Instructions

## Framework
This project uses **ALDC** (AL Development Collection) plugin for Claude Code.
All agents, skills, and workflows are available via the `aldc:` namespace.

## Quick Start
- `/aldc:al-spec-create` — Create specifications
- `/aldc:al-build` — Build extension
- `agent "aldc:al-architect"` — Architecture design
- `agent "aldc:al-developer"` — Implementation

## Project-Specific Notes
[Add your project-specific instructions here]

Read the full file on GitHub · 458 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. 9d ago First seen · 458 lines · 28 tokens per session scan A e38253e85bcd

Subscribe to this mod's changes

al-initialize is a command published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (103 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 2,895 once invoked, about $0.0001 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.