Durable Task Python
Executes long-running Python tasks reliably within Azure Functions, handling retries and errors gracefully.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add durable-task-python npx -- -y @trustedskills/durable-task-python
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"durable-task-python": {
"command": "npx",
"args": [
"-y",
"@trustedskills/durable-task-python"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to orchestrate long-running, stateful workflows using the Durable Functions Python SDK. It enables chaining multiple functions together, managing their execution order and dependencies, and persisting data across function invocations. This is ideal for tasks that require complex logic and cannot be completed in a single request.
When to use it
- Order Processing: Automate a multi-step order fulfillment process involving inventory checks, payment processing, shipping updates, and notifications.
- Data Migration: Coordinate the migration of large datasets from one system to another, handling retries and error recovery automatically.
- Machine Learning Pipelines: Build complex ML pipelines that involve data preprocessing, model training, evaluation, and deployment steps.
- Long-Running Simulations: Execute simulations or analyses that take a significant amount of time, providing progress updates and managing dependencies.
Key capabilities
- Orchestration of multiple functions
- State persistence across function calls
- Retry policies for reliable execution
- External HTTP orchestration
- Fan-out/fan-in patterns
Example prompts
- "Start a new order processing workflow with customer ID 12345 and product SKU ABC."
- "Check the status of workflow instance XYZ."
- "Cancel the currently running data migration task."
Tips & gotchas
- Requires familiarity with Azure Functions and Durable Functions concepts.
- Workflow definitions must be deployed to an orchestrator before being invoked.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.