deploying-fc1-flex-consumption-functions

deploying-fc1-flex-consumption-functions is a skill for Claude Code from alexpizarro/azure-lean-stack-skills. It costs 154 tokens per session (2,552 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.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is (cd api && zip -qr ../api-deploy.zip dist node_modules host.json package.json).

Part of the azure-lean-stack-skills plugin — 17 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

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/alexpizarro/azure-lean-stack-skills
agentmods
npx agentmods add skills/alexpizarro/azure-lean-stack-skills/deploying-fc1-flex-consumption-functions

Made for: Claude Code.

Or install azure-lean-stack-skills, the plugin that ships this one along with the rest of its 17 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 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,552 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.00154 $0.02552
Opus 5.5 $0.00062 $0.01021
Sonnet 5.5 $0.00031 $0.00510
Haiku 4.5 $0.00015 $0.00255

Measured 1mo ago against content hash ebca62793c26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 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" and "engines": { "node": "22" } (CommonJS — same as SWA)
- [ ] Step 7: Confirm src/index.ts imports every function file (a missing import = silent 404)
- [ ] Step 8: Deploy code with `az functionapp deployment source config-zip` (not Azure/functions-action); verify with `az functionapp show --query properties.sku` == FlexConsumption
- [ ] Step 9: Wait up to 10 min for MI role assignment propagation if first call fails
- [ ] Step 10: Restart the app once after the first deploy — the v4 Node host doesn't always discover functions from a fresh zip until it recycles

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 Retiring 2028-09-30; no new language versions (Node 22 is the last) Current, recommended; Node 24 GA; 512 MB instances GA
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)

Read the full file on GitHub · 165 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. 1mo ago Changed · +33 lines · +28 tokens per session ebca62793c26
  2. 1mo 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 154 tokens to every session and 2,552 once invoked, about $0.0006 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-08-31.

Related

Other skills, from other repositories

cloud-native-azure-functions

Use this skill when the user says 'azure functions', 'durable functions', 'orchestrator function', 'activity function', 'durable entities', 'event grid trigger', 'flex consumption', 'azure functions hosting plan', 'fan-out fan-in azure'. Designs Azure Functions apps and Durable Functions workflows with correct…

j4flmao/agent-skills · 124 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-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