run-workflow

run-workflow is a command for Claude Code from Lykhoyda/rn-dev-agent. It costs 49 tokens per session (334 once invoked), scanned A, original, MIT.

A workflow for preparing and running a verified React Native testing session. It checks the package setup, app and device state, development server, saved actions, requested proof, and cleanup.

In plain words
What is it for?
Use it before running a specific mobile journey when you need controlled device access, Metro setup, replay of a saved action, limited proof capture, and orderly recovery or cleanup.
Why use it?
It prevents tests from being run with missing dependencies, the wrong device, or an unverified app session. It also records evidence for each setup step and checks that cleanup completed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the rn-dev-agent plugin — 28 skills, 17 commands, 6 agents, 6 hooks shipped together

Good fit Use it before running a specific mobile journey when you need controlled device access, Metro setup, replay of a saved action, limited proof capture, and orderly recovery or cleanup.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lykhoyda/rn-dev-agent/run-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/Lykhoyda/rn-dev-agent

Made for: Claude Code.

Or install rn-dev-agent, the plugin that ships this one along with the rest of its 28 skills, 17 commands, 6 agents, 6 hooks.

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 run-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/lykhoyda/rn-dev-agent/run-workflow"><img src="https://agentmods.dev/badge/commands/lykhoyda/rn-dev-agent/run-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 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.00049 $0.00334
Opus 5.5 $0.00020 $0.00134
Sonnet 5.5 $0.00010 $0.00067
Haiku 4.5 $0.00005 $0.00033

Measured 1mo ago against content hash a546cd315724, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-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 1mo 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.

packages/claude-plugin/commands/run-workflow.md · 28 lines

What it actually says

Establish the proven operating sequence for this journey: $ARGUMENTS

Load the rn-workflow skill and execute its contract steps 0–7 in order, with the journey description above as the scope for Step 5 ("run only the requested proof"). If no description was given, ask for one before Step 5 — Steps 0–4 (validation and authority establishment) may proceed without it.

Ground rules the skill enforces (do not restate or reinterpret them here):

  • rn_session(action="status") is the sole classifier for a blocked session; follow only its recoveryRequirement.nextAction, re-read status after every recovery action, and stop after one bounded retry on an identical projection.
  • Action discovery is read-only; replay only via cdp_run_action after device, Metro, and runner authority are proven.
  • Success is re-read from authoritative tool state, never exit codes or prose.
  • Cleanup runs in reverse order and is verified by the postflight checker.

Report the outcome as a short table: one row per contract step with its readback evidence, plus the single actionable stop if the journey could not proceed.

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. 1mo ago First seen · 28 lines · 49 tokens per session scan A a546cd315724

Subscribe to this mod's changes

run-workflow is a command published in the GitHub repository Lykhoyda/rn-dev-agent (20 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 334 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-08-30.