local-testing

Automate macOS desktop app and bot testing with osascript and agent-browser.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Nick777-Pixel/mychat7 --skill local-testing-nick777-pixel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-testing
Source: https://github.com/Nick777-Pixel/mychat7/tree/main/.agents/skills/local-testing
Command: npx skills add https://github.com/Nick777-Pixel/mychat7 --skill local-testing-nick777-pixel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffmpeg, and includes scripts (resource) components.

What problem does it solve?

Local automation for testing desktop apps and chat bots on macOS, combining Electron/web UI testing with native macOS scripting to streamline validation.

Core Features & Use Cases

  • Cross-platform UI testing: automate Electron and web apps via agent-browser to validate UI flows.
  • Native app bot testing: control macOS apps (WeChat, Discord, Telegram, Slack, Lark/飞书, QQ) with osascript for end-to-end bot interactions.
  • Demo & verification tooling: includes scripts for capturing screenshots and recording demos to document results.

Quick Start

Run the built-in test script in .agents/skills/local-testing/scripts/test-discord-bot.sh to verify a bot in Discord.

Frequently Asked Questions about local-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Discord bot testing on macOS?

Automating Slack bot testing on macOS uses osascript to control native desktop apps and agent-browser for web UIs. This enables end-to-end bot verification across both native and Electron-based chat clients.

Can I test Electron and web apps locally on macOS?

Testing Electron and web apps locally on macOS is supported through agent-browser integration. This allows you to automate and validate UI flows for chat clients like Lark, Telegram, and WeChat seamlessly.

Do I need ffmpeg to record macOS app testing demos?

You need ffmpeg installed when recording macOS app testing demos. Ffmpeg is required specifically for demo recording and window capture utilities, while standard test automation runs without it.

What's the best way to capture screenshots during native macOS bot testing?

Capturing screenshots during native macOS bot testing is best handled using the Skill's built-in demo and verification tooling. These scripts automate window capture for documenting bot interaction results.

Does osascript bot automation work for QQ and WeChat?

Osascript bot automation works for QQ and WeChat by controlling their macOS desktop applications. This native scripting approach enables end-to-end bot interactions across various chat clients.

How to validate chat bot interactions end-to-end on macOS?

Validating chat bot interactions end-to-end on macOS involves combining agent-browser for UI flows and osascript for native app control. Ready-to-run scripts automate this verification across Discord, Slack, and Telegram.