agentleFS
Microsoft AzureKnown publisherAzure/azure-functions-skills/starter/functions/skills/azure-functions-health-status/SKILL.md

azure-functions-health-status

Skill22 starsChanged 13 days agoMITView on GitHub

Use when investigating current Azure Functions app status and health: Running/Stopped state, Resource Health, plan status, Azure Monitor metrics, Application Insights/Log Analytics requests, failures, exceptions, traces, dependencies, and recent Activity Log. Do not use for static inventory-only requests.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to investigate the current status and health of an existing Azure Function App.

    line 9
  2. Distinctive:

    Write final answers in the user's language.

    line 11
  3. Distinctive:

    Ask only for missing inputs that are needed to identify the app and time window:

    line 15
  4. Distinctive:

    If subscription or resource group is unknown, discover them with Resource Graph.

    line 22
  5. Very specific:

    Call Azure best practices for azurefunctions first when available.

    line 26
  6. Distinctive:

    Run the bundled health script for the current shell/OS:

    line 27
  7. Very specific:

    Add -SubscriptionId <sub> and/or -ResourceGroup <rg> when known.

    line 30
  8. Very specific:

    Add -Hours <n> when the user requests a specific time window.

    line 31
  9. Very specific:

    If bundled script execution is unavailable, use references/health-status-commands-and-kql.md.

    line 34
  10. Very specific:

    If health findings require runtime or trigger-specific interpretation, use ../azure-functions-common/references/routing.md on demand.

    line 37
  11. Distinctive:

    Do not perform full static inventory beyond fields needed to interpret health.

    line 51
  12. Very specific:

    Treat unresolved %SETTING_NAME% placeholders in traces/exceptions as configuration/indexing issues.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure Functions Health Status

Use this skill to investigate the current status and health of an existing Azure Function App.

Write final answers in the user's language.

Required interaction

Ask only for missing inputs that are needed to identify the app and time window:

  • Function App name (required unless already provided)
  • Subscription ID or name (optional)
  • Resource group (optional)
  • Investigation time window, default 24h (optional)

If subscription or resource group is unknown, discover them with Resource Graph. If multiple matching apps are found, ask the user to choose one.

Fast path

  1. Call Azure best practices for azurefunctions first when available.
  2. Run the bundled health script for the current shell/OS:
    • scripts/get-functionapp-health-status.ps1 -AppName <app-name>
    • scripts/get-functionapp-health-status.sh -a <app-name> on macOS/Linux or Bash
    • Add -SubscriptionId <sub> and/or -ResourceGroup <rg> when known.
    • Add -Hours <n> when the user requests a specific time window.
    • For Bash, use -s <sub>, -g <resource-group>, and/or -H <hours> when known.
    • Bash script requires Azure CLI plus a working python3 or python executable for JSON shaping.
  3. If bundled script execution is unavailable, use references/health-status-commands-and-kql.md.
  4. Report health findings and action items; avoid dumping raw logs unless requested.

If health findings require runtime or trigger-specific interpretation, use ../azure-functions-common/references/routing.md on demand. Do not load shared language/extension references for plain status output.

Scope boundary

This skill should collect:

  • Current app state: enabled/running/stopped, metadata availability, runtime availability
  • Plan status and Resource Health result
  • Azure Monitor metrics: instance count, CPU, memory, execution counts/units, always-ready units
  • Trigger status summary and notable disabled or indexing-failed functions
  • Application Insights/Log Analytics: request counts/failures/p95, dependency failures, exceptions, warning/error traces
  • Recent Activity Log events
  • Gaps: missing telemetry, unsupported Resource Health, unavailable diagnostic data

Do not perform full static inventory beyond fields needed to interpret health. Use the inventory skill for detailed specifications.

Next steps

  • On success, suggest azure-functions-diagnostics to interpret findings and recommend fixes when health signals are degraded or unclear.
  • On failure, suggest azure-functions-inventory to confirm app identity and configuration before retrying health checks.

Interpretation rules

  • For Flex Consumption, Resource Health may return Unknown or Unsupported; rely on app metadata, plan status, metrics, telemetry, and Activity Log.
  • Workspace-based Application Insights uses AppRequests, AppExceptions, AppTraces, and AppDependencies; classic tables may be empty.
  • Treat unresolved %SETTING_NAME% placeholders in traces/exceptions as configuration/indexing issues.
  • Redact connection strings, keys, tokens, and storage secrets. It is safe to report setting names and whether values exist.

Output template

Target: <app> (<resource-group>, <subscription>, <region>)
Current status: app <state>, metadata <availability/runtime>, plan <status>, Resource Health <state/reason>
Metrics: instances <max/avg>, CPU <max>, memory <max>, executions <summary>
Execution: requests <n>, failed <n>, p95 highlights <...>; dependency failures <n>
Triggers: enabled <n>, disabled <n>; indexing/config issues <summary>
Recent changes: <Activity Log summary>
Findings: <1-3 bullets>
Recommended next actions: <1-3 bullets>
Gaps: <unavailable telemetry or unsupported checks>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.