Revyl MCP Dev Loop
Agent Buildingrevyl-mcp-dev-loopRevyl MCP Dev Loop is an Agent Skill for agent building published in the RevylAI/revyl-cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
MCP dev-first mobile loop for reliable screenshot-observe-action execution, grounded interactions, and conversion of successful exploratory paths into tests.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/RevylAI/revyl-cli/blob/HEAD/skills/revyl-mcp-dev-loop/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/revyl-mcp-dev-loop, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Revyl MCP Dev Loop Skill
Use this skill for the full flow:
- Start dev loop equivalent.
- Execute screenshot-observe-action cycles.
- Convert successful paths into reusable tests.
Default Operating Mode
Always prefer dev-loop flow before plain device-only flows:
- Call
start_dev_loop. - Confirm session is active.
- Call
screenshot()and begin interaction.
Fallback to plain device session only when dev loop is unavailable.
Execution Guardrails
- First tool call must be
start_dev_loop. - Do not call listing tools unless the user explicitly asks.
- Treat
next_stepsas advisory only. - Re-anchor with
screenshot()before state-dependent actions. - For taps/types/swipes, use
targetwith natural language descriptions (for exampletarget="Sign In button"); use rawx,yonly as fallback.
Interaction Loop
For each iteration:
screenshot()- State visible UI in one short line.
- Take one best action and describe what to press/type using
target. screenshot()to verify.- Repeat.
Short deterministic burst allowance:
- Up to two actions before verification for obvious two-step entry flows.
Ad Hoc to Test Conversion (MCP)
When a flow succeeds:
- capture test name, preconditions, instructions, validations, variables.
- run:
create_test(name="...", platform="ios", yaml_content="...")run_test(test_name="...")get_test_status(task_id="...")