migrate-workflow-pb

migrate-workflow-pb is a command for Claude Code from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 0 tokens per session (413 once invoked), scanned A, a copy of migrate-wfr-to-flow, Apache-2.0.

A compatibility command for planning the move from Salesforce Workflow Rules and Process Builder to Flow. Workflow Rules and Process Builder are older Salesforce automation tools; this command now forwards to the newer automation-migration command.

In plain words
What is it for?
Review and plan migration of Workflow Rules and Process Builder automation for a Salesforce object in a target org.
Why use it?
It preserves existing workflows while the older command is being retired. When both automation types affect the same field and action, it flags the conflict for human review.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`automation-migration-router`](../agents/automation-migration-router/AGENT.md).

Good fit Review and plan migration of Workflow Rules and Process Builder automation for a Salesforce object in a target org.

Compare 6 commands 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/BanibrataChatterjee/AwesomeSalesforceSkills
agentmods
npx agentmods add commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb

Made for: Claude Code.

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 migrate-workflow-pb

README.md
[![agentmods](https://agentmods.dev/badge/commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb/github.svg)](https://agentmods.dev/commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb)
Your own site
<a href="https://agentmods.dev/commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb"><img src="https://agentmods.dev/badge/commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb/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 migrate-workflow-pb

Your own site · 80×15
<a href="https://agentmods.dev/commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb"><img src="https://agentmods.dev/badge/commands/banibratachatterjee/awesomesalesforceskills/migrate-workflow-pb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 413 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 86% copy Near-identical to another mod 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.00000 $0.00413
Opus 5 $0.00000 $0.00206
Sonnet 5 $0.00000 $0.00083
Haiku 4.5 $0.00000 $0.00041

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

Security

Grade A, and why

migrate-workflow-pb 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 10d 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.

Origin

This is a copy

86% identical to migrate-wfr-to-flow — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/migrate-workflow-pb.md · 41 lines

What it actually says

/migrate-workflow-pb — LEGACY ALIAS (Wave 3a)

Deprecation notice: this command is now an alias. It invokes the automation-migration-router with --source-type=auto and emits this deprecation notice. Switch to the canonical /migrate-automation form at your convenience; the alias ships until the removal window declared in docs/MIGRATION.md (Wave 7).

Canonical form

/migrate-automation --source-type auto --object <ApiName> --target-org <alias>

Alias behavior

Running /migrate-workflow-pb <args> is equivalent to:

/migrate-automation --source-type auto <args>

source_type=auto runs the wf_rule and process_builder dispatches back-to-back against the same object, merges the inventories, and flags any WFR + PB pair hitting the same action type on the same field (a real conflict the human should resolve before migrating).

Why the change

Wave 3a of the redesign consolidated four migrators into one router. See agents/_shared/harnesses/migration_router/README.md for the rationale and agents/_shared/harnesses/migration_router/decision_table.md for the per-source-type dispatch logic.

See also

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. 10d ago First seen · 41 lines · 0 tokens per session scan A be640342eb10

Subscribe to this mod's changes

migrate-workflow-pb is a command published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 413 tokens. A static security scan graded it A with 0 findings. It is 86% identical to migrate-wfr-to-flow, differing in 28 lines, and is treated as a copy.