al-agent-task

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

A workflow that generates AL code for connecting a Business Central agent to tasks. It can produce codeunits, page extensions, and event subscribers using the Agent SDK's available runtime APIs.

In plain words
What is it for?
Use it to implement task integration for a Business Central agent, including the code that connects tasks, pages, and events.
Why use it?
It reduces the manual work of wiring an agent into Business Central and helps keep the generated code within the supported API surface.

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 implement task integration for a Business Central agent, including the code that connects tasks, pages, and events.

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-task

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/javiarmesto/aldc-al-development-collection/al-agent-task"><img src="https://agentmods.dev/badge/skills/javiarmesto/aldc-al-development-collection/al-agent-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 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.00060 $0.00874
Opus 5.5 $0.00024 $0.00350
Sonnet 5.5 $0.00012 $0.00175
Haiku 4.5 $0.00006 $0.00087

Measured 13d ago against content hash bf93e15196a7, 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-task 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-task/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 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: Generate Agent Task Integration Code

Generates production-ready AL code for agent task integration. This prompt does not contain pattern knowledge — it applies the patterns from skill-agent-task-patterns.

Load skill first: skill-agent-task-patterns (8 patterns A–H, SDK codeunits, API availability matrix, OnPrem-only restrictions, workarounds).

Step 1 — Gather context

Before generating code, determine:

  1. Agent name and prefix — read from app.json or ask the developer
  2. Object ID range — check existing objects in app/ for the next available IDs
  3. Which pattern(s) — ask or infer from the request:
    • "I need a Public API" → Pattern A
    • "Add a button to send work to the agent" → Pattern B (calls A)
    • "Trigger agent on posting/releasing" → Pattern C (calls A)
    • "Agent needs to process files" → Pattern D (combine with A/B/C)
    • "Continue an existing task" → Pattern E (verify AddToTask availability against the matrix)
    • "Run code only in agent context" → Pattern G/H
    • "Force human review" → Warning annotation workaround (matrix: SetRequiresReview OnPrem-only)
  4. ExternalId format — convention {PREFIX}-{No.} (e.g. LEAD-001, SO-1001)
  5. Target page/table — which page extension or event subscriber is needed?

Step 2 — Verify availability

Before writing any code, check each method against the API Availability Matrix in skill-agent-task-patterns. Any method marked OnPrem-only or "Not in 17.0" requires the documented workaround.

Step 3 — Generate code

For each requested pattern:

  1. Search the codebase for existing agent objects (Setup table, Public API, enums) to reuse
  2. Generate AL objects following the pattern from the skill, substituting:
    • {Agent} → actual agent name/prefix
    • {id} → actual object IDs
    • Record names, field names, enum values → actual project values
  3. Place files in the correct folder of the project structure:
    • Public API + Impl → app/Example/
    • Page extensions → app/Example/
    • Session events → app/Setup/TaskExecution/
  4. Verify generated code references correct enum values and codeunit names

Read the full file on GitHub · 75 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 bf93e15196a7
  2. 2mo ago Changed · +1 lines 29af07a3e240
  3. 2mo ago First seen · 103 lines · 60 tokens per session scan A 2fdbf6b3cbc5

Subscribe to this mod's changes

al-agent-task is a skill published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (115 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 874 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-task compared with skills from other repositories

al-agent-task next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
al-agent-taskjaviarmesto/ALDC-AL-Development-CollectionSkill115yesterdayMITA60Claude Code
api-and-interface-designGuillemRoca/agent-skills-androidSkill71mo agoMITA51Claude Code
benchling-integrationMarieLynneBlock/arcanum-artifexSkill52mo agononeA44Claude Code, Codex
api-designMarieLynneBlock/arcanum-artifexSkill52mo agononeA19Claude Code, Codex
openapi-to-application-codeMarieLynneBlock/arcanum-artifexSkill52mo agononeA19Claude Code, Codex
adaptyvMarieLynneBlock/arcanum-artifexSkill52mo agononeA96Claude Code, Codex
agent-crdt-synchronizerruvnet/rufloSkill83ktodayMITA25Claude Code