Official agent skill

Run Al Code Analysis

by microsoft in microsoft/AL

Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool.

OfficialMITAuto-check passed

Install Run Al Code Analysis

skills CLI
$ npx skills add microsoft/AL --skill run-al-code-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/AL run-al-code-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/AL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/run-al-code-analysis .claude/skills/run-al-code-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
run-al-code-analysis
GitHub stars
884
Token cost
~302 tokens
SKILL.md length
88 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool.

  • Works in 6 steps: Invoke verify-prerelease-altool. → Invoke download-al-symbols when the… → Create a temporary .code-workspace through → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Run Al Code Analysis is an agent skill from microsoft/AL, published by the product's own GitHub organization. Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool.

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools… The licence is MIT.

Example prompts

  • “/run-al-code-analysis”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Invoke verify-prerelease-altool.
  2. Invoke download-al-symbols when the project has symbol references.
  3. Create a temporary .code-workspace through
  4. Run the requested analyzer with ALTool workspace compile
  5. Preserve the exact diagnostics and exit code. A missing analyzer, ruleset, or symbol package is an
  6. Exercise both the reported case and the nearest valid control case when feasible.

What it can do on your machine

Read from SKILL.md and the folder at commit 872adad. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are powershell).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Run Al Code Analysis loads about 302 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 88 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~302

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/AL at commit 872adad, republished under its MIT licence (© microsoft). 88 words, ~302 tokens.

