dataverse-web-api

dataverse-web-api is a skill for Claude Code from korchard333/claude-power-platform-community. It costs 55 tokens per session (2,903 once invoked), scanned A, original, MIT.

A reference for the Dataverse Web API, an HTTP interface for reading and changing Dataverse data, tables, columns, relationships, forms, views, and solutions.

In plain words
What is it for?
Use it for CRUD operations, OData and FetchXML queries, batch requests, metadata creation, Custom APIs, file and image columns, change tracking, and solution management.
Why use it?
It provides the required request details for programmatic changes and helps prevent common errors when creating schema components or sending queries and bulk operations.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it for CRUD operations, OData and FetchXML queries, batch requests, metadata creation, Custom APIs, file and image columns, change tracking, and solution management.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/korchard333/claude-power-platform-community/dataverse-web-api
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 korchard333/claude-power-platform-community --skill dataverse-web-api
Clone the repo
git clone --depth 1 https://github.com/korchard333/claude-power-platform-community

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 dataverse-web-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/korchard333/claude-power-platform-community/dataverse-web-api.svg)](https://agentmods.dev/skills/korchard333/claude-power-platform-community/dataverse-web-api)
Your own site
<a href="https://agentmods.dev/skills/korchard333/claude-power-platform-community/dataverse-web-api"><img src="https://agentmods.dev/badge/skills/korchard333/claude-power-platform-community/dataverse-web-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,903 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00055 $0.02903
Opus 5 $0.00028 $0.01452
Sonnet 5 $0.00011 $0.00581
Haiku 4.5 $0.00006 $0.00290

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

Security

Grade A, and why

dataverse-web-api scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

TOKEN=$(curl -s -X POST "https://login.microsoftonline.com/${TENANT_ID}/oauth2/v2.0/token" \
.claude/skills/dataverse-web-api/SKILL.md · 214 lines

How it starts

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

Skill: Dataverse Web API

When to Use

Trigger when performing CRUD operations, managing metadata (tables, columns, relationships, views, forms), creating Custom APIs, managing solutions, or any direct HTTP interaction with the Dataverse Web API (OData v4.0).


CRITICAL RULES

1. Always Use MSCRM.SolutionUniqueName Header

Every component-creating request MUST include:

MSCRM.SolutionUniqueName: YourSolutionName

WHY: Omitting this header dumps components into the Default Solution — an ALM anti-pattern that makes the component nearly impossible to manage via solution transport. This is the single most common mistake when building via Web API.

2. @odata.type Is Required on All Column/Attribute Creation

Every column creation payload MUST include the correct @odata.type:

{ "@odata.type": "Microsoft.Dynamics.CRM.StringAttributeMetadata", ... }

WHY: Omitting or using the wrong type returns a 400 error. The API cannot infer the column type.

3. Every Table Needs a Primary Name Column

Every custom table MUST have exactly one StringAttributeMetadata with IsPrimaryName: true included in the table creation payload. WHY: Without it, the table is created but lookups, views, and forms cannot display a name.

4. Publish After Customization Changes

After creating/modifying forms, views, sitemaps, or business rules, you MUST call:

POST /api/data/v9.2/PublishXml

WHY: Customizations are not visible to users until published. Schema changes (tables, columns) are immediately effective, but UI customizations require publishing.

5. FormXml and FetchXml Must Stay in Sync

Every attribute in a view's layoutxml MUST also appear in the fetchxml. WHY: Missing attributes in fetchxml cause blank columns in the view.

6. Authentication: Use Azure CLI

az account get-access-token \
  --resource "https://[org].crm6.dynamics.com/" \
  --tenant "[tenant-id]" \
  --query accessToken -o tsv

Do NOT use pac auth token (does not exist as a command). For CI/CD, use service principal OAuth2 client_credentials flow.

Read the full file on GitHub · 214 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. 8d ago First seen · 214 lines · 55 tokens per session scan A 280d8d733d6b

Subscribe to this mod's changes

dataverse-web-api is a skill published in the GitHub repository korchard333/claude-power-platform-community (46 stars, last pushed 5mo ago), licensed MIT. It adds 55 tokens to every session and 2,903 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

convex-explain-app

Explain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the schema and function surface. Read-only.

openclaw/clawhub · 47 tokens

platform-custom-field-generate

Use this skill when users need to create, generate, or validate Salesforce Custom Field metadata. Trigger when users mention custom fields, field types, Roll-up Summary fields, Master-Detail relationships, Lookup relationships, formula fields, picklists, dependent (controlling) picklists, referencing a value set from…

forcedotcom/sf-skills · 194 tokens

openloomi-api

OpenLoomi ships a local-first HTTP API served from the desktop app (port 3414, fallback 3515). All auth, Memory, AI, RAG, Loop, and Audit data live in a local SQLite database — your data stays on your machine and the OpenLoomi app is the source of truth. The only externally-routed auth path is the Composio OAuth…

melandlabs/openloomi · 106 tokens

nornicdb-grpc

Drive NornicDB over gRPC — the Qdrant-compatible surface (Collections, Points, Snapshots) plus the additive NornicSearch service. Use when ingesting via Qdrant SDKs, migrating from Qdrant, or running hybrid text+vector search from a non-Bolt client. Covers connection, RPC catalog, collection→database mapping…

orneryd/NornicDB · 98 tokens

field-service-sobject-create-configure

Headless 360 REST API deployment step for creating sObject records. Handles describe-based field discovery, required-field derivation, entity-relationship ordering, and composite graph transactions. Use this skill when a designer skill (or a user directly) needs to create sObject records after design confirmation…

forcedotcom/sf-skills · 74 tokens