# Test on device

> Test on device is an open-source agent skill for developer tools. Builds a mini-app bundle, uploads it to the Toss console and opens it on a real phone. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/toss/apps-in-toss-harness/tree/main/packages/agent-plugin/shared/skills/test-on-device
- **Repository:** https://github.com/toss/apps-in-toss-harness
- **GitHub stars:** 195
- **License:** BSD-3-Clause
- **Skill name:** test-on-device
- **Collection:** https://github.com/toss/apps-in-toss-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill takes the mini-app in the current project through the standard device-testing path: it builds the .ait bundle, uploads it through the console MCP server, checks that the console finished compiling it, and then hands over a test link that opens the build in the Toss app. A release build is the default. A debug build is produced only when the user is debugging on-device, and the skill records that deployment locally so it is not submitted for review.

The workflow starts by confirming the project root and that the app name in the bundle config matches the app registered in the console, so a mismatch is caught before upload. It also warns about in-app payment and server calls before testing. Build steps depend on the stack: web and React Native projects use their package.json scripts, while Unity projects are built through the SDK's build menu or a batch entry point when one exists. Build outputs are checked for leftover debug markers before upload.

The skill expects the console MCP server to be authorized through the agent's MCP settings and an existing app in the console. It does not submit reviews, release, roll back or promote builds.

## When your agent uses it

> Put the current mini-app on a real phone through the standard path — build the `.ait` bundle (release variant by default; debug variant only when the user is debugging on-device), upload it with console MCP (`bundle_upload` → `bundle_upload_complete`), confirm the compile with `miniapp_get_status`, and hand over the entry link the tools returned so it opens in the Toss app. Debug-build deployments are recorded locally and must not be submitted for review. Review submission, release, rollback, and promotion are out of scope. Triggered by `/ait:test-on-device`, no args.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/toss/apps-in-toss-harness/tree/HEAD/packages/agent-plugin/shared/skills/test-on-device)
- [License: BSD-3-Clause](https://github.com/toss/apps-in-toss-harness/tree/HEAD/packages/agent-plugin/shared/skills/test-on-device)

## Features

- **Bundle build step:** Builds the .ait bundle for web, React Native or Unity projects, choosing the release or debug variant.
- **Console upload flow:** Uploads the bundle through the console MCP tools and completes the upload so the console compiles it.
- **Compile status check:** Polls build status and reports whether the uploaded deployment compiled successfully or failed.
- **On-phone test link:** Sends a test push or console QR option so the build opens in the Toss app on a real device.
- **Appname mismatch guard:** Compares the bundle config app name with the console app before uploading to avoid build failures.
- **Debug build tracking:** Records debug deployments locally and warns they must not be submitted for review.

## Good for

- Put my mini-app on my phone to test it in the Toss app
- Upload the current build to the console and check it compiled
- Get a link to open this build in the Toss app for testing
- Build a debug version so I can attach a debugger on a real device

## Install

### Claude Code

This skill ships in the `ait` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add toss/apps-in-toss-harness
/plugin install ait@apps-in-toss
```

Or copy only this skill to `~/.claude/skills/test-on-device`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.claude/skills/test-on-device &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/test-on-device` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/test-on-device` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.agents/skills/test-on-device &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/test-on-device` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/test-on-device` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.cursor/skills/test-on-device &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/test-on-device` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/toss/apps-in-toss-harness.git --path packages/agent-plugin/shared/skills/test-on-device
```

Or copy the folder to `~/.gemini/skills/test-on-device` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/test-on-device`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.copilot/skills/test-on-device &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/test-on-device` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git
```

Then copy `apps-in-toss-harness/packages/agent-plugin/shared/skills/test-on-device` into your agent's skills folder as `test-on-device`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Test on device need before it runs?

The project root must contain a package.json and bundle config file, or a Unity Packages/manifest.json, and the console MCP server must be authorized with an existing app registered in the console.

### Does Test on device submit my app for review?

No. It stops after upload, compile check and handing over a test link. Review submission, release, rollback and promotion are out of scope.

### Which build variant does Test on device use?

It uses a release build by default. A debug build is produced only when the user is debugging on-device, and that deployment is recorded locally and must not be submitted for review.

### How do I install Test on device in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/test-on-device to use it in all your projects, or to .claude/skills/test-on-device in one project. Or install the ait plugin, which includes it: /plugin marketplace add toss/apps-in-toss-harness, then /plugin install ait@apps-in-toss.

### Does Test on device run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Test on device?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Test on device?

The closest alternatives to Test on device are Launch, Inject, Debug, New miniapp and Server.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Launch](https://ai-powered.com/skills/launch-toss): Launch is an open-source agent skill for developer tools.
- [Inject](https://ai-powered.com/skills/inject): Inject is an open-source agent skill for developer tools.
- [Debug](https://ai-powered.com/skills/debug): Debug is an open-source agent skill for developer tools.
- [New miniapp](https://ai-powered.com/skills/new-miniapp): New miniapp is an open-source agent skill for developer tools.
- [Server](https://ai-powered.com/skills/server): Server is an open-source agent skill for developer tools.
- [Feature](https://ai-powered.com/skills/feature): Feature is an open-source agent skill for developer tools.
- [Ship taptap minigame](https://ai-powered.com/skills/ship-taptap-minigame): Ship taptap minigame is an open-source agent skill for developer tools.
- [Design](https://ai-powered.com/skills/design-toss): Design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/test-on-device
