CodeAppsDevelopmentStandard: Skill for Claude Code

.github/skills/custom-connector/SKILL.md

custom-connector is a skill for Claude Code, Codex from geekfujiwara/CodeAppsDevelopmentStandard. It costs 202 tokens per session (3,535 once invoked), scanned A, original, MIT.

A workflow for turning an API protected by Microsoft Entra ID into a Power Platform custom connector. A custom connector lets apps such as Code Apps, Power Automate, and Copilot Studio call that API using the signed-in user's permissions.

In plain words
What is it for?
Use it to connect an Azure Function or other Entra-protected API to Power Platform, test calls, and add the connector to Code Apps.
Why use it?
It handles connector setup, user-authorised connections, connection references, API checks, and adding the data source without requiring ordinary browser操作 for the main path.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

This is geekfujiwara/CodeAppsDevelopmentStandard's own configuration. It tells Claude Code and Codex how to work on CodeAppsDevelopmentStandard itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CodeAppsDevelopmentStandard configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .github/skills/mcp-server/scripts/configure_entra_api.py # スコープ公開 + CLI の事前承認.

Reuse

Borrowing it

Nothing to install: this file belongs to geekfujiwara/CodeAppsDevelopmentStandard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/geekfujiwara/CodeAppsDevelopmentStandard/main/.github/skills/custom-connector/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/geekfujiwara/CodeAppsDevelopmentStandard

Made for: Claude Code, Codex.

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 custom-connector

README.md
[![agentmods](https://agentmods.dev/badge/skills/geekfujiwara/codeappsdevelopmentstandard/custom-connector/github.svg)](https://agentmods.dev/skills/geekfujiwara/codeappsdevelopmentstandard/custom-connector)
Your own site
<a href="https://agentmods.dev/skills/geekfujiwara/codeappsdevelopmentstandard/custom-connector"><img src="https://agentmods.dev/badge/skills/geekfujiwara/codeappsdevelopmentstandard/custom-connector/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 custom-connector

Your own site · 80×15
<a href="https://agentmods.dev/skills/geekfujiwara/codeappsdevelopmentstandard/custom-connector"><img src="https://agentmods.dev/badge/skills/geekfujiwara/codeappsdevelopmentstandard/custom-connector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 202 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,535 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.00202 $0.03535
Opus 5.5 $0.00081 $0.01414
Sonnet 5.5 $0.00040 $0.00707
Haiku 4.5 $0.00020 $0.00353

Measured 17d ago against content hash 6196aec62307, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

custom-connector 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 17d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/create_connection.py, scripts/deploy_connector.py, tests/test_custom_connector.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/custom-connector/SKILL.md · 181 lines

How it starts

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

カスタム コネクタ作成スキル

自前の API(Azure Functions 等。Entra ID で保護)を、Code Apps・Power Automate・Copilot Studio から 利用者本人の権限で呼べるカスタム コネクタにする。正常系はブラウザ操作なしで、コネクタ作成から 接続・接続参照・API 呼び出しの確認まで終わる(on-behalf-of ログイン)。

Entra API アプリ(スコープ公開 + Graph User.Read + シークレット + Azure API Connections の事前承認)
   └─ カスタム コネクタ(OpenAPI + OAuth: aad + on-behalf-of)── 接続(利用者ごと)── 接続参照 ── Code Apps のデータソース
段階 方法 公開 API
コネクタの作成・更新 pac connector create / update + ランタイム側の読み戻し あり
接続の作成(on-behalf-of) 画面の要求を観測した Power Platform API(createoboconnection) 無い(観測 contract)
接続参照のバインド Dataverse Web API あり
操作の呼び出し確認 コネクタのランタイム URL(Code Apps を介さない) あり
データソース追加 pa app add data-source あり

リファレンス: 観測 contract / 異常系・ブラウザで作る方法 / 公開サイト(認証なし) / パラメータ

Step 0: 事前確認(会話の最初に 1 回だけ)

standard の共通契約に加え、1 回の AskUserQuestion で確認する。

# 質問 合格条件
1 対象の環境・ソリューション・API のホスト名 ENV_ID / DATAVERSE_URL / SOLUTION_NAME と API のホストが決まっている
2 Entra アプリ登録とシークレット発行の担当者 アプリ登録の作成・更新権限がある。シークレットの保存先(.secrets/、Git 除外)を合意
3 接続の所有者(誰の権限で API を呼ぶか) スクリプトを実行するサインイン ユーザーが所有者になる。別の人が所有者なら、その人が実行する
4 同じ Entra アプリを使う既存コネクタ 同じ環境で同じ API アプリに on-behalf-of を有効にできるコネクタは 1 つだけ。検証用の複製は作らない
5 DLP の分類 API のホストをどのグループ(Business / Non-business)に入れるか、変更の承認者

Step 1: Entra API アプリを用意する

mcp-server のスクリプトを使う。スコープの表示名は同意画面にそのまま出るので、用途に合わせて .env で指定する。

python .github/skills/mcp-server/scripts/configure_entra_api.py            # スコープ公開 + CLI の事前承認
python .github/skills/mcp-server/scripts/configure_connector_oauth.py --audience api://<app-id> --scope <scope> --secret-out .secrets/<name>.json

2 本目はリダイレクト URI、自分自身のスコープ、Graph の User.Read(無いと同意が AADSTS90008)、シークレットに加え、 Azure API Connections(fe053c5f-3692-4f14-aef2-ee34fc081cae)をスコープの事前承認クライアントに追加する。 これが on-behalf-of で同意画面を出さない条件になる(使わないなら --no-obo)。

Read the full file on GitHub · 181 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. 17d ago Changed · -1 lines 6196aec62307
  2. 29d ago Changed · +8 lines · +44 tokens per session 840153d5537c
  3. 1mo ago First seen · 174 lines · 158 tokens per session scan A ece36ee29042

Subscribe to this mod's changes

custom-connector is a skill published in the GitHub repository geekfujiwara/CodeAppsDevelopmentStandard (78 stars, last pushed yesterday), licensed MIT. It adds 202 tokens to every session and 3,535 once invoked, about $0.0008 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-10-03.

Related

custom-connector compared with skills from other repositories

custom-connector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
custom-connectorgeekfujiwara/CodeAppsDevelopmentStandardSkill78yesterdayMITA202Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill68k2d agoApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0kyesterdayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill5032d agoMITA105Claude Code, Codex
migrate-segw-to-raparc-mcp/arc-1Skill252yesterdayMITA106Claude Code