ClaudeCodeMod

All shelves / Mods / Review

flow-plan

By madmat01

flow-plan is a Claude Code review mod by madmat01.

Draws Claude's Power Automate flow plan in a pane with licence badges and design checks, and blocks the build tools until you approve that flow's plan.

DrawsHolds a command

Install

The marketplace name is flow-plan.

In Claude Code
/plugin marketplace add madmat01/flow-plan
/plugin install flow-plan@flow-plan
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.8.0
License
MIT
Repo stars
5
Last change
2026-11-05

What it can reach

  • Draws in the session
  • Holds a command
  • Sees tool calls

Claude Code 2.1.308 or later, with mods support; earlier versions cannot tell the mod that its connector lookup is read-only, so in auto mode the badges show a question mark. Microsoft's power-automate plugin must be installed and set up first: /plugin marketplace add microsoft/power-platform-skills, then /plugin install power-automate@power-platform-skills, then /power-automate:setup. It also needs the Azure CLI, signed in with az login, and access to a Power Automate environment where you can create flows; the README suggests a dev environment. Approval lasts for the session, and the licence mode resets to premium in each new session. /flow-plan opens the pane, /flow-plan-style switches between designer and cards, and /flow-plan-licence sets premium or standard.

The marketplace, flow-plan, holds only this plugin, which gates Microsoft's power-automate plugin. Reviewing a flow's design before anything is built is why this page files it under review. plannotator opens Claude's plan in a review UI where you mark it up, sends your annotations back, and shows what changed when the plan comes back. merge-gate holds gh pr merge until CI is green and a Codex review has run once, and draws that pull request's status above the prompt. This one is for Power Automate cloud flows: Claude proposes each flow through a propose_flow_plan tool, and the pane draws it like the Power Automate designer, with a text version in the terminal, plus premium and custom connector badges and eight design checks. create_flow, update_flow, edit_flow, and copy_flow stay blocked until you approve that flow's plan, and a create approval is used up once the flow exists. Approve and Reject send your word back to Claude, and Reject takes a reason. The README says the gate covers only the power-automate plugin's build tools: PAC CLI, a direct Flow API call, or a Dataverse write could still create a flow.

Demo

The author's screenshot of the Flow plan pane for a flow called Demo - New Accounts Digest: licence mode premium and pending, with warnings that every user needs Premium or a Process licence and that Microsoft 365 seeded licences cover standard connectors only; then the flow drawn as boxes: a manual trigger, a Try scope holding List rows (Dataverse, marked Premium), a Condition with Yes and No branches, Create HTML table and Send an email, and a Catch scope. The flow is the author's sample.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • prompt.composeWhile you write a prompt
  • prompt.submitWhen you send a prompt
  • tool.checkA Claude Code event
  • command.runWhen you run its slash command/flow-plan/flow-plan-style/flow-plan-licence
  • tool.callAround a tool call, where it can hold one
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 3

  • /flow-planDraft a visual plan of a Power Automate flow before building it
  • /flow-plan-styleSwitch the flow plan pane style: designer or cards
  • /flow-plan-licenceSet the flow plan licence mode: premium or standard

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
madmat01
Category
Review
Marketplace
flow-plan
Repo
madmat01/flow-plan
Version
0.8.0
License
MIT
Repo stars
5
Last change
2026-11-05
Language
TypeScript
Files
17

Other mods in Review

review-radarpedrovelasquez9Reads the branch diff after each turn and draws a pane of only the changes a person must confirm, with diff lines and Reviewed and Request changes buttons.mod-file-treev-amorimDraws a Files panel of what Claude read and changed this session, lit live while it works, with +/- line counts and a replay of the last turn's diffs.mod-transcriptv-amorimRestyles the transcript as chat bubbles, folds each finished turn and each tool row to one line, colors code, and adds a copy button to replies.improve-promptwaltherhuggoDraws an Improve prompt button above the prompt box that rewrites your draft with the session's context; /improve does the same, and you review and send it.done-gatevumichienTells Claude and you, in a toast, when a task is marked done while changed code is untested, and draws the last test run in a band.prompt-enhancervumichienDraws an Enhance button above the prompt: Haiku rewrites your draft to name fitting skills, what to ask first, and what done looks like. It never sends it.assumption-checkvumichienLists the choices Claude made that you did not state after a turn that edited files or ran commands; mark each right or wrong and send the corrections.replay-theaterAnthropicAdds /replay. Steps through the files Claude edited last turn, one diff at a time.review-watchhamzaferDraws one line above the prompt per running code review, with the model, the target, the elapsed time, and Codex's latest output. A toast lists the findings.md-previewhamzaferWhen Claude edits Markdown, draws the before and after beside the session, rendered the way GitHub does.files-touchedSingh-APDraws one line above the prompt for files Claude changed this session, with lines added and removed. /touched pane lists them, and a press inserts @path.change-ledgerarasovicDraws a pane of every file this session touched, with lines added and removed and which agent edited it, beside the git working tree.
All 145 in Review