skill-permissions

skill-permissions is a skill for Claude Code from javiarmesto/ALDC-AL-Development-Collection. It costs 32 tokens per session (2,452 once invoked), scanned A, original, MIT.

A guide to designing permission sets in Business Central, which control what users and extensions may read, create, change, or delete.

In plain words
What is it for?
Use it to create AL or XML permission sets, extend existing permissions, design role-based access, and review security.
Why use it?
It helps limit access to only what each role needs and diagnose permission errors in extensions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to create AL or XML permission sets, extend existing permissions, design role-based access, and review security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/javiarmesto/aldc-al-development-collection/skill-permissions
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.

Any agent
npx skills add javiarmesto/ALDC-AL-Development-Collection --skill skill-permissions
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 skill-permissions

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/javiarmesto/aldc-al-development-collection/skill-permissions"><img src="https://agentmods.dev/badge/skills/javiarmesto/aldc-al-development-collection/skill-permissions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,452 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00032 $0.02452
Opus 5 $0.00016 $0.01226
Sonnet 5 $0.00006 $0.00490
Haiku 4.5 $0.00003 $0.00245

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

Security

Grade A, and why

skill-permissions 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 11d 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/skills/skill-permissions/SKILL.md · 274 lines

How it starts

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

Skill: AL Permission Management

Purpose

Generate and manage permission sets for AL Business Central extensions following the principle of least privilege: role-based permission design, AL vs XML formats, permission set extensions, and security validation.

When to Load

This skill should be loaded when:

  • A new extension needs its permission sets generated
  • Permission errors surface at runtime ("You do not have permission to…")
  • Role-based access control is being designed for an extension
  • A security or compliance review requires permission documentation
  • Permission set extensions need to be created for base-app objects

Core Patterns

Pattern 1: AL Permission Set Object (Preferred)

Write the permissionset object as AL code with Write/Edit (in VS Code, AL: Generate permission set scaffolds one for a human to start from), then refine:

permissionset 50100 "Contoso Sales"
{
    Assignable = true;
    Caption = 'Contoso Sales Permissions';

    Permissions =
        // Tables — object-level execute
        table "Contoso Sales Setup" = X,
        table "Contoso Discount Rule" = X,
        // Table data — RIMD granularity
        tabledata "Contoso Sales Setup" = R,          // read-only for most users
        tabledata "Contoso Discount Rule" = RIMD,     // full CRUD
        // Executable objects
        codeunit "Contoso Sales Management" = X,
        page "Contoso Sales Setup Card" = X,
        page "Contoso Discount Rules List" = X,
        report "Contoso Sales Summary" = X,
        xmlport "Contoso Sales Import" = X;
}

Permission letters for tabledata:

Letter Meaning Grant when…
R Read User needs to view data
I Insert User needs to create records
M Modify User needs to edit existing records
D Delete User needs to remove records (grant sparingly)

For non-tabledata objects (table, codeunit, page, report, xmlport, query):

  • X = Execute / Run
  • 0 = No permission (omit the line instead)

Read the full file on GitHub · 274 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. 11d ago First seen · 274 lines · 32 tokens per session scan A 2603ea682447

Subscribe to this mod's changes

skill-permissions is a skill published in the GitHub repository javiarmesto/ALDC-AL-Development-Collection (104 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 2,452 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

android-data-persistence

Use when implementing local data storage with Room, DataStore, or offline-first patterns. Covers entities, DAOs, migrations, Paging3, and the repository pattern for data management.

GuillemRoca/agent-skills-android · 41 tokens

android-device-testing

Use when writing or debugging instrumented tests (Espresso, UI Automator, Compose test rules), using ADB, managing emulators, or inspecting UI with Layout Inspector.

GuillemRoca/agent-skills-android · 39 tokens

ci-cd-and-automation

Use when setting up or improving CI/CD pipelines for Android. Covers sequential quality gates, Gradle caching, emulator testing in CI, feature flags, and automated deployment to Play Store.

GuillemRoca/agent-skills-android · 43 tokens

security-and-hardening

Use when handling sensitive data, authentication, network communication, or before shipping to the Play Store. Three-tier framework (Always Do, Ask First, Never Do) with Android-specific security patterns.

GuillemRoca/agent-skills-android · 43 tokens

api-and-interface-design

Use when designing interfaces between layers (Repository, UseCase, API client) or defining data contracts. Covers Retrofit interfaces, Room DAOs, Kotlin sealed classes, and backward compatibility.

GuillemRoca/agent-skills-android · 41 tokens

deprecation-and-migration

Use when deprecating APIs, bumping minSdk, migrating libraries (AndroidX, Compose, Kotlin versions), or removing legacy code. Covers Kotlin @Deprecated annotation, strangler pattern, and incremental migration.

GuillemRoca/agent-skills-android · 48 tokens