Install
$ agentstack add skill-ai-dashboad-flutter-skill-e2e-testing ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
AI E2E Testing — 8 Platforms, Zero Test Code
flutter-skill is an MCP server that connects AI agents to running apps across 8 platforms. The agent takes screenshots, taps elements, enters text, scrolls, navigates, inspects UI trees, and verifies state — all through natural language.
Supported Platforms
| Platform | Setup | |----------|-------| | Flutter (iOS/Android/Web) | flutter pub add flutter_skill | | React Native | npm install flutter-skill-react-native | | Electron | npm install flutter-skill-electron | | iOS (Swift/UIKit) | SPM: FlutterSkillSDK | | Android (Kotlin) | Gradle: flutter-skill-android | | Tauri (Rust) | cargo add flutter-skill-tauri | | KMP Desktop | Gradle dependency | | .NET MAUI | NuGet package |
Install
# npm (recommended)
npm install -g flutter-skill
# Homebrew
brew install ai-dashboad/flutter-skill/flutter-skill
# Or download binary from GitHub Releases
MCP Configuration
Add to your AI agent's MCP config (Claude Desktop, Cursor, Windsurf, OpenClaw, etc.):
{
"mcpServers": {
"flutter-skill": {
"command": "flutter-skill",
"args": ["server"]
}
}
}
Quick Start
1. Initialize your app (one-time)
flutter-skill init
Auto-detects project type and patches your app with the testing bridge.
Verify: Output should confirm the project type was detected and main entry point was patched. If it fails, check that you are in the project root and the framework is supported.
2. Launch and connect
flutter-skill launch .
Verify: A VM Service URI appears in the output (e.g. ws://127.0.0.1:50000/ws). If no URI appears, check that Flutter/the target framework is installed and the app compiles.
3. Test with natural language
The agent follows this core loop:
screenshot()— see the current screeninspect_interactive()— discover all tappable/typeable elements with semantic refstap(ref: "button:Login")— tap using stable semantic referenceenter_text(ref: "input:Email", text: "admin@test.com")— type into fieldwait_for_element(key: "Dashboard")— verify navigation succeededscreenshot()— confirm final state
If inspect_interactive() returns no elements: Take a screenshot to confirm the screen loaded, then check get_logs() for errors. The app may still be loading — retry after a short wait.
Available MCP Tools
Core Actions
| Tool | Description | |------|-------------| | screenshot | Capture current screen as image | | tap | Tap element by key, text, ref, or coordinates | | enter_text | Type text into a field | | scroll | Scroll up/down/left/right | | swipe | Swipe gesture between points | | long_press | Long press an element | | drag | Drag from point A to B | | go_back | Navigate back | | press_key | Send keyboard key events |
Inspection
| Tool | Description | |------|-------------| | inspect_interactive | Get all interactive elements with semantic ref IDs | | get_elements | List all elements on screen | | find_element | Find element by key or text | | wait_for_element | Wait for element to appear (with timeout) | | get_element_properties | Get detailed properties of an element |
Text Manipulation
| Tool | Description | |------|-------------| | set_text | Replace text in a field | | clear_text | Clear a text field | | get_text | Read text content |
App Control
| Tool | Description | |------|-------------| | get_logs | Read app logs | | clear_logs | Clear log buffer |
Semantic Refs
inspect_interactive returns elements with stable semantic reference IDs:
button:Login → Login button
input:Email → Email text field
toggle:Dark Mode → Dark mode switch
button:Submit[1] → Second Submit button (disambiguated)
Format: {role}:{content}[{index}]
7 roles: button, input, toggle, slider, select, link, item
Use refs for reliable element targeting that survives UI changes:
tap(ref: "button:Login")
enter_text(ref: "input:Email", text: "test@example.com")
Testing Workflow
Core Loop
screenshot() → inspect_interactive() → tap/enter_text → screenshot() → verify
Always call screenshot() before and after actions. Use wait_for_element() after navigation — apps need time to transition.
Validation Checkpoints
- After
screenshot(): Confirm the expected screen is visible before acting. - After
tap()orenter_text(): Callscreenshot()to verify the UI responded. - After navigation: Use
wait_for_element(key: "target_screen")with a timeout. If it times out, callscreenshot()andget_logs()to diagnose. - On unexpected state: Call
get_logs()andinspect_interactive()to understand what elements are present.
Element Targeting Priority
ref:(most reliable) — semantic ref frominspect_interactive()key:— widget key set by the developertext:— visible text content (fragile if text changes)- Coordinates — last resort, breaks on different screen sizes
Links
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ai-dashboad
- Source: ai-dashboad/flutter-skill
- License: MIT
- Homepage: https://ai-dashboad.github.io/flutter-skill/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.