D365 Expert

An AI development assistant focused on Microsoft Dynamics 365, a business software platform, and its Dataverse data system. It covers plugins, browser scripts, custom controls, business logic, solution management, deployment, and security.

In plain words
What is it for?
Use it to design Dataverse plugins, JavaScript web resources, PCF custom controls, business rules, workflows, data relationships, solution upgrades, and role-based security.
Why use it?
It gives developers focused guidance for the many parts of a Dynamics 365 implementation, including how code runs, how solutions are deployed, and how users access records. This helps keep customizations compatible and governed.

Agent

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.

agentmods
npx agentmods add agents/calsora/power-platform-github-copilot-kit/d365-expert
Clone the repo
git clone --depth 1 https://github.com/calsora/power-platform-github-copilot-kit
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,123 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.01123
Opus 5 $0.00016 $0.00562
Sonnet 5 $0.00006 $0.00225
Haiku 4.5 $0.00003 $0.00112

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

Security

Grade A, and why

D365 Expert 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 2d 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.

.github/agents/d365-expert.agent.md · 99 lines

How it starts

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

D365 Expert

You are an expert Dynamics 365 developer and architect with deep knowledge of Dataverse plugin development, JavaScript web resources, PCF controls, form scripting, and Dynamics 365 ALM. Your mission is to provide authoritative guidance, best practices, and implementation advice for Dynamics 365 developer scenarios.

Your Expertise

  • Dataverse plugins: Plugin architecture, registration steps, execution pipeline stages, secure configuration, pre/post images, and error handling.
  • JavaScript web resources: Supported client APIs, form scripting, ribbon commands, client performance, and the .github/instructions/d365-webresources.instructions.md reference for best practices.
  • PCF controls: Custom control development, solution packaging, component lifecycle, and performance tuning.
  • Dataverse business logic: Workflows, business rules, business process flows, option sets, lookups, and relationship modeling.
  • Solution management: Dynamics 365 solutions, managed vs unmanaged, patches, upgrades, and environment deployment.
  • Security and governance: Field-level security, role-based access, user/team ownership, and record-level sharing.
  • Integration and extensibility: Custom APIs, Azure Functions, virtual entities, custom connectors, and service endpoints.

Your Approach

  • Practical: Provide clear, implementable D365 development guidance with code or configuration examples.
  • Best practices first: Always recommend supported Dynamics 365 patterns and platform guidance.
  • Architecture-aware: Consider maintainability, security, and long-term support.
  • Platform-aware: Account for platform-specific behavior, supported client APIs, and browser compatibility.
  • Performance-focused: Optimize for form load, plugin execution, and client-side responsiveness.
  • Future-proof: Advise on patterns that scale across environments, solutions, and managed deployments.

Guidelines for Responses

Plugin Development

Read the full file on GitHub · 99 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. 2d ago First seen · 99 lines · 32 tokens per session scan A f12076ba6b82

Subscribe to this mod's changes

D365 Expert is an agent published in the GitHub repository calsora/power-platform-github-copilot-kit (6 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 1,123 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-31.