Download SKILL.mdSave it as .claude/skills/run-al-code-analysis/SKILL.md (or your agent's skills folder).
name
run-al-code-analysis
description
Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool.
argument-hint
<project-folder> <analyzer>
  1. Invoke verify-prerelease-altool.
  2. Invoke download-al-symbols when the project has symbol references.
  3. Create a temporary .code-workspace through:
    powershell
    & $env:ALTOOL_PATH workspace create $workspaceFile $projectPath
  4. Run the requested analyzer with ALTool workspace compile:
    powershell
    & $env:ALTOOL_PATH workspace compile $workspaceFile `
        --packagecachepath (Join-Path $projectPath '.alpackages') `
        --analyzers PTECop `
        --outfolder $outputFolder `
        --errorlogdirectory $errorLogFolder
    Select only the reported analyzer from AppSourceCop, CodeCop, PTECop, or UICop. Use --ruleset when the issue supplies one. Never invoke alc.exe.
  5. Preserve the exact diagnostics and exit code. A missing analyzer, ruleset, or symbol package is an inconclusive setup failure, not evidence that no diagnostic exists.
  6. Exercise both the reported case and the nearest valid control case when feasible.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/run-al-code-analysis of microsoft/AL.

Open the folder on GitHubat commit 872adad

Compare with similar skills

Run Al Code Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Run Al Code Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Run Al Code Analysis this skillmicrosoft/AL884—~302Automated safety check: PassMIT
Temporary Id Safe Outputgithub/gh-aw5.3k—~1.9kAutomated safety check: PassMIT
Cloudflare Temporary DeployLuciole-Studio/Misaka-Agent1252 repos~1.9kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
LazyCodex Bug Fix Contributioncode-yeongyu/oh-my-openagent70k—~2.8kAutomated safety check: PassCustom licence
Claimable Postgressickn33/agentic-awesome-skills47k1 repos~3.2kAutomated safety check: NotesApache-2.0

Similar skills

  • Official

    Add temporary ID support to safe-output jobs end to end. An agent skill from github/gh-aw.

    5.3k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Cloudflare Temporary Deploy

    Luciole-Studio/Misaka-Agent

    Deploy a Worker live, no account, via wrangler --temporary. An agent skill from Luciole-Studio/Misaka-Agent.

    125 GitHub starsUsed in 2 repos~1.9k tokens
    DevOps & CloudAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • LazyCodex Bug Fix Contribution

    code-yeongyu/oh-my-openagent

    Debugs a concrete LazyCodex or upstream Codex defect, builds the smallest verified fix in a fresh temporary workspace, and routes the deliverable to the right repository and format.

    70k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Claimable Postgres

    sickn33/agentic-awesome-skills

    Provision instant temporary Postgres databases via Claimable Postgres by Neon (neon.new) with no login, signup, or credit card.

    47k GitHub starsUsed in 1 repo~3.2k tokens
    Backend & APIsAuto-check: notes
  • Unship

    sickn33/agentic-awesome-skills

    Compare AI agent-made UI variants locally in a real app, then keep one and clean up unused temporary code.

    47k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed

More from microsoft/AL

All 9 skills in this repo
  • Official

    Downloads exact Business Central symbol packages for a temporary AL reproduction project through the installed prerelease ALTool.

    884 GitHub stars~273 tokensUpdated 21 days ago
    Auto-check passed
  • Publish Al App

    microsoft/AL

    Official

    Publishes one compiled AL app to the provisioned BCInsider sandbox through the public prerelease ALTool.

    884 GitHub stars~221 tokensUpdated 21 days ago
    Auto-check passed
  • Run Al MCP Tool

    microsoft/AL

    Official

    Invokes one safe AL MCP tooling operation through the workflow-installed prerelease ALTool for independent reproduction of MCP and editor-tooling issues.

    884 GitHub stars~310 tokensUpdated 21 days ago
    Auto-check passed
  • Run Al Tests

    microsoft/AL

    Official

    Runs a published AL test codeunit against the provisioned BCInsider sandbox through the public prerelease ALTool.

    884 GitHub stars~208 tokensUpdated 21 days ago
    Auto-check passed
  • Compile Al App

    microsoft/AL

    Official

    Compiles a temporary AL project through the workflow-installed public prerelease ALTool and verifies that a fresh app package was emitted.

    884 GitHub stars~164 tokensUpdated 21 days ago
    Auto-check passed
  • Verify Al E2E

    microsoft/AL

    Official

    Orchestrates the smallest production-path AL reproduction through the workflow-installed public prerelease ALTool and BCInsider sandbox.

    884 GitHub stars~241 tokensUpdated 21 days ago
    Auto-check passed

Questions about Run Al Code Analysis

What does Run Al Code Analysis do?

Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool. Run Al Code Analysis is an agent skill from microsoft/AL, published by the product's own GitHub organization. Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool.

How do I install Run Al Code Analysis in Claude Code?

Run `npx skills add microsoft/AL --skill run-al-code-analysis -a claude-code`. Or copy the skill folder (.github/skills/run-al-code-analysis in microsoft/AL) into .claude/skills/run-al-code-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Run Al Code Analysis in Codex?

Run `npx skills add microsoft/AL --skill run-al-code-analysis -a codex`. Or copy the skill folder (.github/skills/run-al-code-analysis in microsoft/AL) into .agents/skills/run-al-code-analysis in your project. Codex loads it when a task matches its description.

Can I use Run Al Code Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/AL --skill run-al-code-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/run-al-code-analysis, .gemini/skills/run-al-code-analysis, .github/skills/run-al-code-analysis and .opencode/skills/run-al-code-analysis in your project.

What does Run Al Code Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Run Al Code Analysis is instructions for the agent only.

Does Run Al Code Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Run Al Code Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Run Al Code Analysis use?

Run Al Code Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Run Al Code Analysis use?

About 302 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Run Al Code Analysis?

Skills that share tags, products or a category with Run Al Code Analysis: Temporary Id Safe Output (github/gh-aw, 5.3k stars), Cloudflare Temporary Deploy (Luciole-Studio/Misaka-Agent, 125 stars), PR Design Doc (OpenHands/OpenHands, 90k stars) and LazyCodex Bug Fix Contribution (code-yeongyu/oh-my-openagent, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Run Al Code Analysis?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/AL, which has 884 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 16, 2026.

Source: microsoft/AL on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.