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.
npx skills add jnPiyush/AgentX --skill power-automate-flow-jsongit clone --depth 1 https://github.com/jnPiyush/AgentXWrote 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.
[](https://agentmods.dev/skills/jnpiyush/agentx/power-automate-flow-json)<a href="https://agentmods.dev/skills/jnpiyush/agentx/power-automate-flow-json"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/power-automate-flow-json/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.
<a href="https://agentmods.dev/skills/jnpiyush/agentx/power-automate-flow-json"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/power-automate-flow-json.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.01475 |
| Opus 5.5 | $0.00020 | $0.00590 |
| Sonnet 5.5 | $0.00010 | $0.00295 |
| Haiku 4.5 | $0.00005 | $0.00147 |
Grade A, and why
power-automate-flow-json 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Power Automate Cloud Flow JSON
Purpose: emit a valid Power Automate cloud flow JSON file that
pac solution packaccepts and the importer turns into a working flow once connections are bound.
When to Use
- A PRD specifies automation (notify on row create, schedule a job, webhook, send email/Teams message)
- An existing solution needs a new flow added
- Reviewing a generated flow before packaging
File Naming and Location
src/Workflows/<prefix>_<FlowName>-<GUID>.json
<GUID>: lowercase hyphenated UUID v4. Generate ONCE per flow and keep it stable across regenerations.<FlowName>: PascalCase verb + object (NotifyOnIssueCreated).- Every flow MUST be registered in
Solution.xmlwith<RootComponent type="29" schemaName="<guid>" behavior="0" />.
Flow JSON Top-Level Shape
{
"properties": {
"connectionReferences": { },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": { },
"triggers": { },
"actions": { }
}
},
"schemaVersion": "1.0.0.0"
}
The definition block is Logic Apps Workflow Definition Language.
Trigger Shapes
| Trigger | kind |
Use When |
|---|---|---|
| Manual / button | Request / Button |
User-initiated runs, testing |
| Dataverse row added | OpenApiConnectionWebhook (SubscribeWebhookTrigger, scope=4) |
React to new rows |
| Dataverse row modified | Same with filteringAttributes |
React to specific column changes |
| Dataverse row deleted | Same with message=Delete |
Cleanup workflows |
| Recurrence (scheduled) | Recurrence with frequency + interval |
Daily, hourly |
| HTTP request | Request / Http with body schema |
Webhooks, external callers |
Action Shapes
| Action | type |
Notes |
|---|---|---|
| Dataverse - Get row | OpenApiConnection / GetItem |
entityName plural, recordId from trigger |
| Dataverse - Add row | CreateRecord |
item object with columns |
| Dataverse - Update row | UpdateRecord |
Pass only changed columns |
| Send email (Outlook) | shared_office365 / SendEmailV2 |
Use connection reference |
| Post Teams message | shared_teams / PostMessageToConversation |
Channel/chat id from prior step |
| HTTP | Http |
Use env variables for URLs |
| Condition | If |
expression block |
| Apply to each | Foreach |
Iterate arrays |
| Compose | Compose |
Inspect intermediate values |
| Initialize variable | InitializeVariable |
Do not put inside a loop |
| Scope | Scope |
Group actions, attach error handling via runAfter |
| Terminate | Terminate |
End with Succeeded, Failed, Cancelled |
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.
- 2mo ago Changed ba984798a0e8
- 2mo ago First seen · 148 lines · 51 tokens per session scan A 4b6501e5e6dd
power-automate-flow-json is a skill published in the GitHub repository jnPiyush/AgentX (19 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 1,475 once invoked, about $0.0002 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-09-03.
power-automate-flow-json compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| power-automate-flow-jsonjnPiyush/AgentX | Skill | 19 | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 105 | Claude Code, Codex |