Application credential hygiene

Application credential hygiene is a skill for Claude Code, Codex from zmustafa/AzureSupportAgent. It costs 26 tokens per session (181 once invoked), scanned A, original, MIT.

A skill for checking application registrations and service principals, which are identities that software uses to access Microsoft services. It reviews owners, permissions, secrets, certificates, and expiry risk.

In plain words
What is it for?
Use it to review application ownership and credentials, distinguish delegated from application permissions, and recommend rotation, ownership, or permission changes.
Why use it?
It separates related identity objects and helps find credentials that are expired, soon to expire, over-privileged, or missing owners.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review application ownership and credentials, distinguish delegated from application permissions, and recommend rotation, ownership, or permission changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zmustafa/azuresupportagent/application-credential-hygiene
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 zmustafa/AzureSupportAgent --skill application-credential-hygiene
Clone the repo
git clone --depth 1 https://github.com/zmustafa/AzureSupportAgent

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 Application credential hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/zmustafa/azuresupportagent/application-credential-hygiene/github.svg)](https://agentmods.dev/skills/zmustafa/azuresupportagent/application-credential-hygiene)
Your own site
<a href="https://agentmods.dev/skills/zmustafa/azuresupportagent/application-credential-hygiene"><img src="https://agentmods.dev/badge/skills/zmustafa/azuresupportagent/application-credential-hygiene/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 Application credential hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/zmustafa/azuresupportagent/application-credential-hygiene"><img src="https://agentmods.dev/badge/skills/zmustafa/azuresupportagent/application-credential-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 181 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.00026 $0.00181
Opus 5 $0.00013 $0.00090
Sonnet 5 $0.00005 $0.00036
Haiku 4.5 $0.00003 $0.00018

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

Security

Grade A, and why

Application credential hygiene 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 10d 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.

backend/app/agent/skills/application-credential-hygiene/SKILL.md · 16 lines

What it actually says

Application credential hygiene

  1. Resolve both the application registration and corresponding service principal when present.
  2. Inventory secrets and certificates with expiration, owner coverage, and sign-in audience.
  3. Separate delegated permissions from application permissions and flag high-impact Graph application roles.
  4. Identify ownerless applications and credentials that are expired or approaching expiry.
  5. Treat Microsoft-managed and managed-identity service principals according to platform ownership rules.
  6. State whether evidence came from live Graph, cache, or a capped inventory.
  7. Recommend rotation, owner assignment, permission reduction, and workload validation; never delete or rotate credentials without an explicit approved write.
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. 10d ago First seen · 16 lines · 26 tokens per session scan A 906d63bafc6f

Subscribe to this mod's changes

Application credential hygiene is a skill published in the GitHub repository zmustafa/AzureSupportAgent (45 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 181 once invoked, about $0.0001 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

adding-azure-communication-services-email

Adds transactional email to an Azure web app via Azure Communication Services (ACS) Email — verification emails, password resets, notifications. Encodes the three ACS quirks that consistently break Bicep deploys (location:'global' literal, dataLocation in plain English not Azure region IDs, declare-order to avoid…

alexpizarro/azure-lean-stack-skills · 113 tokens

deploying-fc1-flex-consumption-functions

Deploys standalone Azure Function Apps on Flex Consumption (FC1) for workloads SWA managed functions can't handle — timer triggers, queue triggers, AI workloads, long-running operations. Provisions via ARM REST API or Bicep because az CLI flags silently fall back to deprecated Y1/Dynamic. Includes the…

alexpizarro/azure-lean-stack-skills · 126 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens