deploying-fc1-flex-consumption-functions

deploying-fc1-flex-consumption-functions is a skill for Claude Code from alexpizarro/azure-lean-stack-skills. It costs 126 tokens per session (1,520 once invoked), scanned A, original, MIT.

A deployment procedure for standalone Azure Function Apps using Flex Consumption, an Azure hosting option that scales serverless code and charges based on use. It covers workloads that Azure Static Web Apps managed functions cannot handle.

In plain words
What is it for?
Deploying Azure functions with timer or queue triggers, AI workloads, and operations longer than 30 seconds using Bicep or the ARM REST API.
Why use it?
It helps avoid Azure CLI behavior that can create the wrong, deprecated hosting plan and documents checks for a correct deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the azure-lean-stack-skills plugin — 16 skills shipped together

Good fit Deploying Azure functions with timer or queue triggers, AI workloads, and operations longer than 30 seconds using Bicep or the ARM REST API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions
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 alexpizarro/azure-lean-stack-skills --skill deploying-fc1-flex-consumption-functions
Clone the repo
git clone --depth 1 https://github.com/alexpizarro/azure-lean-stack-skills

Made for: Claude Code.

Or install azure-lean-stack-skills, the plugin that ships this one along with the rest of its 16 skills.

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 deploying-fc1-flex-consumption-functions

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions/github.svg)](https://agentmods.dev/skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions)
Your own site
<a href="https://agentmods.dev/skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions"><img src="https://agentmods.dev/badge/skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions/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 deploying-fc1-flex-consumption-functions

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions"><img src="https://agentmods.dev/badge/skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,520 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.00126 $0.01520
Opus 5 $0.00063 $0.00760
Sonnet 5 $0.00025 $0.00304
Haiku 4.5 $0.00013 $0.00152

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

Security

Grade A, and why

deploying-fc1-flex-consumption-functions 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 11d 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.

skills/deploying-fc1-flex-consumption-functions/SKILL.md · 132 lines

How it starts

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

Deploying FC1 Flex Consumption Function Apps

Use FC1 when SWA managed functions don't fit: timer triggers, queue triggers, AI workloads, or anything that runs longer than 30 seconds.

Workflow checklist

Copy this checklist and tick items off:

FC1 Flex Consumption provisioning:
- [ ] Step 1: Confirm SP has User Access Administrator at the RG scope (needed for MI role assignments)
- [ ] Step 2: Deploy storage account with the deployment container (storage-for-fc1.bicep)
- [ ] Step 3: Deploy FC1 plan + Function App via Bicep (NEVER az CLI — it silently mis-creates the plan)
- [ ] Step 4: Verify properties.sku == "FlexConsumption" with az functionapp show
- [ ] Step 5: Confirm FUNCTIONS_WORKER_RUNTIME is NOT in app settings
- [ ] Step 6: Confirm package.json has "main": "dist/index.js" + "type": "module" (FC1 = ESM)
- [ ] Step 7: Confirm src/index.ts imports every function file with .js extensions
- [ ] Step 8: Deploy code via Azure/[email protected]+; check log for "Detected function app sku: FlexConsumption"
- [ ] Step 9: Wait up to 10 min for MI role assignment propagation if first call fails

Why this is hard

Azure Flex Consumption (FC1) looks similar to deprecated Linux Consumption (Y1) in the portal but behaves completely differently:

Linux Consumption (Y1) Flex Consumption (FC1)
Status Deprecated Current, recommended
Deployment WEBSITE_RUN_FROM_PACKAGE One Deploy (blob-based)
FUNCTIONS_WORKER_RUNTIME Required Forbidden
CLI creation Works Silently fails to wrong plan
Storage auth Connection string __accountName (Managed Identity)

The CLI silently creates the wrong plan

az functionapp create --flexconsumption-location silently places the app on AustraliaEastLinuxDynamicPlan (Y1/Dynamic) without error. Tested CLI v2.83.0.

az appservice plan create --sku FC1 returns no error but the plan is "Not Found" when queried.

Always use ARM REST API or Bicep. See references/arm-rest-walkthrough.md for the REST approach and templates/flexConsumption.bicep for the Bicep approach.

Read the full file on GitHub · 132 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 132 lines · 126 tokens per session scan A 27bcc86151d9

Subscribe to this mod's changes

deploying-fc1-flex-consumption-functions is a skill published in the GitHub repository alexpizarro/azure-lean-stack-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 126 tokens to every session and 1,520 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

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-apimanagement-dotnet

Azure Resource Manager SDK for API Management in .NET. Use for MANAGEMENT PLANE operations: creating/managing APIM services, APIs, products, subscriptions, policies, users, groups, gateways, and backends via Azure Resource Manager. Triggers: "API Management", "APIM service", "create APIM", "manage APIs"…

microsoft/skills · 97 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

azure-servicebus-dotnet

Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions. Use for reliable message delivery, pub/sub patterns, dead letter handling, and background processing. Triggers: "Service Bus", "ServiceBusClient", "ServiceBusSender", "ServiceBusReceiver", "ServiceBusProcessor"…

microsoft/skills · 86 tokens

python-appservice-deploy

Deploy Python (Flask/Django/FastAPI) code to Azure App Service Linux. WHEN: "Flask App Service", "Django App Service", "FastAPI App Service", "deploy Python to App Service". DO NOT USE FOR: Container Apps, Functions, non-Python, Terraform/Bicep/IaC, full infra — use azure-prepare.

microsoft/skills · 81 tokens

azure-storage

UTILITY SKILL — Azure Storage Services: Blob, File Shares, Queue, Table, and Data Lake. Object storage, SMB shares, async messaging, NoSQL key-value, big-data analytics. Access tiers + lifecycle management. WHEN: "blob storage", "file shares", "queue storage", "table storage", "data lake", "access tiers", "lifecycle…

jonathan-vella/apex-accelerator · 105 tokens