nativephp-agent-loop
Skill by NativePHP
Drives an autonomous build, launch and verify loop for NativePHP Mobile apps on simulators and emulators. Built for developers who want an AI assistant to run and check their app without manual commands.
Install nativephp-agent-loop
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NativePHP/mobile-air /tmp/mobile-air && mkdir -p ~/.claude/skills && cp -r /tmp/mobile-air/resources/boost/skills/nativephp-agent-loop ~/.claude/skills/nativephp-agent-loopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NativePHP/mobile-air /tmp/mobile-air && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mobile-air/resources/boost/skills/nativephp-agent-loop ~/.gemini/antigravity-cli/skills/nativephp-agent-loopAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install nativephp-agent-loop in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
NativePHP Agent Loop is a skill for AI assistants that builds, launches and verifies NativePHP Mobile apps on a simulator or emulator. It runs a cycle of editing code, building a debug app, launching it, taking a screenshot and fixing problems. It uses the headless --json artisan commands in NativePHP core, and the assistant drives the loop itself instead of asking the user to run commands.
The skill records a target device in nativephp/agent-device.json so commands stay unambiguous. It reads the app's laravel.log through native:tail and checks for boot fatals with the --fatals option. It can open deep links with native:open-url to move between screens and check each one by screenshot. It is aimed at developers who use an AI assistant to build and test NativePHP mobile apps.
Written from the project's SKILL.md and checked against it.
What it can do
- native:runBuilds a debug app and launches it on a simulator or emulator, returning a JSON result.
- native:statusShows whether the app is running on the target device.
- native:screenshotCaptures a screenshot so the assistant can inspect the app screen.
- native:tailReads the app's laravel.log, or boot fatals with the --fatals option.
- native:open-urlOpens a custom scheme deep link to navigate to an app route.
- native:devicesLists available simulators and emulators and their boot state.
What you need
- A NativePHP Mobile project
- An iOS simulator with xcrun simctl
- An Android emulator with adb
Try asking
- Build and launch my NativePHP app on the iOS simulator and send me a screenshot.
- Open the checkout route in the app and verify it with a screenshot.
- Check the app's boot fatals, fix the crash and rebuild the app.
Good to know
- Do not use --watch for discrete build-loop iterations because it blocks.
- Asks the user first before physical devices, release builds, native:install or uninstalling apps.
- iOS simulators show a one-time confirmation for custom schemes.
- Boot fatals do not appear in laravel.log, so check them with native:tail --fatals.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: resources/boost/skills/nativephp-agent-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to nativephp-agent-loop
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
nativephp-agent-loop: common questions
Does the assistant need me to run build commands?
No. The skill tells the assistant to drive the build, launch and screenshot steps itself instead of asking you to run commands.
Which logs does it read?
It reads laravel.log through native:tail. Boot fatals that happen before Laravel starts are recorded on the device and read with the --fatals option.
Does it work on physical devices?
The skill says to ask the user first before using physical devices, release builds or bundle builds. Its loop targets simulators and emulators with debug builds.
How do I install nativephp-agent-loop?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nativephp-agent-loop free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is nativephp-agent-loop safe to use?
It scores 79 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to nativephp-agent-loop?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
