workflow

workflow is a command for Claude Code from Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace. It costs 16 tokens per session (1,200 once invoked), scanned A, original, MIT.

A command that creates the starting code for a Dapr workflow, a process that runs several application steps in sequence or in parallel. It also adds activities, retry handling, and client code.

In plain words
What is it for?
Use it to scaffold sequential, parallel, saga, or approval workflows, including their activities and code for starting them.
Why use it?
It saves the repetitive setup needed before implementing the individual steps of a workflow.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the dapr plugin — 9 skills, 14 commands, 8 agents shipped together

Good fit Use it to scaffold sequential, parallel, saga, or approval workflows, including their activities and code for starting them.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow
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.

Clone the repo
git clone --depth 1 https://github.com/Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace

Made for: Claude Code.

Or install dapr, the plugin that ships this one along with the rest of its 9 skills, 14 commands, 8 agents.

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 workflow

README.md
[![agentmods](https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow/github.svg)](https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow)
Your own site
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow/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 workflow

Your own site · 80×15
<a href="https://agentmods.dev/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow"><img src="https://agentmods.dev/badge/commands/sahib-sawhney-wh/sahibs-claude-plugin-marketplace/workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,200 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.00016 $0.01200
Opus 5 $0.00008 $0.00600
Sonnet 5 $0.00003 $0.00240
Haiku 4.5 $0.00002 $0.00120

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

Security

Grade A, and why

workflow 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 12d 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.

plugins/dapr/commands/workflow.md · 198 lines

How it starts

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

DAPR Workflow Scaffolding

Create a new DAPR workflow with all required components and best practices.

Behavior

When the user runs /dapr:workflow:

  1. Gather Workflow Info

    • Workflow name (from $ARGUMENTS or prompt)
    • Workflow pattern (sequential, parallel, saga, approval)
    • Number of activities
    • Brief description of each step
  2. Generate Workflow Code

    # workflows/{workflow_name}.py
    from dapr.ext.workflow import (
        WorkflowRuntime,
        DaprWorkflowContext,
        WorkflowActivityContext,
        RetryPolicy
    )
    from datetime import timedelta
    
    wf_runtime = WorkflowRuntime()
    
    # Retry policy
    retry_policy = RetryPolicy(
        max_number_of_attempts=3,
        first_retry_interval=timedelta(seconds=1),
        backoff_coefficient=2.0
    )
    
    @wf_runtime.workflow(name="{workflow_name}")
    def {workflow_name}_workflow(ctx: DaprWorkflowContext, input: dict):
        # Generated workflow logic
        pass
    
    @wf_runtime.activity(name="{activity_name}")
    def {activity_name}(ctx: WorkflowActivityContext, data: dict):
        # Generated activity logic
        pass
    
  3. Generate Client Code

    # clients/{workflow_name}_client.py
    from dapr.ext.workflow import DaprWorkflowClient
    
    async def start_{workflow_name}(input_data: dict):
        async with DaprWorkflowClient() as client:
            instance_id = await client.schedule_new_workflow(
                workflow="{workflow_name}",
                input=input_data
            )
            return instance_id
    
  4. Generate Tests

    # tests/test_{workflow_name}.py
    import pytest
    from workflows.{workflow_name} import *
    
    def test_{workflow_name}_activity():
        # Test activity logic
        pass
    
  5. Update Dependencies

    • Add dapr-ext-workflow to requirements.txt if missing

Arguments

  • $ARGUMENTS - Workflow name and pattern:
    • order-processing - Basic workflow name
    • order-processing --pattern saga - With specific pattern
    • order-processing --steps 5 - Number of steps

Read the full file on GitHub · 198 lines

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. 12d ago First seen · 198 lines · 16 tokens per session scan A e7e385ddf4a2

Subscribe to this mod's changes

workflow is a command published in the GitHub repository Sahib-Sawhney-WH/sahibs-claude-plugin-marketplace (4 stars, last pushed 8mo ago), licensed MIT. It adds 16 tokens to every session and 1,200 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-31.