dataverse

A guide to designing and building Dataverse tables, which store structured business data for Microsoft Power Platform applications.

In plain words
What is it for?
Use it to set up a Dataverse data layer, define tables and relationships, add demo data, or configure access roles with Python scripts.
Why use it?
It gathers the steps for creating solutions, relationships, localized fields, sample records, and security roles, including authentication and troubleshooting guidance.

Skill for Claude CodeCodex

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 skills/geekfujiwara/codeappsdevelopmentstandard/dataverse
Any agent
npx skills add geekfujiwara/CodeAppsDevelopmentStandard --skill dataverse
Clone the repo
git clone --depth 1 https://github.com/geekfujiwara/CodeAppsDevelopmentStandard

Made for: Claude Code, Codex.

Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,229 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.00065 $0.07229
Opus 5 $0.00032 $0.03615
Sonnet 5 $0.00013 $0.01446
Haiku 4.5 $0.00006 $0.00723

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

Security

Grade A, and why

dataverse 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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/deploy_security_role.py, scripts/scan_environment.py, scripts/setup_dataverse.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/dataverse/SKILL.md · 400 lines

How it starts

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

Dataverse テーブル設計・構築・セキュリティロールスキル

Dataverse のソリューション・テーブル・リレーション・ローカライズ・デモデータ・セキュリティロールを Python スクリプト で一括構築する。

サブリファレンス(必要に応じて参照)

リファレンス 内容
Dataverse 統合ガイド CRUD・Lookup・Choice・システム列・標準テーブル再利用ガイド・トラブルシューティング
セキュリティロール カスタムセキュリティロールの作成・権限設定パターン
セキュリティロールデプロイリファレンス セキュリティロールのデプロイ手順詳細
セキュリティロールトラブルシューティング セキュリティロール関連のトラブルシューティング

このスキルの位置づけ: アーキテクチャ設計(architecture)で Dataverse 利用が確定した後、テーブル設計→構築を担当する。Code Apps / Generative Pages / Power Automate / Copilot Studio のいずれを使う場合でも、データ層はこのスキルで構築する。

前提

共通認証: auth_helper.py

認証ヘルパーは standard スキルに同梱(.github/skills/standard/scripts/auth_helper.py)。 各スキルの Python スクリプトは sys.path../../standard/scripts を追加して import するため、コピー不要。 2 層キャッシュ(AuthenticationRecord + MSAL OS 資格情報ストア)によりデバイスコード認証は初回のみ。

コピー元: .github/skills/standard/scripts/auth_helper.py

auth_helper.py 公開 API
関数 戻り値 説明
api_get(path) dict GET。パス文字列のみ(api_get("url", {"$filter": ...})不可。クエリパラメータは URL に直接埋め込む)
api_post(path, body, solution=) str | None POST。作成レコードの ID を返す。solution=SOLUTION_NAME でソリューションヘッダー付与
api_patch(path, body) None PATCH
api_delete(path) None DELETE
api_request(path, body, method="PUT") None PUT + MSCRM.MergeLabels: true ヘッダー自動付与。ローカライズ用
retry_metadata(fn, desc, max=5) any | None メタデータロック(0x80040237)・重複(already exists)検出リトライ。既存スキップ対応
get_token(scope=) str アクセストークン。省略時は {DATAVERSE_URL}/.default
flow_api_call(method, path, body) dict Flow Management API 用。自動的に service.flow.microsoft.com スコープで認証

重要: api_get()dict を直接返す。.json() を呼ぶとエラー。

.env 共通パラメータ

DATAVERSE_URL=https://{org}.crm7.dynamics.com/
TENANT_ID={your-tenant-id}
SOLUTION_NAME={YourSolutionName}
PUBLISHER_PREFIX={prefix}
SOLUTION_DISPLAY_NAME={日本語表示名}   # ソリューション作成後に自動保存される

Read the full file on GitHub · 400 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 · 400 lines · 65 tokens per session scan A 1012a04644ad

Subscribe to this mod's changes

dataverse is a skill published in the GitHub repository geekfujiwara/CodeAppsDevelopmentStandard (59 stars, last pushed 5d ago), licensed MIT. It adds 65 tokens to every session and 7,229 once invoked, about $0.0003 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.